@rsalmn/extremerouter 0.8.1 → 0.8.2

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 (942) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +2 -1
  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/alerts/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +4 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +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/health/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js +2 -2
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  87. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  90. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  91. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  93. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  94. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  95. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  97. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  98. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  100. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  101. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  102. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  103. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  105. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  108. package/app/.next-cli-build/server/app/api/alerts/test/route.js +2 -2
  109. package/app/.next-cli-build/server/app/api/alerts/test/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/breaker/route.js +1 -0
  125. package/app/.next-cli-build/server/app/api/breaker/route.js.nft.json +1 -0
  126. package/app/.next-cli-build/server/app/api/breaker/route_client-reference-manifest.js +1 -0
  127. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  130. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js +2 -2
  170. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +2 -2
  176. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/health/providers/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/health/providers/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/health/stream/route.js +2 -2
  182. package/app/.next-cli-build/server/app/api/health/stream/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  192. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  194. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  226. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  250. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  306. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  312. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/swarm/active/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/swarm/active/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/swarm/stream/route.js +2 -2
  330. package/app/.next-cli-build/server/app/api/swarm/stream/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  336. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/meta/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/meta/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/stream/route.js +4 -4
  384. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  430. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  432. package/app/.next-cli-build/server/app/callback.html +1 -1
  433. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  434. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  435. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  436. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  437. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  438. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  439. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  440. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  441. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  443. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  445. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  446. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  448. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  452. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  453. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  454. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/index.html +1 -1
  456. package/app/.next-cli-build/server/app/index.rsc +6 -6
  457. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  458. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  459. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  461. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  463. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  465. package/app/.next-cli-build/server/app/landing.html +1 -1
  466. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  467. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  468. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  469. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  470. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  471. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  472. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  473. package/app/.next-cli-build/server/app/login/page.js +2 -2
  474. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  476. package/app/.next-cli-build/server/app/login.html +1 -1
  477. package/app/.next-cli-build/server/app/login.rsc +7 -7
  478. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  479. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  481. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  482. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  484. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  485. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  486. package/app/.next-cli-build/server/app/page.js +2 -2
  487. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  488. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  489. package/app/.next-cli-build/server/app-paths-manifest.json +2 -1
  490. package/app/.next-cli-build/server/chunks/1051.js +1 -1
  491. package/app/.next-cli-build/server/chunks/{2342.js → 1194.js} +6 -6
  492. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  493. package/app/.next-cli-build/server/chunks/1719.js +1 -1
  494. package/app/.next-cli-build/server/chunks/212.js +1 -1
  495. package/app/.next-cli-build/server/chunks/2231.js +1 -1
  496. package/app/.next-cli-build/server/chunks/2701.js +1 -1
  497. package/app/.next-cli-build/server/chunks/412.js +1 -1
  498. package/app/.next-cli-build/server/chunks/422.js +9 -0
  499. package/app/.next-cli-build/server/chunks/4502.js +1 -1
  500. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  501. package/app/.next-cli-build/server/chunks/541.js +1 -0
  502. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  503. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  504. package/app/.next-cli-build/server/chunks/5628.js +1 -1
  505. package/app/.next-cli-build/server/chunks/5699.js +1 -1
  506. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  507. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  508. package/app/.next-cli-build/server/chunks/615.js +1 -1
  509. package/app/.next-cli-build/server/chunks/6316.js +2 -2
  510. package/app/.next-cli-build/server/chunks/6686.js +1 -0
  511. package/app/.next-cli-build/server/chunks/7187.js +1 -1
  512. package/app/.next-cli-build/server/chunks/7872.js +1 -1
  513. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  514. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  515. package/app/.next-cli-build/server/chunks/874.js +9 -0
  516. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  517. package/app/.next-cli-build/server/chunks/9422.js +2 -2
  518. package/app/.next-cli-build/server/chunks/9630.js +1 -1
  519. package/app/.next-cli-build/server/chunks/9703.js +5 -5
  520. package/app/.next-cli-build/server/chunks/9903.js +1 -1
  521. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  522. package/app/.next-cli-build/server/middleware.js +4 -4
  523. package/app/.next-cli-build/server/pages/404.html +1 -1
  524. package/app/.next-cli-build/server/pages/500.html +1 -1
  525. package/app/.next-cli-build/static/S-pbWChrUiCkwFyfx4Su3/_buildManifest.js +1 -0
  526. package/app/.next-cli-build/static/chunks/{1321-675f131c5a80b166.js → 1321-aa0d45362a7ebc08.js} +1 -1
  527. package/app/.next-cli-build/static/chunks/5497-b321fb89cc6d6e14.js +7 -0
  528. package/app/.next-cli-build/static/chunks/8105-204edc780a329497.js +1 -0
  529. package/app/.next-cli-build/static/chunks/{682-03720d6613bcbd0f.js → 9622-fcd7c93a94eaa38f.js} +6 -6
  530. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-cd77e53dbcd46b6c.js +1 -0
  531. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-8b043b8296199edb.js +1 -0
  532. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-61b6cf127f421af9.js → page-dbf52954681b093c.js} +3 -1
  533. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/health/page-ec1dc4e44702257d.js +1 -0
  534. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-a67cd1c5f77da355.js +1 -0
  535. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-dc8e49b1fe778d9c.js +1 -0
  536. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-2e82495d63f499e9.js +10 -0
  537. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-9a44fa1600f3ff42.js +1 -0
  538. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-2592739cbb862828.js → page-2f3b8761d7b32ec0.js} +1 -1
  539. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-5433f8ac60dd59f0.js → page-bd421513fd2dc28a.js} +1 -1
  540. package/app/.next-cli-build/static/chunks/app/_global-error/page-ab464cb25617d9dd.js +1 -0
  541. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-ab464cb25617d9dd.js +1 -0
  542. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-ab464cb25617d9dd.js +1 -0
  543. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-ab464cb25617d9dd.js +1 -0
  544. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-ab464cb25617d9dd.js +1 -0
  545. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-ab464cb25617d9dd.js +1 -0
  546. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-ab464cb25617d9dd.js +1 -0
  547. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-ab464cb25617d9dd.js +1 -0
  548. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-ab464cb25617d9dd.js +1 -0
  549. package/app/.next-cli-build/static/chunks/app/api/breaker/route-ab464cb25617d9dd.js +1 -0
  550. package/app/.next-cli-build/static/chunks/app/api/cache/route-ab464cb25617d9dd.js +1 -0
  551. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-ab464cb25617d9dd.js +1 -0
  552. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-ab464cb25617d9dd.js +1 -0
  553. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-ab464cb25617d9dd.js +1 -0
  554. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-ab464cb25617d9dd.js +1 -0
  555. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-ab464cb25617d9dd.js +1 -0
  556. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-ab464cb25617d9dd.js +1 -0
  557. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-ab464cb25617d9dd.js +1 -0
  558. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-ab464cb25617d9dd.js +1 -0
  559. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-ab464cb25617d9dd.js +1 -0
  560. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-ab464cb25617d9dd.js +1 -0
  561. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-ab464cb25617d9dd.js +1 -0
  562. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-ab464cb25617d9dd.js +1 -0
  563. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-ab464cb25617d9dd.js +1 -0
  564. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-ab464cb25617d9dd.js +1 -0
  565. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-ab464cb25617d9dd.js +1 -0
  566. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-ab464cb25617d9dd.js +1 -0
  567. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-ab464cb25617d9dd.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-ab464cb25617d9dd.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/api/combos/route-ab464cb25617d9dd.js +1 -0
  570. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-ab464cb25617d9dd.js +1 -0
  571. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-ab464cb25617d9dd.js +1 -0
  572. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-ab464cb25617d9dd.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-ab464cb25617d9dd.js +1 -0
  574. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-ab464cb25617d9dd.js +1 -0
  575. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-ab464cb25617d9dd.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/api/health/route-ab464cb25617d9dd.js +1 -0
  577. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-ab464cb25617d9dd.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/api/init/route-ab464cb25617d9dd.js +1 -0
  579. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-ab464cb25617d9dd.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/api/keys/route-ab464cb25617d9dd.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/api/locale/route-ab464cb25617d9dd.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-ab464cb25617d9dd.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-ab464cb25617d9dd.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-ab464cb25617d9dd.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-ab464cb25617d9dd.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-ab464cb25617d9dd.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-ab464cb25617d9dd.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-ab464cb25617d9dd.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-ab464cb25617d9dd.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-ab464cb25617d9dd.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-ab464cb25617d9dd.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-ab464cb25617d9dd.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/models/route-ab464cb25617d9dd.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/models/test/route-ab464cb25617d9dd.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-ab464cb25617d9dd.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-ab464cb25617d9dd.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-ab464cb25617d9dd.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-ab464cb25617d9dd.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-ab464cb25617d9dd.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-ab464cb25617d9dd.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-ab464cb25617d9dd.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-ab464cb25617d9dd.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-ab464cb25617d9dd.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-ab464cb25617d9dd.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-ab464cb25617d9dd.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-ab464cb25617d9dd.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-ab464cb25617d9dd.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-ab464cb25617d9dd.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-ab464cb25617d9dd.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-ab464cb25617d9dd.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-ab464cb25617d9dd.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-ab464cb25617d9dd.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/pricing/route-ab464cb25617d9dd.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-ab464cb25617d9dd.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-ab464cb25617d9dd.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-ab464cb25617d9dd.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-ab464cb25617d9dd.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-ab464cb25617d9dd.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-ab464cb25617d9dd.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-ab464cb25617d9dd.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-ab464cb25617d9dd.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-ab464cb25617d9dd.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-ab464cb25617d9dd.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-ab464cb25617d9dd.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-ab464cb25617d9dd.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-ab464cb25617d9dd.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-ab464cb25617d9dd.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-ab464cb25617d9dd.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-ab464cb25617d9dd.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-ab464cb25617d9dd.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-ab464cb25617d9dd.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-ab464cb25617d9dd.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/providers/route-ab464cb25617d9dd.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-ab464cb25617d9dd.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-ab464cb25617d9dd.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-ab464cb25617d9dd.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-ab464cb25617d9dd.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-ab464cb25617d9dd.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-ab464cb25617d9dd.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-ab464cb25617d9dd.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-ab464cb25617d9dd.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-ab464cb25617d9dd.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-ab464cb25617d9dd.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-ab464cb25617d9dd.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-ab464cb25617d9dd.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-ab464cb25617d9dd.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-ab464cb25617d9dd.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/settings/route-ab464cb25617d9dd.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-ab464cb25617d9dd.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-ab464cb25617d9dd.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-ab464cb25617d9dd.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/tags/route-ab464cb25617d9dd.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-ab464cb25617d9dd.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-ab464cb25617d9dd.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-ab464cb25617d9dd.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-ab464cb25617d9dd.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-ab464cb25617d9dd.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-ab464cb25617d9dd.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-ab464cb25617d9dd.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-ab464cb25617d9dd.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-ab464cb25617d9dd.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-ab464cb25617d9dd.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-ab464cb25617d9dd.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-ab464cb25617d9dd.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-ab464cb25617d9dd.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-ab464cb25617d9dd.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-ab464cb25617d9dd.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-ab464cb25617d9dd.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-ab464cb25617d9dd.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-ab464cb25617d9dd.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-ab464cb25617d9dd.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-ab464cb25617d9dd.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-ab464cb25617d9dd.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-ab464cb25617d9dd.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-ab464cb25617d9dd.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-ab464cb25617d9dd.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-ab464cb25617d9dd.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-ab464cb25617d9dd.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-ab464cb25617d9dd.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-ab464cb25617d9dd.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-ab464cb25617d9dd.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-ab464cb25617d9dd.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-ab464cb25617d9dd.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-ab464cb25617d9dd.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-ab464cb25617d9dd.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-ab464cb25617d9dd.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-ab464cb25617d9dd.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-ab464cb25617d9dd.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-ab464cb25617d9dd.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-ab464cb25617d9dd.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-ab464cb25617d9dd.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-ab464cb25617d9dd.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/v1/route-ab464cb25617d9dd.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-ab464cb25617d9dd.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-ab464cb25617d9dd.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-ab464cb25617d9dd.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-ab464cb25617d9dd.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/version/route-ab464cb25617d9dd.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-ab464cb25617d9dd.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/version/update/route-ab464cb25617d9dd.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-ab464cb25617d9dd.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/page-ab464cb25617d9dd.js +1 -0
  703. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-ab464cb25617d9dd.js +1 -0
  704. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-ab464cb25617d9dd.js +1 -0
  705. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-ab464cb25617d9dd.js +1 -0
  706. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-ab464cb25617d9dd.js +1 -0
  707. package/app/.next-cli-build/static/css/68d66160ca549ddc.css +1 -0
  708. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/upgrade-0.8.0-to-0.8.1-0.8.1-20260802-152517/data.sqlite +0 -0
  709. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/data.sqlite-shm +0 -0
  710. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/data.sqlite-wal +0 -0
  711. package/app/node_modules/@emnapi/runtime/dist/emnapi.cjs.js +1381 -0
  712. package/app/node_modules/@emnapi/runtime/dist/emnapi.cjs.min.js +1 -0
  713. package/app/node_modules/@emnapi/runtime/index.js +5 -0
  714. package/app/node_modules/@emnapi/runtime/package.json +48 -0
  715. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/container.js +106 -51
  716. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/css-syntax-error.js +47 -14
  717. package/app/node_modules/postcss/lib/fromJSON.js +107 -0
  718. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/input.js +67 -33
  719. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/lazy-result.js +127 -51
  720. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/list.js +1 -0
  721. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/map-generator.js +26 -9
  722. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/no-work-result.js +57 -55
  723. package/app/node_modules/postcss/lib/node.js +494 -0
  724. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/parser.js +46 -38
  725. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/previous-map.js +34 -12
  726. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/processor.js +7 -7
  727. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/result.js +5 -5
  728. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/root.js +16 -1
  729. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/stringifier.js +140 -32
  730. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/tokenize.js +6 -2
  731. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/warning.js +10 -0
  732. package/app/node_modules/{next/node_modules/postcss → postcss}/package.json +48 -48
  733. package/app/package.json +6 -1
  734. package/app/public/providers/1min-api.svg +15 -0
  735. package/app/public/providers/1min.svg +15 -0
  736. package/app/public/providers/cline.svg +17 -0
  737. package/app/public/providers/clinepass.svg +20 -0
  738. package/app/public/providers/codestral.svg +16 -0
  739. package/app/public/providers/databricks.svg +21 -0
  740. package/app/public/providers/deepinfra.svg +18 -0
  741. package/app/public/providers/grok-web.svg +14 -0
  742. package/app/public/providers/marathon.svg +18 -0
  743. package/app/public/providers/qwen2api.svg +16 -0
  744. package/app/public/providers/unimodel.svg +26 -0
  745. package/app/public/providers/venice.svg +15 -0
  746. package/app/public/providers/vercel-ai-gateway.svg +13 -0
  747. package/package.json +1 -1
  748. package/app/.next-cli-build/server/chunks/23.js +0 -9
  749. package/app/.next-cli-build/server/chunks/4362.js +0 -9
  750. package/app/.next-cli-build/server/chunks/5050.js +0 -1
  751. package/app/.next-cli-build/static/ZpBU8xc4kSeLftltRrIa6/_buildManifest.js +0 -1
  752. package/app/.next-cli-build/static/chunks/5497-2e59e6171ac782ae.js +0 -7
  753. package/app/.next-cli-build/static/chunks/8105-42ffe16677c2f8f8.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-d722ccf5e0fec340.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-afc62a0533448ca0.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/health/page-d077213deca8c217.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-99540bfed3193080.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-0a50de81e7b688fc.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-eca89af2e4f561e3.js +0 -10
  760. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-bc16a0312f0a7915.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/_global-error/page-dfe796be45352c7b.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-dfe796be45352c7b.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-dfe796be45352c7b.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-dfe796be45352c7b.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-dfe796be45352c7b.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-dfe796be45352c7b.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-dfe796be45352c7b.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-dfe796be45352c7b.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-dfe796be45352c7b.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/cache/route-dfe796be45352c7b.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-dfe796be45352c7b.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-dfe796be45352c7b.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-dfe796be45352c7b.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-dfe796be45352c7b.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-dfe796be45352c7b.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-dfe796be45352c7b.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-dfe796be45352c7b.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-dfe796be45352c7b.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-dfe796be45352c7b.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-dfe796be45352c7b.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-dfe796be45352c7b.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-dfe796be45352c7b.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-dfe796be45352c7b.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-dfe796be45352c7b.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-dfe796be45352c7b.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-dfe796be45352c7b.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-dfe796be45352c7b.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-dfe796be45352c7b.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/combos/route-dfe796be45352c7b.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-dfe796be45352c7b.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-dfe796be45352c7b.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-dfe796be45352c7b.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-dfe796be45352c7b.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-dfe796be45352c7b.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-dfe796be45352c7b.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/health/route-dfe796be45352c7b.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-dfe796be45352c7b.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/init/route-dfe796be45352c7b.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-dfe796be45352c7b.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/keys/route-dfe796be45352c7b.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/locale/route-dfe796be45352c7b.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-dfe796be45352c7b.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-dfe796be45352c7b.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-dfe796be45352c7b.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-dfe796be45352c7b.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-dfe796be45352c7b.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-dfe796be45352c7b.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-dfe796be45352c7b.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-dfe796be45352c7b.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-dfe796be45352c7b.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-dfe796be45352c7b.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-dfe796be45352c7b.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/models/route-dfe796be45352c7b.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/models/test/route-dfe796be45352c7b.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-dfe796be45352c7b.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-dfe796be45352c7b.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-dfe796be45352c7b.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-dfe796be45352c7b.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-dfe796be45352c7b.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-dfe796be45352c7b.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-dfe796be45352c7b.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-dfe796be45352c7b.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-dfe796be45352c7b.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-dfe796be45352c7b.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-dfe796be45352c7b.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-dfe796be45352c7b.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-dfe796be45352c7b.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-dfe796be45352c7b.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-dfe796be45352c7b.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-dfe796be45352c7b.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-dfe796be45352c7b.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-dfe796be45352c7b.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/pricing/route-dfe796be45352c7b.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-dfe796be45352c7b.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-dfe796be45352c7b.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-dfe796be45352c7b.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-dfe796be45352c7b.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-dfe796be45352c7b.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-dfe796be45352c7b.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-dfe796be45352c7b.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-dfe796be45352c7b.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-dfe796be45352c7b.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-dfe796be45352c7b.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-dfe796be45352c7b.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-dfe796be45352c7b.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-dfe796be45352c7b.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-dfe796be45352c7b.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-dfe796be45352c7b.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-dfe796be45352c7b.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-dfe796be45352c7b.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-dfe796be45352c7b.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-dfe796be45352c7b.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/providers/route-dfe796be45352c7b.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-dfe796be45352c7b.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-dfe796be45352c7b.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-dfe796be45352c7b.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-dfe796be45352c7b.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-dfe796be45352c7b.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-dfe796be45352c7b.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-dfe796be45352c7b.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-dfe796be45352c7b.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-dfe796be45352c7b.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-dfe796be45352c7b.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-dfe796be45352c7b.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-dfe796be45352c7b.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-dfe796be45352c7b.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-dfe796be45352c7b.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/settings/route-dfe796be45352c7b.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-dfe796be45352c7b.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-dfe796be45352c7b.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-dfe796be45352c7b.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/tags/route-dfe796be45352c7b.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-dfe796be45352c7b.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-dfe796be45352c7b.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-dfe796be45352c7b.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-dfe796be45352c7b.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-dfe796be45352c7b.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-dfe796be45352c7b.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-dfe796be45352c7b.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-dfe796be45352c7b.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-dfe796be45352c7b.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-dfe796be45352c7b.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-dfe796be45352c7b.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-dfe796be45352c7b.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-dfe796be45352c7b.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-dfe796be45352c7b.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-dfe796be45352c7b.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-dfe796be45352c7b.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-dfe796be45352c7b.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-dfe796be45352c7b.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-dfe796be45352c7b.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-dfe796be45352c7b.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-dfe796be45352c7b.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-dfe796be45352c7b.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-dfe796be45352c7b.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-dfe796be45352c7b.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-dfe796be45352c7b.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-dfe796be45352c7b.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-dfe796be45352c7b.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-dfe796be45352c7b.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-dfe796be45352c7b.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-dfe796be45352c7b.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-dfe796be45352c7b.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-dfe796be45352c7b.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-dfe796be45352c7b.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-dfe796be45352c7b.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-dfe796be45352c7b.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-dfe796be45352c7b.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-dfe796be45352c7b.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-dfe796be45352c7b.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-dfe796be45352c7b.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-dfe796be45352c7b.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/v1/route-dfe796be45352c7b.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-dfe796be45352c7b.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-dfe796be45352c7b.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-dfe796be45352c7b.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-dfe796be45352c7b.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/version/route-dfe796be45352c7b.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-dfe796be45352c7b.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/version/update/route-dfe796be45352c7b.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-dfe796be45352c7b.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/page-dfe796be45352c7b.js +0 -1
  923. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-dfe796be45352c7b.js +0 -1
  924. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-dfe796be45352c7b.js +0 -1
  925. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-dfe796be45352c7b.js +0 -1
  926. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-dfe796be45352c7b.js +0 -1
  927. package/app/.next-cli-build/static/css/58f8f5fb2d2ac134.css +0 -1
  928. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/upgrade-0.7.7-to-0.7.8-0.7.8-20260727-004850/data.sqlite +0 -0
  929. package/app/node_modules/next/node_modules/postcss/lib/fromJSON.js +0 -54
  930. package/app/node_modules/next/node_modules/postcss/lib/node.js +0 -381
  931. package/app/.next-cli-build/static/{ZpBU8xc4kSeLftltRrIa6 → S-pbWChrUiCkwFyfx4Su3}/_ssgManifest.js +0 -0
  932. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/at-rule.js +0 -0
  933. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/comment.js +0 -0
  934. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/declaration.js +4 -4
  935. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/document.js +0 -0
  936. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/parse.js +1 -1
  937. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/postcss.js +12 -12
  938. package/app/node_modules/{next/node_modules/postcss → postcss}/lib/rule.js +6 -6
  939. /package/app/node_modules/{next/node_modules/postcss → postcss}/lib/stringify.js +0 -0
  940. /package/app/node_modules/{next/node_modules/postcss → postcss}/lib/symbols.js +0 -0
  941. /package/app/node_modules/{next/node_modules/postcss → postcss}/lib/terminal-highlight.js +0 -0
  942. /package/app/node_modules/{next/node_modules/postcss → postcss}/lib/warn-once.js +0 -0
@@ -0,0 +1,1381 @@
1
+ const externalValue = new WeakMap();
2
+ function isExternal(object) {
3
+ return externalValue.has(object);
4
+ }
5
+ const External = (() => {
6
+ function External(value) {
7
+ Object.setPrototypeOf(this, null);
8
+ externalValue.set(this, value);
9
+ }
10
+ External.prototype = null;
11
+ return External;
12
+ })();
13
+ function getExternalValue(external) {
14
+ if (!isExternal(external)) {
15
+ throw new TypeError('not external');
16
+ }
17
+ return externalValue.get(external);
18
+ }
19
+
20
+ const supportNewFunction = (function () {
21
+ let f;
22
+ try {
23
+ f = new Function();
24
+ }
25
+ catch (_) {
26
+ return false;
27
+ }
28
+ return typeof f === 'function';
29
+ })();
30
+ const _global = (function () {
31
+ if (typeof globalThis !== 'undefined')
32
+ return globalThis;
33
+ let g = (function () { return this; })();
34
+ if (!g && supportNewFunction) {
35
+ try {
36
+ g = new Function('return this')();
37
+ }
38
+ catch (_) { }
39
+ }
40
+ if (!g) {
41
+ if (typeof __webpack_public_path__ === 'undefined') {
42
+ if (typeof global !== 'undefined')
43
+ return global;
44
+ }
45
+ if (typeof window !== 'undefined')
46
+ return window;
47
+ if (typeof self !== 'undefined')
48
+ return self;
49
+ }
50
+ return g;
51
+ })();
52
+ class TryCatch {
53
+ constructor() {
54
+ this._exception = undefined;
55
+ this._caught = false;
56
+ }
57
+ isEmpty() {
58
+ return !this._caught;
59
+ }
60
+ hasCaught() {
61
+ return this._caught;
62
+ }
63
+ exception() {
64
+ return this._exception;
65
+ }
66
+ setError(err) {
67
+ this._caught = true;
68
+ this._exception = err;
69
+ }
70
+ reset() {
71
+ this._caught = false;
72
+ this._exception = undefined;
73
+ }
74
+ extractException() {
75
+ const e = this._exception;
76
+ this.reset();
77
+ return e;
78
+ }
79
+ }
80
+ const canSetFunctionName = (function () {
81
+ var _a;
82
+ try {
83
+ return Boolean((_a = Object.getOwnPropertyDescriptor(Function.prototype, 'name')) === null || _a === void 0 ? void 0 : _a.configurable);
84
+ }
85
+ catch (_) {
86
+ return false;
87
+ }
88
+ })();
89
+ const supportReflect = typeof Reflect === 'object';
90
+ const supportFinalizer = (typeof FinalizationRegistry !== 'undefined') && (typeof WeakRef !== 'undefined');
91
+ const supportWeakSymbol = (function () {
92
+ try {
93
+ const sym = Symbol();
94
+ new WeakRef(sym);
95
+ new WeakMap().set(sym, undefined);
96
+ }
97
+ catch (_) {
98
+ return false;
99
+ }
100
+ return true;
101
+ })();
102
+ const supportBigInt = typeof BigInt !== 'undefined';
103
+ function isReferenceType(v) {
104
+ return (typeof v === 'object' && v !== null) || typeof v === 'function';
105
+ }
106
+ const _require = (function () {
107
+ let nativeRequire;
108
+ if (typeof __webpack_public_path__ !== 'undefined') {
109
+ nativeRequire = (function () {
110
+ return typeof __non_webpack_require__ !== 'undefined' ? __non_webpack_require__ : undefined;
111
+ })();
112
+ }
113
+ else {
114
+ nativeRequire = (function () {
115
+ return typeof __webpack_public_path__ !== 'undefined' ? (typeof __non_webpack_require__ !== 'undefined' ? __non_webpack_require__ : undefined) : (typeof require !== 'undefined' ? require : undefined);
116
+ })();
117
+ }
118
+ return nativeRequire;
119
+ })();
120
+ const _MessageChannel = typeof MessageChannel === 'function'
121
+ ? MessageChannel
122
+ : (function () {
123
+ try {
124
+ return _require('worker_threads').MessageChannel;
125
+ }
126
+ catch (_) { }
127
+ return undefined;
128
+ })();
129
+ const _setImmediate = typeof setImmediate === 'function'
130
+ ? setImmediate.bind(_global)
131
+ : function (callback) {
132
+ if (typeof callback !== 'function') {
133
+ throw new TypeError('The "callback" argument must be of type function');
134
+ }
135
+ if (_MessageChannel) {
136
+ let channel = new _MessageChannel();
137
+ channel.port1.onmessage = function () {
138
+ channel.port1.onmessage = null;
139
+ channel = undefined;
140
+ callback();
141
+ };
142
+ channel.port2.postMessage(null);
143
+ }
144
+ else {
145
+ setTimeout(callback, 0);
146
+ }
147
+ };
148
+ const _Buffer = typeof Buffer === 'function'
149
+ ? Buffer
150
+ : (function () {
151
+ try {
152
+ return _require('buffer').Buffer;
153
+ }
154
+ catch (_) { }
155
+ return undefined;
156
+ })();
157
+ const version = "1.11.2";
158
+ const NODE_API_SUPPORTED_VERSION_MIN = 1;
159
+ const NODE_API_SUPPORTED_VERSION_MAX = 10;
160
+ const NAPI_VERSION_EXPERIMENTAL = 2147483647;
161
+ const NODE_API_DEFAULT_MODULE_API_VERSION = 8;
162
+
163
+ class Handle {
164
+ constructor(id, value) {
165
+ this.id = id;
166
+ this.value = value;
167
+ }
168
+ data() {
169
+ return getExternalValue(this.value);
170
+ }
171
+ isNumber() {
172
+ return typeof this.value === 'number';
173
+ }
174
+ isBigInt() {
175
+ return typeof this.value === 'bigint';
176
+ }
177
+ isString() {
178
+ return typeof this.value === 'string';
179
+ }
180
+ isFunction() {
181
+ return typeof this.value === 'function';
182
+ }
183
+ isExternal() {
184
+ return isExternal(this.value);
185
+ }
186
+ isObject() {
187
+ return typeof this.value === 'object' && this.value !== null;
188
+ }
189
+ isArray() {
190
+ return Array.isArray(this.value);
191
+ }
192
+ isArrayBuffer() {
193
+ return (this.value instanceof ArrayBuffer);
194
+ }
195
+ isTypedArray() {
196
+ return (ArrayBuffer.isView(this.value)) && !(this.value instanceof DataView);
197
+ }
198
+ isBuffer(BufferConstructor) {
199
+ if (ArrayBuffer.isView(this.value))
200
+ return true;
201
+ BufferConstructor !== null && BufferConstructor !== void 0 ? BufferConstructor : (BufferConstructor = _Buffer);
202
+ return typeof BufferConstructor === 'function' && BufferConstructor.isBuffer(this.value);
203
+ }
204
+ isDataView() {
205
+ return (this.value instanceof DataView);
206
+ }
207
+ isDate() {
208
+ return (this.value instanceof Date);
209
+ }
210
+ isPromise() {
211
+ return (this.value instanceof Promise);
212
+ }
213
+ isBoolean() {
214
+ return typeof this.value === 'boolean';
215
+ }
216
+ isUndefined() {
217
+ return this.value === undefined;
218
+ }
219
+ isSymbol() {
220
+ return typeof this.value === 'symbol';
221
+ }
222
+ isNull() {
223
+ return this.value === null;
224
+ }
225
+ dispose() {
226
+ this.value = undefined;
227
+ }
228
+ }
229
+ class ConstHandle extends Handle {
230
+ constructor(id, value) {
231
+ super(id, value);
232
+ }
233
+ dispose() { }
234
+ }
235
+ class HandleStore {
236
+ constructor() {
237
+ this._values = [
238
+ undefined,
239
+ HandleStore.UNDEFINED,
240
+ HandleStore.NULL,
241
+ HandleStore.FALSE,
242
+ HandleStore.TRUE,
243
+ HandleStore.GLOBAL
244
+ ];
245
+ this._next = HandleStore.MIN_ID;
246
+ }
247
+ push(value) {
248
+ let h;
249
+ const next = this._next;
250
+ const values = this._values;
251
+ if (next < values.length) {
252
+ h = values[next];
253
+ h.value = value;
254
+ }
255
+ else {
256
+ h = new Handle(next, value);
257
+ values[next] = h;
258
+ }
259
+ this._next++;
260
+ return h;
261
+ }
262
+ erase(start, end) {
263
+ this._next = start;
264
+ const values = this._values;
265
+ for (let i = start; i < end; ++i) {
266
+ values[i].dispose();
267
+ }
268
+ }
269
+ get(id) {
270
+ return this._values[id];
271
+ }
272
+ swap(a, b) {
273
+ const values = this._values;
274
+ const h = values[a];
275
+ values[a] = values[b];
276
+ values[a].id = Number(a);
277
+ values[b] = h;
278
+ h.id = Number(b);
279
+ }
280
+ dispose() {
281
+ this._values.length = HandleStore.MIN_ID;
282
+ this._next = HandleStore.MIN_ID;
283
+ }
284
+ }
285
+ HandleStore.UNDEFINED = new ConstHandle(1, undefined);
286
+ HandleStore.NULL = new ConstHandle(2, null);
287
+ HandleStore.FALSE = new ConstHandle(3, false);
288
+ HandleStore.TRUE = new ConstHandle(4, true);
289
+ HandleStore.GLOBAL = new ConstHandle(5, _global);
290
+ HandleStore.MIN_ID = 6;
291
+
292
+ class HandleScope {
293
+ constructor(handleStore, id, parentScope, start, end = start) {
294
+ this.handleStore = handleStore;
295
+ this.id = id;
296
+ this.parent = parentScope;
297
+ this.child = null;
298
+ if (parentScope !== null)
299
+ parentScope.child = this;
300
+ this.start = start;
301
+ this.end = end;
302
+ this._escapeCalled = false;
303
+ this.callbackInfo = {
304
+ thiz: undefined,
305
+ data: 0,
306
+ args: undefined,
307
+ fn: undefined
308
+ };
309
+ }
310
+ add(value) {
311
+ const h = this.handleStore.push(value);
312
+ this.end++;
313
+ return h;
314
+ }
315
+ addExternal(data) {
316
+ return this.add(new External(data));
317
+ }
318
+ dispose() {
319
+ if (this._escapeCalled)
320
+ this._escapeCalled = false;
321
+ if (this.start === this.end)
322
+ return;
323
+ this.handleStore.erase(this.start, this.end);
324
+ }
325
+ escape(handle) {
326
+ if (this._escapeCalled)
327
+ return null;
328
+ this._escapeCalled = true;
329
+ if (handle < this.start || handle >= this.end) {
330
+ return null;
331
+ }
332
+ this.handleStore.swap(handle, this.start);
333
+ const h = this.handleStore.get(this.start);
334
+ this.start++;
335
+ this.parent.end++;
336
+ return h;
337
+ }
338
+ escapeCalled() {
339
+ return this._escapeCalled;
340
+ }
341
+ }
342
+
343
+ class ScopeStore {
344
+ constructor() {
345
+ this._rootScope = new HandleScope(null, 0, null, 1, HandleStore.MIN_ID);
346
+ this.currentScope = this._rootScope;
347
+ this._values = [undefined];
348
+ }
349
+ get(id) {
350
+ return this._values[id];
351
+ }
352
+ openScope(handleStore) {
353
+ const currentScope = this.currentScope;
354
+ let scope = currentScope.child;
355
+ if (scope !== null) {
356
+ scope.start = scope.end = currentScope.end;
357
+ }
358
+ else {
359
+ const id = currentScope.id + 1;
360
+ scope = new HandleScope(handleStore, id, currentScope, currentScope.end);
361
+ this._values[id] = scope;
362
+ }
363
+ this.currentScope = scope;
364
+ return scope;
365
+ }
366
+ closeScope() {
367
+ const scope = this.currentScope;
368
+ this.currentScope = scope.parent;
369
+ scope.dispose();
370
+ }
371
+ dispose() {
372
+ this.currentScope = this._rootScope;
373
+ this._values.length = 1;
374
+ }
375
+ }
376
+
377
+ class RefTracker {
378
+ constructor() {
379
+ this._next = null;
380
+ this._prev = null;
381
+ }
382
+ dispose() { }
383
+ finalize() { }
384
+ link(list) {
385
+ this._prev = list;
386
+ this._next = list._next;
387
+ if (this._next !== null) {
388
+ this._next._prev = this;
389
+ }
390
+ list._next = this;
391
+ }
392
+ unlink() {
393
+ if (this._prev !== null) {
394
+ this._prev._next = this._next;
395
+ }
396
+ if (this._next !== null) {
397
+ this._next._prev = this._prev;
398
+ }
399
+ this._prev = null;
400
+ this._next = null;
401
+ }
402
+ static finalizeAll(list) {
403
+ while (list._next !== null) {
404
+ list._next.finalize();
405
+ }
406
+ }
407
+ }
408
+
409
+ class Finalizer {
410
+ constructor(envObject, _finalizeCallback = 0, _finalizeData = 0, _finalizeHint = 0) {
411
+ this.envObject = envObject;
412
+ this._finalizeCallback = _finalizeCallback;
413
+ this._finalizeData = _finalizeData;
414
+ this._finalizeHint = _finalizeHint;
415
+ this._makeDynCall_vppp = envObject.makeDynCall_vppp;
416
+ }
417
+ callback() { return this._finalizeCallback; }
418
+ data() { return this._finalizeData; }
419
+ hint() { return this._finalizeHint; }
420
+ resetEnv() {
421
+ this.envObject = undefined;
422
+ }
423
+ resetFinalizer() {
424
+ this._finalizeCallback = 0;
425
+ this._finalizeData = 0;
426
+ this._finalizeHint = 0;
427
+ }
428
+ callFinalizer() {
429
+ const finalize_callback = this._finalizeCallback;
430
+ const finalize_data = this._finalizeData;
431
+ const finalize_hint = this._finalizeHint;
432
+ this.resetFinalizer();
433
+ if (!finalize_callback)
434
+ return;
435
+ const fini = Number(finalize_callback);
436
+ if (!this.envObject) {
437
+ this._makeDynCall_vppp(fini)(0, finalize_data, finalize_hint);
438
+ }
439
+ else {
440
+ this.envObject.callFinalizer(fini, finalize_data, finalize_hint);
441
+ }
442
+ }
443
+ dispose() {
444
+ this.envObject = undefined;
445
+ this._makeDynCall_vppp = undefined;
446
+ }
447
+ }
448
+
449
+ class TrackedFinalizer extends RefTracker {
450
+ static create(envObject, finalize_callback, finalize_data, finalize_hint) {
451
+ const finalizer = new TrackedFinalizer(envObject, finalize_callback, finalize_data, finalize_hint);
452
+ finalizer.link(envObject.finalizing_reflist);
453
+ return finalizer;
454
+ }
455
+ constructor(envObject, finalize_callback, finalize_data, finalize_hint) {
456
+ super();
457
+ this._finalizer = new Finalizer(envObject, finalize_callback, finalize_data, finalize_hint);
458
+ }
459
+ data() {
460
+ return this._finalizer.data();
461
+ }
462
+ dispose() {
463
+ if (!this._finalizer)
464
+ return;
465
+ this.unlink();
466
+ this._finalizer.envObject.dequeueFinalizer(this);
467
+ this._finalizer.dispose();
468
+ this._finalizer = undefined;
469
+ super.dispose();
470
+ }
471
+ finalize() {
472
+ this.unlink();
473
+ let error;
474
+ let caught = false;
475
+ try {
476
+ this._finalizer.callFinalizer();
477
+ }
478
+ catch (err) {
479
+ caught = true;
480
+ error = err;
481
+ }
482
+ this.dispose();
483
+ if (caught) {
484
+ throw error;
485
+ }
486
+ }
487
+ }
488
+
489
+ function throwNodeApiVersionError(moduleName, moduleApiVersion) {
490
+ const errorMessage = `${moduleName} requires Node-API version ${moduleApiVersion}, but this version of Node.js only supports version ${NODE_API_SUPPORTED_VERSION_MAX} add-ons.`;
491
+ throw new Error(errorMessage);
492
+ }
493
+ function handleThrow(envObject, value) {
494
+ if (envObject.terminatedOrTerminating()) {
495
+ return;
496
+ }
497
+ throw value;
498
+ }
499
+ class Env {
500
+ constructor(ctx, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort) {
501
+ this.ctx = ctx;
502
+ this.moduleApiVersion = moduleApiVersion;
503
+ this.makeDynCall_vppp = makeDynCall_vppp;
504
+ this.makeDynCall_vp = makeDynCall_vp;
505
+ this.abort = abort;
506
+ this.openHandleScopes = 0;
507
+ this.instanceData = null;
508
+ this.tryCatch = new TryCatch();
509
+ this.refs = 1;
510
+ this.reflist = new RefTracker();
511
+ this.finalizing_reflist = new RefTracker();
512
+ this.pendingFinalizers = [];
513
+ this.lastError = {
514
+ errorCode: 0,
515
+ engineErrorCode: 0,
516
+ engineReserved: 0
517
+ };
518
+ this.inGcFinalizer = false;
519
+ this._bindingMap = new WeakMap();
520
+ this.id = 0;
521
+ }
522
+ canCallIntoJs() {
523
+ return true;
524
+ }
525
+ terminatedOrTerminating() {
526
+ return !this.canCallIntoJs();
527
+ }
528
+ ref() {
529
+ this.refs++;
530
+ }
531
+ unref() {
532
+ this.refs--;
533
+ if (this.refs === 0) {
534
+ this.dispose();
535
+ }
536
+ }
537
+ ensureHandle(value) {
538
+ return this.ctx.ensureHandle(value);
539
+ }
540
+ ensureHandleId(value) {
541
+ return this.ensureHandle(value).id;
542
+ }
543
+ clearLastError() {
544
+ const lastError = this.lastError;
545
+ if (lastError.errorCode !== 0)
546
+ lastError.errorCode = 0;
547
+ if (lastError.engineErrorCode !== 0)
548
+ lastError.engineErrorCode = 0;
549
+ if (lastError.engineReserved !== 0)
550
+ lastError.engineReserved = 0;
551
+ return 0;
552
+ }
553
+ setLastError(error_code, engine_error_code = 0, engine_reserved = 0) {
554
+ const lastError = this.lastError;
555
+ if (lastError.errorCode !== error_code)
556
+ lastError.errorCode = error_code;
557
+ if (lastError.engineErrorCode !== engine_error_code)
558
+ lastError.engineErrorCode = engine_error_code;
559
+ if (lastError.engineReserved !== engine_reserved)
560
+ lastError.engineReserved = engine_reserved;
561
+ return error_code;
562
+ }
563
+ getReturnStatus() {
564
+ return !this.tryCatch.hasCaught() ? 0 : this.setLastError(10);
565
+ }
566
+ callIntoModule(fn, handleException = handleThrow) {
567
+ const openHandleScopesBefore = this.openHandleScopes;
568
+ this.clearLastError();
569
+ const r = fn(this);
570
+ if (openHandleScopesBefore !== this.openHandleScopes) {
571
+ this.abort('open_handle_scopes != open_handle_scopes_before');
572
+ }
573
+ if (this.tryCatch.hasCaught()) {
574
+ const err = this.tryCatch.extractException();
575
+ handleException(this, err);
576
+ }
577
+ return r;
578
+ }
579
+ invokeFinalizerFromGC(finalizer) {
580
+ if (this.moduleApiVersion !== NAPI_VERSION_EXPERIMENTAL) {
581
+ this.enqueueFinalizer(finalizer);
582
+ }
583
+ else {
584
+ const saved = this.inGcFinalizer;
585
+ this.inGcFinalizer = true;
586
+ try {
587
+ finalizer.finalize();
588
+ }
589
+ finally {
590
+ this.inGcFinalizer = saved;
591
+ }
592
+ }
593
+ }
594
+ checkGCAccess() {
595
+ if (this.moduleApiVersion === NAPI_VERSION_EXPERIMENTAL && this.inGcFinalizer) {
596
+ this.abort('Finalizer is calling a function that may affect GC state.\n' +
597
+ 'The finalizers are run directly from GC and must not affect GC ' +
598
+ 'state.\n' +
599
+ 'Use `node_api_post_finalizer` from inside of the finalizer to work ' +
600
+ 'around this issue.\n' +
601
+ 'It schedules the call as a new task in the event loop.');
602
+ }
603
+ }
604
+ enqueueFinalizer(finalizer) {
605
+ if (this.pendingFinalizers.indexOf(finalizer) === -1) {
606
+ this.pendingFinalizers.push(finalizer);
607
+ }
608
+ }
609
+ dequeueFinalizer(finalizer) {
610
+ const index = this.pendingFinalizers.indexOf(finalizer);
611
+ if (index !== -1) {
612
+ this.pendingFinalizers.splice(index, 1);
613
+ }
614
+ }
615
+ deleteMe() {
616
+ RefTracker.finalizeAll(this.finalizing_reflist);
617
+ RefTracker.finalizeAll(this.reflist);
618
+ this.tryCatch.extractException();
619
+ this.ctx.envStore.remove(this.id);
620
+ }
621
+ dispose() {
622
+ if (this.id === 0)
623
+ return;
624
+ this.deleteMe();
625
+ this.finalizing_reflist.dispose();
626
+ this.reflist.dispose();
627
+ this.id = 0;
628
+ }
629
+ initObjectBinding(value) {
630
+ const binding = {
631
+ wrapped: 0,
632
+ tag: null
633
+ };
634
+ this._bindingMap.set(value, binding);
635
+ return binding;
636
+ }
637
+ getObjectBinding(value) {
638
+ if (this._bindingMap.has(value)) {
639
+ return this._bindingMap.get(value);
640
+ }
641
+ return this.initObjectBinding(value);
642
+ }
643
+ setInstanceData(data, finalize_cb, finalize_hint) {
644
+ if (this.instanceData) {
645
+ this.instanceData.dispose();
646
+ }
647
+ this.instanceData = TrackedFinalizer.create(this, finalize_cb, data, finalize_hint);
648
+ }
649
+ getInstanceData() {
650
+ return this.instanceData ? this.instanceData.data() : 0;
651
+ }
652
+ }
653
+ class NodeEnv extends Env {
654
+ constructor(ctx, filename, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort, nodeBinding) {
655
+ super(ctx, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort);
656
+ this.filename = filename;
657
+ this.nodeBinding = nodeBinding;
658
+ this.destructing = false;
659
+ this.finalizationScheduled = false;
660
+ }
661
+ deleteMe() {
662
+ this.destructing = true;
663
+ this.drainFinalizerQueue();
664
+ super.deleteMe();
665
+ }
666
+ canCallIntoJs() {
667
+ return super.canCallIntoJs() && this.ctx.canCallIntoJs();
668
+ }
669
+ triggerFatalException(err) {
670
+ if (this.nodeBinding) {
671
+ this.nodeBinding.napi.fatalException(err);
672
+ }
673
+ else {
674
+ if (typeof process === 'object' && process !== null && typeof process._fatalException === 'function') {
675
+ const handled = process._fatalException(err);
676
+ if (!handled) {
677
+ console.error(err);
678
+ process.exit(1);
679
+ }
680
+ }
681
+ else {
682
+ throw err;
683
+ }
684
+ }
685
+ }
686
+ callbackIntoModule(enforceUncaughtExceptionPolicy, fn) {
687
+ return this.callIntoModule(fn, (envObject, err) => {
688
+ if (envObject.terminatedOrTerminating()) {
689
+ return;
690
+ }
691
+ const hasProcess = typeof process === 'object' && process !== null;
692
+ const hasForceFlag = hasProcess ? Boolean(process.execArgv && (process.execArgv.indexOf('--force-node-api-uncaught-exceptions-policy') !== -1)) : false;
693
+ if (envObject.moduleApiVersion < 10 && !hasForceFlag && !enforceUncaughtExceptionPolicy) {
694
+ const warn = hasProcess && typeof process.emitWarning === 'function'
695
+ ? process.emitWarning
696
+ : function (warning, type, code) {
697
+ if (warning instanceof Error) {
698
+ console.warn(warning.toString());
699
+ }
700
+ else {
701
+ const prefix = code ? `[${code}] ` : '';
702
+ console.warn(`${prefix}${type || 'Warning'}: ${warning}`);
703
+ }
704
+ };
705
+ warn('Uncaught Node-API callback exception detected, please run node with option --force-node-api-uncaught-exceptions-policy=true to handle those exceptions properly.', 'DeprecationWarning', 'DEP0168');
706
+ return;
707
+ }
708
+ envObject.triggerFatalException(err);
709
+ });
710
+ }
711
+ callFinalizer(cb, data, hint) {
712
+ this.callFinalizerInternal(1, cb, data, hint);
713
+ }
714
+ callFinalizerInternal(forceUncaught, cb, data, hint) {
715
+ const f = this.makeDynCall_vppp(cb);
716
+ const env = this.id;
717
+ const scope = this.ctx.openScope(this);
718
+ try {
719
+ this.callbackIntoModule(Boolean(forceUncaught), () => { f(env, data, hint); });
720
+ }
721
+ finally {
722
+ this.ctx.closeScope(this, scope);
723
+ }
724
+ }
725
+ enqueueFinalizer(finalizer) {
726
+ super.enqueueFinalizer(finalizer);
727
+ if (!this.finalizationScheduled && !this.destructing) {
728
+ this.finalizationScheduled = true;
729
+ this.ref();
730
+ _setImmediate(() => {
731
+ this.finalizationScheduled = false;
732
+ this.unref();
733
+ this.drainFinalizerQueue();
734
+ });
735
+ }
736
+ }
737
+ drainFinalizerQueue() {
738
+ while (this.pendingFinalizers.length > 0) {
739
+ const refTracker = this.pendingFinalizers.shift();
740
+ refTracker.finalize();
741
+ }
742
+ }
743
+ }
744
+ function newEnv(ctx, filename, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort, nodeBinding) {
745
+ moduleApiVersion = typeof moduleApiVersion !== 'number' ? NODE_API_DEFAULT_MODULE_API_VERSION : moduleApiVersion;
746
+ if (moduleApiVersion < NODE_API_DEFAULT_MODULE_API_VERSION) {
747
+ moduleApiVersion = NODE_API_DEFAULT_MODULE_API_VERSION;
748
+ }
749
+ else if (moduleApiVersion > NODE_API_SUPPORTED_VERSION_MAX && moduleApiVersion !== NAPI_VERSION_EXPERIMENTAL) {
750
+ throwNodeApiVersionError(filename, moduleApiVersion);
751
+ }
752
+ const env = new NodeEnv(ctx, filename, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort, nodeBinding);
753
+ ctx.envStore.add(env);
754
+ ctx.addCleanupHook(env, () => { env.unref(); }, 0);
755
+ return env;
756
+ }
757
+
758
+ class EmnapiError extends Error {
759
+ constructor(message) {
760
+ super(message);
761
+ const ErrorConstructor = new.target;
762
+ const proto = ErrorConstructor.prototype;
763
+ if (!(this instanceof EmnapiError)) {
764
+ const setPrototypeOf = Object.setPrototypeOf;
765
+ if (typeof setPrototypeOf === 'function') {
766
+ setPrototypeOf.call(Object, this, proto);
767
+ }
768
+ else {
769
+ this.__proto__ = proto;
770
+ }
771
+ if (typeof Error.captureStackTrace === 'function') {
772
+ Error.captureStackTrace(this, ErrorConstructor);
773
+ }
774
+ }
775
+ }
776
+ }
777
+ Object.defineProperty(EmnapiError.prototype, 'name', {
778
+ configurable: true,
779
+ writable: true,
780
+ value: 'EmnapiError'
781
+ });
782
+ class NotSupportWeakRefError extends EmnapiError {
783
+ constructor(api, message) {
784
+ super(`${api}: The current runtime does not support "FinalizationRegistry" and "WeakRef".${message ? ` ${message}` : ''}`);
785
+ }
786
+ }
787
+ Object.defineProperty(NotSupportWeakRefError.prototype, 'name', {
788
+ configurable: true,
789
+ writable: true,
790
+ value: 'NotSupportWeakRefError'
791
+ });
792
+ class NotSupportBufferError extends EmnapiError {
793
+ constructor(api, message) {
794
+ super(`${api}: The current runtime does not support "Buffer". Consider using buffer polyfill to make sure \`globalThis.Buffer\` is defined.${message ? ` ${message}` : ''}`);
795
+ }
796
+ }
797
+ Object.defineProperty(NotSupportBufferError.prototype, 'name', {
798
+ configurable: true,
799
+ writable: true,
800
+ value: 'NotSupportBufferError'
801
+ });
802
+
803
+ class StrongRef {
804
+ constructor(value) {
805
+ this._value = value;
806
+ }
807
+ deref() {
808
+ return this._value;
809
+ }
810
+ dispose() {
811
+ this._value = undefined;
812
+ }
813
+ }
814
+ class Persistent {
815
+ constructor(value) {
816
+ this._ref = new StrongRef(value);
817
+ }
818
+ setWeak(param, callback) {
819
+ if (!supportFinalizer || this._ref === undefined || this._ref instanceof WeakRef)
820
+ return;
821
+ const value = this._ref.deref();
822
+ try {
823
+ Persistent._registry.register(value, this, this);
824
+ const weakRef = new WeakRef(value);
825
+ this._ref.dispose();
826
+ this._ref = weakRef;
827
+ this._param = param;
828
+ this._callback = callback;
829
+ }
830
+ catch (err) {
831
+ if (typeof value === 'symbol') ;
832
+ else {
833
+ throw err;
834
+ }
835
+ }
836
+ }
837
+ clearWeak() {
838
+ if (!supportFinalizer || this._ref === undefined)
839
+ return;
840
+ if (this._ref instanceof WeakRef) {
841
+ try {
842
+ Persistent._registry.unregister(this);
843
+ }
844
+ catch (_) { }
845
+ this._param = undefined;
846
+ this._callback = undefined;
847
+ const value = this._ref.deref();
848
+ if (value === undefined) {
849
+ this._ref = value;
850
+ }
851
+ else {
852
+ this._ref = new StrongRef(value);
853
+ }
854
+ }
855
+ }
856
+ reset() {
857
+ if (supportFinalizer) {
858
+ try {
859
+ Persistent._registry.unregister(this);
860
+ }
861
+ catch (_) { }
862
+ }
863
+ this._param = undefined;
864
+ this._callback = undefined;
865
+ if (this._ref instanceof StrongRef) {
866
+ this._ref.dispose();
867
+ }
868
+ this._ref = undefined;
869
+ }
870
+ isEmpty() {
871
+ return this._ref === undefined;
872
+ }
873
+ deref() {
874
+ if (this._ref === undefined)
875
+ return undefined;
876
+ return this._ref.deref();
877
+ }
878
+ }
879
+ Persistent._registry = supportFinalizer
880
+ ? new FinalizationRegistry((value) => {
881
+ value._ref = undefined;
882
+ const callback = value._callback;
883
+ const param = value._param;
884
+ value._callback = undefined;
885
+ value._param = undefined;
886
+ if (typeof callback === 'function') {
887
+ callback(param);
888
+ }
889
+ })
890
+ : undefined;
891
+
892
+ exports.ReferenceOwnership = void 0;
893
+ (function (ReferenceOwnership) {
894
+ ReferenceOwnership[ReferenceOwnership["kRuntime"] = 0] = "kRuntime";
895
+ ReferenceOwnership[ReferenceOwnership["kUserland"] = 1] = "kUserland";
896
+ })(exports.ReferenceOwnership || (exports.ReferenceOwnership = {}));
897
+ function canBeHeldWeakly(value) {
898
+ return value.isObject() || value.isFunction() || value.isSymbol();
899
+ }
900
+ class Reference extends RefTracker {
901
+ static weakCallback(ref) {
902
+ ref.persistent.reset();
903
+ ref.invokeFinalizerFromGC();
904
+ }
905
+ static create(envObject, handle_id, initialRefcount, ownership, _unused1, _unused2, _unused3) {
906
+ const ref = new Reference(envObject, handle_id, initialRefcount, ownership);
907
+ envObject.ctx.refStore.add(ref);
908
+ ref.link(envObject.reflist);
909
+ return ref;
910
+ }
911
+ constructor(envObject, handle_id, initialRefcount, ownership) {
912
+ super();
913
+ this.envObject = envObject;
914
+ this._refcount = initialRefcount;
915
+ this._ownership = ownership;
916
+ const handle = envObject.ctx.handleStore.get(handle_id);
917
+ this.canBeWeak = canBeHeldWeakly(handle);
918
+ this.persistent = new Persistent(handle.value);
919
+ this.id = 0;
920
+ if (initialRefcount === 0) {
921
+ this._setWeak();
922
+ }
923
+ }
924
+ ref() {
925
+ if (this.persistent.isEmpty()) {
926
+ return 0;
927
+ }
928
+ if (++this._refcount === 1 && this.canBeWeak) {
929
+ this.persistent.clearWeak();
930
+ }
931
+ return this._refcount;
932
+ }
933
+ unref() {
934
+ if (this.persistent.isEmpty() || this._refcount === 0) {
935
+ return 0;
936
+ }
937
+ if (--this._refcount === 0) {
938
+ this._setWeak();
939
+ }
940
+ return this._refcount;
941
+ }
942
+ get(envObject = this.envObject) {
943
+ if (this.persistent.isEmpty()) {
944
+ return 0;
945
+ }
946
+ const obj = this.persistent.deref();
947
+ const handle = envObject.ensureHandle(obj);
948
+ return handle.id;
949
+ }
950
+ resetFinalizer() { }
951
+ data() { return 0; }
952
+ refcount() { return this._refcount; }
953
+ ownership() { return this._ownership; }
954
+ callUserFinalizer() { }
955
+ invokeFinalizerFromGC() {
956
+ this.finalize();
957
+ }
958
+ _setWeak() {
959
+ if (this.canBeWeak) {
960
+ this.persistent.setWeak(this, Reference.weakCallback);
961
+ }
962
+ else {
963
+ this.persistent.reset();
964
+ }
965
+ }
966
+ finalize() {
967
+ this.persistent.reset();
968
+ const deleteMe = this._ownership === exports.ReferenceOwnership.kRuntime;
969
+ this.unlink();
970
+ this.callUserFinalizer();
971
+ if (deleteMe) {
972
+ this.dispose();
973
+ }
974
+ }
975
+ dispose() {
976
+ if (this.id === 0)
977
+ return;
978
+ this.unlink();
979
+ this.persistent.reset();
980
+ this.envObject.ctx.refStore.remove(this.id);
981
+ super.dispose();
982
+ this.envObject = undefined;
983
+ this.id = 0;
984
+ }
985
+ }
986
+ class ReferenceWithData extends Reference {
987
+ static create(envObject, value, initialRefcount, ownership, data) {
988
+ const reference = new ReferenceWithData(envObject, value, initialRefcount, ownership, data);
989
+ envObject.ctx.refStore.add(reference);
990
+ reference.link(envObject.reflist);
991
+ return reference;
992
+ }
993
+ constructor(envObject, value, initialRefcount, ownership, _data) {
994
+ super(envObject, value, initialRefcount, ownership);
995
+ this._data = _data;
996
+ }
997
+ data() {
998
+ return this._data;
999
+ }
1000
+ }
1001
+ class ReferenceWithFinalizer extends Reference {
1002
+ static create(envObject, value, initialRefcount, ownership, finalize_callback, finalize_data, finalize_hint) {
1003
+ const reference = new ReferenceWithFinalizer(envObject, value, initialRefcount, ownership, finalize_callback, finalize_data, finalize_hint);
1004
+ envObject.ctx.refStore.add(reference);
1005
+ reference.link(envObject.finalizing_reflist);
1006
+ return reference;
1007
+ }
1008
+ constructor(envObject, value, initialRefcount, ownership, finalize_callback, finalize_data, finalize_hint) {
1009
+ super(envObject, value, initialRefcount, ownership);
1010
+ this._finalizer = new Finalizer(envObject, finalize_callback, finalize_data, finalize_hint);
1011
+ }
1012
+ resetFinalizer() {
1013
+ this._finalizer.resetFinalizer();
1014
+ }
1015
+ data() {
1016
+ return this._finalizer.data();
1017
+ }
1018
+ callUserFinalizer() {
1019
+ this._finalizer.callFinalizer();
1020
+ }
1021
+ invokeFinalizerFromGC() {
1022
+ this._finalizer.envObject.invokeFinalizerFromGC(this);
1023
+ }
1024
+ dispose() {
1025
+ if (!this._finalizer)
1026
+ return;
1027
+ this._finalizer.envObject.dequeueFinalizer(this);
1028
+ this._finalizer.dispose();
1029
+ super.dispose();
1030
+ this._finalizer = undefined;
1031
+ }
1032
+ }
1033
+
1034
+ class Deferred {
1035
+ static create(ctx, value) {
1036
+ const deferred = new Deferred(ctx, value);
1037
+ ctx.deferredStore.add(deferred);
1038
+ return deferred;
1039
+ }
1040
+ constructor(ctx, value) {
1041
+ this.id = 0;
1042
+ this.ctx = ctx;
1043
+ this.value = value;
1044
+ }
1045
+ resolve(value) {
1046
+ this.value.resolve(value);
1047
+ this.dispose();
1048
+ }
1049
+ reject(reason) {
1050
+ this.value.reject(reason);
1051
+ this.dispose();
1052
+ }
1053
+ dispose() {
1054
+ this.ctx.deferredStore.remove(this.id);
1055
+ this.id = 0;
1056
+ this.value = null;
1057
+ this.ctx = null;
1058
+ }
1059
+ }
1060
+
1061
+ class Store {
1062
+ constructor() {
1063
+ this._values = [undefined];
1064
+ this._values.length = 4;
1065
+ this._size = 1;
1066
+ this._freeList = [];
1067
+ }
1068
+ add(value) {
1069
+ let id;
1070
+ if (this._freeList.length) {
1071
+ id = this._freeList.shift();
1072
+ }
1073
+ else {
1074
+ id = this._size;
1075
+ this._size++;
1076
+ const capacity = this._values.length;
1077
+ if (id >= capacity) {
1078
+ this._values.length = capacity + (capacity >> 1) + 16;
1079
+ }
1080
+ }
1081
+ value.id = id;
1082
+ this._values[id] = value;
1083
+ }
1084
+ get(id) {
1085
+ return this._values[id];
1086
+ }
1087
+ has(id) {
1088
+ return this._values[id] !== undefined;
1089
+ }
1090
+ remove(id) {
1091
+ const value = this._values[id];
1092
+ if (value) {
1093
+ value.id = 0;
1094
+ this._values[id] = undefined;
1095
+ this._freeList.push(Number(id));
1096
+ }
1097
+ }
1098
+ dispose() {
1099
+ for (let i = 1; i < this._size; ++i) {
1100
+ const value = this._values[i];
1101
+ value === null || value === void 0 ? void 0 : value.dispose();
1102
+ }
1103
+ this._values = [undefined];
1104
+ this._size = 1;
1105
+ this._freeList = [];
1106
+ }
1107
+ }
1108
+
1109
+ const kMaxReasonableBytes = BigInt(1) << BigInt(60);
1110
+ const kMinReasonableBytes = -kMaxReasonableBytes;
1111
+ class ExternalMemory {
1112
+ constructor(onChange) {
1113
+ this.total = BigInt(0);
1114
+ this.onChange = onChange !== null && onChange !== void 0 ? onChange : null;
1115
+ }
1116
+ adjust(changeInBytes) {
1117
+ changeInBytes = BigInt(changeInBytes);
1118
+ if (!(kMinReasonableBytes <= changeInBytes && changeInBytes < kMaxReasonableBytes)) {
1119
+ throw new RangeError(`changeInBytes ${changeInBytes} is out of reasonable range`);
1120
+ }
1121
+ const old = this.total;
1122
+ this.total += changeInBytes;
1123
+ const amount = this.total;
1124
+ const onChange = this.onChange;
1125
+ if (changeInBytes) {
1126
+ onChange === null || onChange === void 0 ? void 0 : onChange(amount, old, changeInBytes);
1127
+ }
1128
+ return amount;
1129
+ }
1130
+ }
1131
+
1132
+ class CleanupHookCallback {
1133
+ constructor(envObject, fn, arg, order) {
1134
+ this.envObject = envObject;
1135
+ this.fn = fn;
1136
+ this.arg = arg;
1137
+ this.order = order;
1138
+ }
1139
+ }
1140
+ class CleanupQueue {
1141
+ constructor() {
1142
+ this._cleanupHooks = [];
1143
+ this._cleanupHookCounter = 0;
1144
+ }
1145
+ empty() {
1146
+ return this._cleanupHooks.length === 0;
1147
+ }
1148
+ add(envObject, fn, arg) {
1149
+ if (this._cleanupHooks.filter((hook) => (hook.envObject === envObject && hook.fn === fn && hook.arg === arg)).length > 0) {
1150
+ throw new Error('Can not add same fn and arg twice');
1151
+ }
1152
+ this._cleanupHooks.push(new CleanupHookCallback(envObject, fn, arg, this._cleanupHookCounter++));
1153
+ }
1154
+ remove(envObject, fn, arg) {
1155
+ for (let i = 0; i < this._cleanupHooks.length; ++i) {
1156
+ const hook = this._cleanupHooks[i];
1157
+ if (hook.envObject === envObject && hook.fn === fn && hook.arg === arg) {
1158
+ this._cleanupHooks.splice(i, 1);
1159
+ return;
1160
+ }
1161
+ }
1162
+ }
1163
+ drain() {
1164
+ const hooks = this._cleanupHooks.slice();
1165
+ hooks.sort((a, b) => (b.order - a.order));
1166
+ for (let i = 0; i < hooks.length; ++i) {
1167
+ const cb = hooks[i];
1168
+ if (typeof cb.fn === 'number') {
1169
+ cb.envObject.makeDynCall_vp(cb.fn)(cb.arg);
1170
+ }
1171
+ else {
1172
+ cb.fn(cb.arg);
1173
+ }
1174
+ this._cleanupHooks.splice(this._cleanupHooks.indexOf(cb), 1);
1175
+ }
1176
+ }
1177
+ dispose() {
1178
+ this._cleanupHooks.length = 0;
1179
+ this._cleanupHookCounter = 0;
1180
+ }
1181
+ }
1182
+ class NodejsWaitingRequestCounter {
1183
+ constructor() {
1184
+ this.refHandle = new _MessageChannel().port1;
1185
+ this.count = 0;
1186
+ }
1187
+ increase() {
1188
+ if (this.count === 0) {
1189
+ if (this.refHandle.ref) {
1190
+ this.refHandle.ref();
1191
+ }
1192
+ }
1193
+ this.count++;
1194
+ }
1195
+ decrease() {
1196
+ if (this.count === 0)
1197
+ return;
1198
+ if (this.count === 1) {
1199
+ if (this.refHandle.unref) {
1200
+ this.refHandle.unref();
1201
+ }
1202
+ }
1203
+ this.count--;
1204
+ }
1205
+ }
1206
+ class Context {
1207
+ constructor(options) {
1208
+ this._isStopping = false;
1209
+ this._canCallIntoJs = true;
1210
+ this._suppressDestroy = false;
1211
+ this.envStore = new Store();
1212
+ this.scopeStore = new ScopeStore();
1213
+ this.refStore = new Store();
1214
+ this.deferredStore = new Store();
1215
+ this.handleStore = new HandleStore();
1216
+ this.feature = {
1217
+ supportReflect,
1218
+ supportFinalizer,
1219
+ supportWeakSymbol,
1220
+ supportBigInt,
1221
+ supportNewFunction,
1222
+ canSetFunctionName,
1223
+ setImmediate: _setImmediate,
1224
+ Buffer: _Buffer,
1225
+ MessageChannel: _MessageChannel
1226
+ };
1227
+ this.cleanupQueue = new CleanupQueue();
1228
+ this._externalMemory = new ExternalMemory(options === null || options === void 0 ? void 0 : options.onExternalMemoryChange);
1229
+ if (typeof process === 'object' && process !== null && typeof process.once === 'function') {
1230
+ this.refCounter = new NodejsWaitingRequestCounter();
1231
+ process.once('beforeExit', () => {
1232
+ if (!this._suppressDestroy) {
1233
+ this.destroy();
1234
+ }
1235
+ });
1236
+ }
1237
+ }
1238
+ suppressDestroy() {
1239
+ this._suppressDestroy = true;
1240
+ }
1241
+ getRuntimeVersions() {
1242
+ return {
1243
+ version,
1244
+ NODE_API_SUPPORTED_VERSION_MAX,
1245
+ NAPI_VERSION_EXPERIMENTAL,
1246
+ NODE_API_DEFAULT_MODULE_API_VERSION
1247
+ };
1248
+ }
1249
+ createNotSupportWeakRefError(api, message) {
1250
+ return new NotSupportWeakRefError(api, message);
1251
+ }
1252
+ createNotSupportBufferError(api, message) {
1253
+ return new NotSupportBufferError(api, message);
1254
+ }
1255
+ createReference(envObject, handle_id, initialRefcount, ownership) {
1256
+ return Reference.create(envObject, handle_id, initialRefcount, ownership);
1257
+ }
1258
+ createReferenceWithData(envObject, handle_id, initialRefcount, ownership, data) {
1259
+ return ReferenceWithData.create(envObject, handle_id, initialRefcount, ownership, data);
1260
+ }
1261
+ createReferenceWithFinalizer(envObject, handle_id, initialRefcount, ownership, finalize_callback = 0, finalize_data = 0, finalize_hint = 0) {
1262
+ return ReferenceWithFinalizer.create(envObject, handle_id, initialRefcount, ownership, finalize_callback, finalize_data, finalize_hint);
1263
+ }
1264
+ createDeferred(value) {
1265
+ return Deferred.create(this, value);
1266
+ }
1267
+ adjustAmountOfExternalAllocatedMemory(changeInBytes) {
1268
+ return this._externalMemory.adjust(changeInBytes);
1269
+ }
1270
+ createEnv(filename, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort, nodeBinding) {
1271
+ return newEnv(this, filename, moduleApiVersion, makeDynCall_vppp, makeDynCall_vp, abort, nodeBinding);
1272
+ }
1273
+ createTrackedFinalizer(envObject, finalize_callback, finalize_data, finalize_hint) {
1274
+ return TrackedFinalizer.create(envObject, finalize_callback, finalize_data, finalize_hint);
1275
+ }
1276
+ getCurrentScope() {
1277
+ return this.scopeStore.currentScope;
1278
+ }
1279
+ addToCurrentScope(value) {
1280
+ return this.scopeStore.currentScope.add(value);
1281
+ }
1282
+ openScope(envObject) {
1283
+ const scope = this.scopeStore.openScope(this.handleStore);
1284
+ if (envObject)
1285
+ envObject.openHandleScopes++;
1286
+ return scope;
1287
+ }
1288
+ closeScope(envObject, _scope) {
1289
+ if (envObject && envObject.openHandleScopes === 0)
1290
+ return;
1291
+ this.scopeStore.closeScope();
1292
+ if (envObject)
1293
+ envObject.openHandleScopes--;
1294
+ }
1295
+ ensureHandle(value) {
1296
+ switch (value) {
1297
+ case undefined: return HandleStore.UNDEFINED;
1298
+ case null: return HandleStore.NULL;
1299
+ case true: return HandleStore.TRUE;
1300
+ case false: return HandleStore.FALSE;
1301
+ case _global: return HandleStore.GLOBAL;
1302
+ }
1303
+ return this.addToCurrentScope(value);
1304
+ }
1305
+ addCleanupHook(envObject, fn, arg) {
1306
+ this.cleanupQueue.add(envObject, fn, arg);
1307
+ }
1308
+ removeCleanupHook(envObject, fn, arg) {
1309
+ this.cleanupQueue.remove(envObject, fn, arg);
1310
+ }
1311
+ runCleanup() {
1312
+ while (!this.cleanupQueue.empty()) {
1313
+ this.cleanupQueue.drain();
1314
+ }
1315
+ }
1316
+ increaseWaitingRequestCounter() {
1317
+ var _a;
1318
+ (_a = this.refCounter) === null || _a === void 0 ? void 0 : _a.increase();
1319
+ }
1320
+ decreaseWaitingRequestCounter() {
1321
+ var _a;
1322
+ (_a = this.refCounter) === null || _a === void 0 ? void 0 : _a.decrease();
1323
+ }
1324
+ setCanCallIntoJs(value) {
1325
+ this._canCallIntoJs = value;
1326
+ }
1327
+ setStopping(value) {
1328
+ this._isStopping = value;
1329
+ }
1330
+ canCallIntoJs() {
1331
+ return this._canCallIntoJs && !this._isStopping;
1332
+ }
1333
+ destroy() {
1334
+ this.setStopping(true);
1335
+ this.setCanCallIntoJs(false);
1336
+ this.runCleanup();
1337
+ }
1338
+ }
1339
+ let defaultContext;
1340
+ function createContext(options) {
1341
+ return new Context(options);
1342
+ }
1343
+ function getDefaultContext() {
1344
+ if (!defaultContext) {
1345
+ defaultContext = createContext();
1346
+ }
1347
+ return defaultContext;
1348
+ }
1349
+
1350
+ exports.ConstHandle = ConstHandle;
1351
+ exports.Context = Context;
1352
+ exports.Deferred = Deferred;
1353
+ exports.EmnapiError = EmnapiError;
1354
+ exports.Env = Env;
1355
+ exports.External = External;
1356
+ exports.Finalizer = Finalizer;
1357
+ exports.Handle = Handle;
1358
+ exports.HandleScope = HandleScope;
1359
+ exports.HandleStore = HandleStore;
1360
+ exports.NAPI_VERSION_EXPERIMENTAL = NAPI_VERSION_EXPERIMENTAL;
1361
+ exports.NODE_API_DEFAULT_MODULE_API_VERSION = NODE_API_DEFAULT_MODULE_API_VERSION;
1362
+ exports.NODE_API_SUPPORTED_VERSION_MAX = NODE_API_SUPPORTED_VERSION_MAX;
1363
+ exports.NODE_API_SUPPORTED_VERSION_MIN = NODE_API_SUPPORTED_VERSION_MIN;
1364
+ exports.NodeEnv = NodeEnv;
1365
+ exports.NotSupportBufferError = NotSupportBufferError;
1366
+ exports.NotSupportWeakRefError = NotSupportWeakRefError;
1367
+ exports.Persistent = Persistent;
1368
+ exports.RefTracker = RefTracker;
1369
+ exports.Reference = Reference;
1370
+ exports.ReferenceWithData = ReferenceWithData;
1371
+ exports.ReferenceWithFinalizer = ReferenceWithFinalizer;
1372
+ exports.ScopeStore = ScopeStore;
1373
+ exports.Store = Store;
1374
+ exports.TrackedFinalizer = TrackedFinalizer;
1375
+ exports.TryCatch = TryCatch;
1376
+ exports.createContext = createContext;
1377
+ exports.getDefaultContext = getDefaultContext;
1378
+ exports.getExternalValue = getExternalValue;
1379
+ exports.isExternal = isExternal;
1380
+ exports.isReferenceType = isReferenceType;
1381
+ exports.version = version;