@techysy/10router 1.0.5 → 1.0.7

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 (972) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -9
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +2 -2
  5. package/app/.next-cli-build/required-server-files.json +3 -0
  6. package/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +2 -2
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +2 -2
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js +1 -0
  209. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -0
  210. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route_client-reference-manifest.js +1 -0
  211. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/providers/[id]/json-models/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/providers/[id]/json-models/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  272. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  274. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  278. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  280. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  282. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  284. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  286. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  288. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  292. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  294. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  312. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  334. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  354. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  408. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  410. package/app/.next-cli-build/server/app/callback.html +1 -1
  411. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  412. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  413. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  414. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  415. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  416. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  417. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +6 -6
  418. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  419. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  420. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  421. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  422. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  423. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  424. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  425. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  426. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  427. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +6 -6
  428. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  429. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  430. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  431. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  432. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +6 -6
  433. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  434. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  437. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +6 -6
  438. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  439. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  440. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  441. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  442. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  443. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  444. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  446. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  447. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +6 -6
  448. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  449. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  452. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +6 -6
  453. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  454. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  455. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  457. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +6 -6
  458. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  459. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  462. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +6 -6
  463. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  464. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  465. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  467. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +6 -6
  468. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  469. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  471. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  472. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
  473. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  474. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  480. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  481. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  482. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  483. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  485. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +6 -6
  486. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  487. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  489. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  490. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
  491. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  492. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  495. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +6 -6
  496. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  497. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  500. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
  501. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  502. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  504. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  505. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
  506. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  507. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  508. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  509. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  510. package/app/.next-cli-build/server/app/index.html +1 -1
  511. package/app/.next-cli-build/server/app/index.rsc +4 -4
  512. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  513. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  514. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  515. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  516. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  517. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  518. package/app/.next-cli-build/server/app/landing.html +1 -1
  519. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  520. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  521. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  522. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  523. package/app/.next-cli-build/server/app/login/page.js +1 -1
  524. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  525. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  526. package/app/.next-cli-build/server/app/login.html +1 -1
  527. package/app/.next-cli-build/server/app/login.rsc +5 -5
  528. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  529. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  531. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  532. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  533. package/app/.next-cli-build/server/app/page.js +1 -1
  534. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  535. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  536. package/app/.next-cli-build/server/app-paths-manifest.json +10 -9
  537. package/app/.next-cli-build/server/chunks/1377.js +1 -1
  538. package/app/.next-cli-build/server/chunks/1636.js +1 -0
  539. package/app/.next-cli-build/server/chunks/1937.js +1 -0
  540. package/app/.next-cli-build/server/chunks/2179.js +1 -0
  541. package/app/.next-cli-build/server/chunks/2732.js +1 -0
  542. package/app/.next-cli-build/server/chunks/295.js +1 -0
  543. package/app/.next-cli-build/server/chunks/318.js +7 -7
  544. package/app/.next-cli-build/server/chunks/3212.js +1 -1
  545. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  546. package/app/.next-cli-build/server/chunks/3962.js +1 -0
  547. package/app/.next-cli-build/server/chunks/4037.js +1 -1
  548. package/app/.next-cli-build/server/chunks/4049.js +1 -0
  549. package/app/.next-cli-build/server/chunks/412.js +1 -1
  550. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  551. package/app/.next-cli-build/server/chunks/4293.js +1 -0
  552. package/app/.next-cli-build/server/chunks/4665.js +2 -2
  553. package/app/.next-cli-build/server/chunks/4985.js +1 -0
  554. package/app/.next-cli-build/server/chunks/5081.js +3 -3
  555. package/app/.next-cli-build/server/chunks/5217.js +1 -1
  556. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  557. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  558. package/app/.next-cli-build/server/chunks/5781.js +2 -2
  559. package/app/.next-cli-build/server/chunks/6212.js +1 -0
  560. package/app/.next-cli-build/server/chunks/6306.js +1 -1
  561. package/app/.next-cli-build/server/chunks/6326.js +1 -0
  562. package/app/.next-cli-build/server/chunks/6457.js +2 -2
  563. package/app/.next-cli-build/server/chunks/653.js +1 -0
  564. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  565. package/app/.next-cli-build/server/chunks/6877.js +1 -1
  566. package/app/.next-cli-build/server/chunks/6922.js +1 -0
  567. package/app/.next-cli-build/server/chunks/7211.js +1 -1
  568. package/app/.next-cli-build/server/chunks/7239.js +63 -0
  569. package/app/.next-cli-build/server/chunks/7598.js +1 -1
  570. package/app/.next-cli-build/server/chunks/7774.js +3 -3
  571. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  572. package/app/.next-cli-build/server/chunks/{8038.js → 7913.js} +8 -8
  573. package/app/.next-cli-build/server/chunks/8363.js +1 -0
  574. package/app/.next-cli-build/server/chunks/8444.js +1 -1
  575. package/app/.next-cli-build/server/chunks/8499.js +7 -7
  576. package/app/.next-cli-build/server/chunks/869.js +1 -1
  577. package/app/.next-cli-build/server/chunks/8838.js +1 -0
  578. package/app/.next-cli-build/server/chunks/8895.js +6 -6
  579. package/app/.next-cli-build/server/chunks/8910.js +1 -1
  580. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  581. package/app/.next-cli-build/server/chunks/9140.js +29 -0
  582. package/app/.next-cli-build/server/chunks/9463.js +1 -1
  583. package/app/.next-cli-build/server/chunks/9609.js +1 -0
  584. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  585. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  586. package/app/.next-cli-build/server/middleware.js +4 -4
  587. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  588. package/app/.next-cli-build/server/pages/404.html +1 -1
  589. package/app/.next-cli-build/server/pages/500.html +1 -1
  590. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  591. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  592. package/app/.next-cli-build/static/aKCEN8jaWm631dVqBrSte/_buildManifest.js +1 -0
  593. package/app/.next-cli-build/static/chunks/1321-a54e76efdf16ea12.js +1 -0
  594. package/app/.next-cli-build/static/chunks/{5116-4618105f24431c4a.js → 3346-0ae97d50d86ac1f7.js} +10 -10
  595. package/app/.next-cli-build/static/chunks/5497-cd84151680071f1d.js +7 -0
  596. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-272386fb26fd75c3.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-f098adefd36910e1.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-d4b67cdea67b89d0.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-75cd720b6edf6d23.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d3c784cd4a50bef9.js +14 -0
  601. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-c1757ed34595dcdb.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-7b9bde3902dca2bb.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/_global-error/page-610e2a51edf6ccba.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-610e2a51edf6ccba.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-610e2a51edf6ccba.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-610e2a51edf6ccba.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-610e2a51edf6ccba.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-610e2a51edf6ccba.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-610e2a51edf6ccba.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-610e2a51edf6ccba.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-610e2a51edf6ccba.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-610e2a51edf6ccba.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-610e2a51edf6ccba.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-610e2a51edf6ccba.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-610e2a51edf6ccba.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-610e2a51edf6ccba.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-610e2a51edf6ccba.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-610e2a51edf6ccba.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-610e2a51edf6ccba.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-610e2a51edf6ccba.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-610e2a51edf6ccba.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-610e2a51edf6ccba.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-610e2a51edf6ccba.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-610e2a51edf6ccba.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-610e2a51edf6ccba.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-610e2a51edf6ccba.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-610e2a51edf6ccba.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-610e2a51edf6ccba.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-610e2a51edf6ccba.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-610e2a51edf6ccba.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-610e2a51edf6ccba.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-610e2a51edf6ccba.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-610e2a51edf6ccba.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-610e2a51edf6ccba.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/combos/route-610e2a51edf6ccba.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-610e2a51edf6ccba.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-610e2a51edf6ccba.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-610e2a51edf6ccba.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-610e2a51edf6ccba.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-610e2a51edf6ccba.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-610e2a51edf6ccba.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/health/route-610e2a51edf6ccba.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/init/route-610e2a51edf6ccba.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-610e2a51edf6ccba.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/keys/route-610e2a51edf6ccba.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/locale/route-610e2a51edf6ccba.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-610e2a51edf6ccba.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-610e2a51edf6ccba.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-610e2a51edf6ccba.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-610e2a51edf6ccba.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-610e2a51edf6ccba.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-610e2a51edf6ccba.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-610e2a51edf6ccba.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-610e2a51edf6ccba.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-610e2a51edf6ccba.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-610e2a51edf6ccba.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-610e2a51edf6ccba.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/models/route-610e2a51edf6ccba.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/models/test/route-610e2a51edf6ccba.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-610e2a51edf6ccba.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-610e2a51edf6ccba.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-610e2a51edf6ccba.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-610e2a51edf6ccba.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-610e2a51edf6ccba.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-610e2a51edf6ccba.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-610e2a51edf6ccba.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-610e2a51edf6ccba.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-610e2a51edf6ccba.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-610e2a51edf6ccba.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-610e2a51edf6ccba.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-610e2a51edf6ccba.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-610e2a51edf6ccba.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-610e2a51edf6ccba.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-610e2a51edf6ccba.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-610e2a51edf6ccba.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/pricing/route-610e2a51edf6ccba.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-610e2a51edf6ccba.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-610e2a51edf6ccba.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-610e2a51edf6ccba.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/json-models/route-610e2a51edf6ccba.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-610e2a51edf6ccba.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-610e2a51edf6ccba.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-610e2a51edf6ccba.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-610e2a51edf6ccba.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-610e2a51edf6ccba.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-610e2a51edf6ccba.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/providers/route-610e2a51edf6ccba.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-610e2a51edf6ccba.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-610e2a51edf6ccba.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-610e2a51edf6ccba.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-610e2a51edf6ccba.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-610e2a51edf6ccba.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-610e2a51edf6ccba.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-610e2a51edf6ccba.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-610e2a51edf6ccba.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-610e2a51edf6ccba.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-610e2a51edf6ccba.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-610e2a51edf6ccba.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-610e2a51edf6ccba.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-610e2a51edf6ccba.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-610e2a51edf6ccba.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-610e2a51edf6ccba.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-610e2a51edf6ccba.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-610e2a51edf6ccba.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-610e2a51edf6ccba.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-610e2a51edf6ccba.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-610e2a51edf6ccba.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-610e2a51edf6ccba.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/settings/route-610e2a51edf6ccba.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-610e2a51edf6ccba.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/tags/route-610e2a51edf6ccba.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-610e2a51edf6ccba.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-610e2a51edf6ccba.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-610e2a51edf6ccba.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-610e2a51edf6ccba.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-610e2a51edf6ccba.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-610e2a51edf6ccba.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-610e2a51edf6ccba.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-610e2a51edf6ccba.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-610e2a51edf6ccba.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-610e2a51edf6ccba.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-610e2a51edf6ccba.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-610e2a51edf6ccba.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-610e2a51edf6ccba.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-610e2a51edf6ccba.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-610e2a51edf6ccba.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-610e2a51edf6ccba.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-610e2a51edf6ccba.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-610e2a51edf6ccba.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-610e2a51edf6ccba.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-610e2a51edf6ccba.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-610e2a51edf6ccba.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-610e2a51edf6ccba.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-610e2a51edf6ccba.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-610e2a51edf6ccba.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-610e2a51edf6ccba.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-610e2a51edf6ccba.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-610e2a51edf6ccba.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-610e2a51edf6ccba.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-610e2a51edf6ccba.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-610e2a51edf6ccba.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-610e2a51edf6ccba.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-610e2a51edf6ccba.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-610e2a51edf6ccba.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-610e2a51edf6ccba.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-610e2a51edf6ccba.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-610e2a51edf6ccba.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-610e2a51edf6ccba.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/v1/route-610e2a51edf6ccba.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-610e2a51edf6ccba.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-610e2a51edf6ccba.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-610e2a51edf6ccba.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-610e2a51edf6ccba.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-610e2a51edf6ccba.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-610e2a51edf6ccba.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-610e2a51edf6ccba.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-610e2a51edf6ccba.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/version/route-610e2a51edf6ccba.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-610e2a51edf6ccba.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/version/update/route-610e2a51edf6ccba.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-610e2a51edf6ccba.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/page-610e2a51edf6ccba.js +1 -0
  763. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-610e2a51edf6ccba.js +1 -0
  764. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-610e2a51edf6ccba.js +1 -0
  765. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-610e2a51edf6ccba.js +1 -0
  766. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-610e2a51edf6ccba.js +1 -0
  767. package/app/package.json +1 -1
  768. package/app/public/i18n/changelog/en.md +36 -4
  769. package/app/public/i18n/changelog/zh-CN.md +131 -100
  770. package/app/public/i18n/changelog/zh-TW.md +36 -4
  771. package/app/public/i18n/literals/zh-CN.json +1521 -1489
  772. package/app/public/i18n/literals/zh-TW.json +309 -307
  773. package/app/server.js +1 -1
  774. package/app/src/mitm/server.js +2 -2
  775. package/app/src/sse/services/backgroundTokenRefresh.js +35 -32
  776. package/app/src/sse/services/codebuddyCheckin.js +385 -0
  777. package/package.json +52 -52
  778. package/src/cli/i18n/index.js +29 -5
  779. package/src/cli/tray/icon-mono-black.ico +0 -0
  780. package/src/cli/tray/icon-mono-white.ico +0 -0
  781. package/src/cli/tray/icon-template.png +0 -0
  782. package/src/cli/tray/tray.js +13 -8
  783. package/src/cli/tray/trayWin.js +39 -2
  784. package/app/.next-cli-build/server/chunks/1129.js +0 -4
  785. package/app/.next-cli-build/server/chunks/1332.js +0 -1
  786. package/app/.next-cli-build/server/chunks/2283.js +0 -1
  787. package/app/.next-cli-build/server/chunks/3016.js +0 -1
  788. package/app/.next-cli-build/server/chunks/3350.js +0 -1
  789. package/app/.next-cli-build/server/chunks/3558.js +0 -1
  790. package/app/.next-cli-build/server/chunks/4452.js +0 -1
  791. package/app/.next-cli-build/server/chunks/5448.js +0 -13
  792. package/app/.next-cli-build/server/chunks/7914.js +0 -1
  793. package/app/.next-cli-build/server/chunks/8185.js +0 -1
  794. package/app/.next-cli-build/server/chunks/827.js +0 -1
  795. package/app/.next-cli-build/server/chunks/8936.js +0 -1
  796. package/app/.next-cli-build/server/chunks/915.js +0 -63
  797. package/app/.next-cli-build/server/chunks/9381.js +0 -1
  798. package/app/.next-cli-build/server/chunks/9703.js +0 -17
  799. package/app/.next-cli-build/static/chunks/1321-f66031be5e32c2cb.js +0 -1
  800. package/app/.next-cli-build/static/chunks/5497-857449e2441f5955.js +0 -7
  801. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-a217fda9e3b75a4c.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-5db6b536a4ab4991.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-56ceed313e85c919.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-5fa69f9a11a9abac.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-93a480448464bc2c.js +0 -14
  806. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-595256b6306fa952.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-06dd8e4a0a6a89ac.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/_global-error/page-e2820b80e5f98f0b.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-e2820b80e5f98f0b.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-e2820b80e5f98f0b.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-e2820b80e5f98f0b.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-e2820b80e5f98f0b.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-e2820b80e5f98f0b.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-e2820b80e5f98f0b.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-e2820b80e5f98f0b.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-e2820b80e5f98f0b.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-e2820b80e5f98f0b.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-e2820b80e5f98f0b.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-e2820b80e5f98f0b.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-e2820b80e5f98f0b.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-e2820b80e5f98f0b.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-e2820b80e5f98f0b.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-e2820b80e5f98f0b.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-e2820b80e5f98f0b.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-e2820b80e5f98f0b.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-e2820b80e5f98f0b.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-e2820b80e5f98f0b.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-e2820b80e5f98f0b.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-e2820b80e5f98f0b.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-e2820b80e5f98f0b.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-e2820b80e5f98f0b.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-e2820b80e5f98f0b.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-e2820b80e5f98f0b.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-e2820b80e5f98f0b.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-e2820b80e5f98f0b.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-e2820b80e5f98f0b.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-e2820b80e5f98f0b.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-e2820b80e5f98f0b.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-e2820b80e5f98f0b.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/combos/route-e2820b80e5f98f0b.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-e2820b80e5f98f0b.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-e2820b80e5f98f0b.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-e2820b80e5f98f0b.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-e2820b80e5f98f0b.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-e2820b80e5f98f0b.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-e2820b80e5f98f0b.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/health/route-e2820b80e5f98f0b.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/init/route-e2820b80e5f98f0b.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-e2820b80e5f98f0b.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/keys/route-e2820b80e5f98f0b.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/locale/route-e2820b80e5f98f0b.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-e2820b80e5f98f0b.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-e2820b80e5f98f0b.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-e2820b80e5f98f0b.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-e2820b80e5f98f0b.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-e2820b80e5f98f0b.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-e2820b80e5f98f0b.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-e2820b80e5f98f0b.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-e2820b80e5f98f0b.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-e2820b80e5f98f0b.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-e2820b80e5f98f0b.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-e2820b80e5f98f0b.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/models/route-e2820b80e5f98f0b.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/models/test/route-e2820b80e5f98f0b.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-e2820b80e5f98f0b.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-e2820b80e5f98f0b.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-e2820b80e5f98f0b.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-e2820b80e5f98f0b.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-e2820b80e5f98f0b.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-e2820b80e5f98f0b.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-e2820b80e5f98f0b.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-e2820b80e5f98f0b.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-e2820b80e5f98f0b.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-e2820b80e5f98f0b.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-e2820b80e5f98f0b.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-e2820b80e5f98f0b.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-e2820b80e5f98f0b.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-e2820b80e5f98f0b.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-e2820b80e5f98f0b.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/pricing/route-e2820b80e5f98f0b.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-e2820b80e5f98f0b.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-e2820b80e5f98f0b.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-e2820b80e5f98f0b.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/json-models/route-e2820b80e5f98f0b.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-e2820b80e5f98f0b.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-e2820b80e5f98f0b.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-e2820b80e5f98f0b.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-e2820b80e5f98f0b.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-e2820b80e5f98f0b.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-e2820b80e5f98f0b.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/providers/route-e2820b80e5f98f0b.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-e2820b80e5f98f0b.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-e2820b80e5f98f0b.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-e2820b80e5f98f0b.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-e2820b80e5f98f0b.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-e2820b80e5f98f0b.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-e2820b80e5f98f0b.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-e2820b80e5f98f0b.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-e2820b80e5f98f0b.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-e2820b80e5f98f0b.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-e2820b80e5f98f0b.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-e2820b80e5f98f0b.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-e2820b80e5f98f0b.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-e2820b80e5f98f0b.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-e2820b80e5f98f0b.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-e2820b80e5f98f0b.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-e2820b80e5f98f0b.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-e2820b80e5f98f0b.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-e2820b80e5f98f0b.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-e2820b80e5f98f0b.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-e2820b80e5f98f0b.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-e2820b80e5f98f0b.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/settings/route-e2820b80e5f98f0b.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-e2820b80e5f98f0b.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/tags/route-e2820b80e5f98f0b.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-e2820b80e5f98f0b.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-e2820b80e5f98f0b.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-e2820b80e5f98f0b.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-e2820b80e5f98f0b.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-e2820b80e5f98f0b.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-e2820b80e5f98f0b.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-e2820b80e5f98f0b.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-e2820b80e5f98f0b.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-e2820b80e5f98f0b.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-e2820b80e5f98f0b.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-e2820b80e5f98f0b.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-e2820b80e5f98f0b.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-e2820b80e5f98f0b.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-e2820b80e5f98f0b.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-e2820b80e5f98f0b.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-e2820b80e5f98f0b.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-e2820b80e5f98f0b.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-e2820b80e5f98f0b.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-e2820b80e5f98f0b.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-e2820b80e5f98f0b.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-e2820b80e5f98f0b.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-e2820b80e5f98f0b.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-e2820b80e5f98f0b.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-e2820b80e5f98f0b.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-e2820b80e5f98f0b.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-e2820b80e5f98f0b.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-e2820b80e5f98f0b.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-e2820b80e5f98f0b.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-e2820b80e5f98f0b.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-e2820b80e5f98f0b.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-e2820b80e5f98f0b.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-e2820b80e5f98f0b.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-e2820b80e5f98f0b.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-e2820b80e5f98f0b.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-e2820b80e5f98f0b.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-e2820b80e5f98f0b.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-e2820b80e5f98f0b.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/v1/route-e2820b80e5f98f0b.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-e2820b80e5f98f0b.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-e2820b80e5f98f0b.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-e2820b80e5f98f0b.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-e2820b80e5f98f0b.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-e2820b80e5f98f0b.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-e2820b80e5f98f0b.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-e2820b80e5f98f0b.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-e2820b80e5f98f0b.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/version/route-e2820b80e5f98f0b.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-e2820b80e5f98f0b.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/version/update/route-e2820b80e5f98f0b.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-e2820b80e5f98f0b.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/page-e2820b80e5f98f0b.js +0 -1
  967. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-e2820b80e5f98f0b.js +0 -1
  968. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-e2820b80e5f98f0b.js +0 -1
  969. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-e2820b80e5f98f0b.js +0 -1
  970. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-e2820b80e5f98f0b.js +0 -1
  971. package/app/.next-cli-build/static/twXIb88JirT5kgPRe8HTu/_buildManifest.js +0 -1
  972. /package/app/.next-cli-build/static/{twXIb88JirT5kgPRe8HTu → aKCEN8jaWm631dVqBrSte}/_ssgManifest.js +0 -0
package/app/server.js CHANGED
@@ -9,7 +9,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
9
9
  const hostname = process.env.HOSTNAME || '0.0.0.0'
10
10
 
11
11
  let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
12
- const nextConfig = {"env":{},"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next-cli-build","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"F:\\Files\\GitHub Files","enablePrerenderSourceMaps":true,"cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":true,"coldCacheBadge":false,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"dynamicOnHover":false,"useOffline":false,"varyParams":true,"optimisticRouting":true,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":15,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":134217728,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["@xyflow/react","@dnd-kit/core","@dnd-kit/sortable","material-symbols","marked","lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"turbopackMemoryEvictionMode":"auto","useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.mjs","serverExternalPackages":["better-sqlite3","sql.js","node:sqlite","bun:sqlite","open"],"turbopack":{"root":"F:\\Files\\GitHub Files"},"outputFileTracingExcludes":{"*":["./gitbook/**/*"]},"repoRoot":"F:\\Files\\GitHub Files\\10router","distDirRoot":".next-cli-build","supportsImmutableAssets":false,"_originalRewrites":{"beforeFiles":[],"afterFiles":[{"source":"/v1/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1/v1","destination":"/api/v1"},{"source":"/codex/:path*","destination":"/api/v1/responses"},{"source":"/responses","destination":"/api/v1/responses"},{"source":"/v1beta/:path*","destination":"/api/v1beta/:path*"},{"source":"/v1beta","destination":"/api/v1beta"},{"source":"/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1","destination":"/api/v1"}],"fallback":[]}}
12
+ const nextConfig = {"env":{},"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next-cli-build","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"F:\\Files\\GitHub Files","allowedDevOrigins":["127.0.0.1"],"enablePrerenderSourceMaps":true,"cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":true,"coldCacheBadge":false,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"dynamicOnHover":false,"useOffline":false,"varyParams":true,"optimisticRouting":true,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":15,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":134217728,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["@xyflow/react","@dnd-kit/core","@dnd-kit/sortable","material-symbols","marked","lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"turbopackMemoryEvictionMode":"auto","useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.mjs","serverExternalPackages":["better-sqlite3","sql.js","node:sqlite","bun:sqlite","open"],"turbopack":{"root":"F:\\Files\\GitHub Files"},"outputFileTracingExcludes":{"*":["./gitbook/**/*"]},"repoRoot":"F:\\Files\\GitHub Files\\10router","distDirRoot":".next-cli-build","supportsImmutableAssets":false,"_originalRewrites":{"beforeFiles":[],"afterFiles":[{"source":"/v1/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1/v1","destination":"/api/v1"},{"source":"/codex/:path*","destination":"/api/v1/responses"},{"source":"/responses","destination":"/api/v1/responses"},{"source":"/v1beta/:path*","destination":"/api/v1beta/:path*"},{"source":"/v1beta","destination":"/api/v1beta"},{"source":"/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1","destination":"/api/v1"}],"fallback":[]}}
13
13
 
14
14
  process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
15
15
 
@@ -1,4 +1,4 @@
1
- var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ar=F((yh,Wn)=>{var xr=require("fs"),qt=require("path"),zr=require("os"),Da="10router",$n="9router";function Yn(){return process.platform==="win32"?qt.join(process.env.APPDATA||qt.join(zr.homedir(),"AppData","Roaming"),$n):qt.join(zr.homedir(),`.${$n}`)}function Su(){try{let e=Yn(),t=Qr();if(!xr.existsSync(e)||xr.existsSync(t)&&xr.readdirSync(t).length>0)return;xr.cpSync(e,t,{recursive:!0}),console.log(`[migration] copied legacy data dir ${e} \u2192 ${t}`)}catch(e){console.warn(`[migration] failed to migrate ${Yn()} \u2192 ${Qr()}: ${e?.message}`)}}function Qr(){return process.platform==="win32"?qt.join(process.env.APPDATA||qt.join(zr.homedir(),"AppData","Roaming"),Da):qt.join(zr.homedir(),`.${Da}`)}function Tu(){let e=process.env.DATA_DIR;if(!e)return Su(),Qr();try{return xr.mkdirSync(e,{recursive:!0}),e}catch(t){if(t?.code==="EACCES"||t?.code==="EPERM")return console.warn(`[DATA_DIR] '${e}' not writable \u2192 fallback ~/.${Da}`),Qr();throw t}}var jn=Tu(),Iu=qt.join(jn,"mitm");Wn.exports={DATA_DIR:jn,MITM_DIR:Iu}});var Sr=F((vh,Zn)=>{var Xn=require("fs"),Au=process.env.NODE_ENV==="development",Bu=(()=>{if(process.platform==="win32")return null;for(let e of["/usr/sbin/lsof","/usr/bin/lsof","/sbin/lsof"])try{return Xn.accessSync(e,Xn.constants.X_OK),e}catch{}return"lsof"})(),bu=["daily-cloudcode-pa.googleapis.com","cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","runtime.us-east-1.kiro.dev","api2.cursor.sh"],Jn={antigravity:[":generateContent",":streamGenerateContent"],copilot:["/chat/completions","/v1/messages","/responses"],kiro:["/generateAssistantResponse"],cursor:["/BidiAppend","/RunSSE","/RunPoll","/Run"]};function _u(e,t){return(Jn[e]||[]).some(r=>(t.url||"").includes(r))?!0:e==="kiro"?String(t.headers?.["x-amz-target"]||"").includes("GenerateAssistantResponse"):!1}var Nu={antigravity:{"gemini-default":"gemini-3.5-flash-low","gemini-3.5-flash-high":"gemini-3-flash-agent","gemini-3.5-flash-medium":"gemini-3.5-flash-low","gemini-3.5-flash-extra-low":"gemini-3.5-flash-extra-low","gemini-3.8-flash-high":"gemini-3.8-flash-high","gemini-3.8-flash-medium":"gemini-3.8-flash-medium","gemini-3.8-flash-low":"gemini-3.8-flash-low","gemini-3.7-flash-high":"gemini-3.7-flash-high","gemini-3.7-flash-medium":"gemini-3.7-flash-medium","gemini-3.7-flash-low":"gemini-3.7-flash-low","gemini-3.1-pro-high":"gemini-pro-agent","gemini-3-pro-high":"gemini-pro-agent","gemini-3-pro-low":"gemini-3.1-pro-low"}},wu={antigravity:[{match:/flash.*extra.*low|extra.*low.*flash|flash.*low|low.*flash/i,alias:"gemini-3.5-flash-extra-low"},{match:/flash.*medium|medium.*flash/i,alias:"gemini-3.5-flash-low"},{match:/flash.*agent|agent.*flash|flash/i,alias:"gemini-3-flash-agent"},{match:/pro.*low|low.*pro/i,alias:"gemini-3.1-pro-low"},{match:/gemini.*pro|pro.*gemini/i,alias:"gemini-pro-agent"},{match:/opus/i,alias:"claude-opus-4-6-thinking"},{match:/sonnet|claude/i,alias:"claude-sonnet-4-6"},{match:/gpt.*oss|oss/i,alias:"gpt-oss-120b-medium"}]},Ru={antigravity:[/^tab[_-]/i]},Lu=["recordCodeAssistMetrics","recordTrajectoryAnalytics","fetchAdminControls","listExperiments","fetchUserInfo"];function ku(e){let t=(e||"").split(":")[0];return t==="api.individual.githubcopilot.com"?"copilot":t==="daily-cloudcode-pa.googleapis.com"||t==="cloudcode-pa.googleapis.com"?"antigravity":t==="q.us-east-1.amazonaws.com"||t==="codewhisperer.us-east-1.amazonaws.com"||t==="runtime.us-east-1.kiro.dev"?"kiro":t==="api2.cursor.sh"?"cursor":null}function Du(e){if(!e||e.length===0)return!1;let t=e.slice(0,Math.min(100,e.length)),a=0;for(let r=0;r<t.length;r++){let n=t[r];n<32&&n!==9&&n!==10&&n!==13&&a++,n>126&&a++}return a/t.length>.3}function Uu(e,t){let r=e.match(/\/models\/([^/:]+)/)?.[1]||null;if(Du(t))return r;try{let n=JSON.parse(t.toString());if(n.conversationState)return n.conversationState.currentMessage?.userInputMessage?.modelId||null;let s=r||n.model||null,i=String(s).replace(/^models\//,"");if(i==="gemini-3.8-flash-tiered"||i==="gemini-3.6-flash-tiered"||i==="gemini-3.7-flash-tiered"){let o=i.includes("3.8")?"3.8":i.includes("3.7")?"3.7":"3.6",u=n.request?.generationConfig?.thinkingConfig?.thinkingLevel||n.generationConfig?.thinkingConfig?.thinkingLevel,l=["high","medium","low"].includes(String(u).toLowerCase())?String(u).toLowerCase():"medium";return`gemini-${o}-flash-${l}`}return s}catch{return r}}Zn.exports={IS_DEV:Au,LSOF_BIN:Bu,TARGET_HOSTS:bu,URL_PATTERNS:Jn,MODEL_SYNONYMS:Nu,MODEL_PATTERNS:wu,MODEL_NO_MAP:Ru,LOG_BLACKLIST_URL_PARTS:Lu,getToolForHost:ku,isChatRequest:_u,extractModel:Uu}});var zt=F((mh,ai)=>{var Ht=require("fs"),$r=require("path"),Ua=require("zlib"),{DATA_DIR:Pu}=ar(),{LOG_BLACKLIST_URL_PARTS:Ou}=Sr();function ei(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}var Vu=e=>console.log(`[${ei()}] [MITM] ${e}`),Fu=e=>console.error(`[${ei()}] \u274C [MITM] ${e}`),Gt=$r.join(Pu,"logs","mitm");Ht.existsSync(Gt)||Ht.mkdirSync(Gt,{recursive:!0});function Ku(){try{if(!Ht.existsSync(Gt))return;for(let e of Ht.readdirSync(Gt))try{Ht.rmSync($r.join(Gt,e),{recursive:!0,force:!0})}catch{}}catch{}}var Mu=/^\s*(\{\s*\}|\[\s*\]|null)?\s*$/;function ti(e,t=80){return String(e).replace(/[^a-zA-Z0-9]/g,"_").substring(0,t)}function ri(e){return e?Ou.some(t=>e.includes(t)):!1}function qu(e,t){if(!e||e.length===0)return e;try{let a=(t||"").toLowerCase();if(a.includes("gzip"))return Ua.gunzipSync(e);if(a.includes("br"))return Ua.brotliDecompressSync(e);if(a.includes("deflate"))return Ua.inflateSync(e)}catch{}return e}function Hu(e,t,a="raw"){if(ri(e.url))return null;try{let r=new Date().toISOString().replace(/[:.]/g,"-"),n=ti((e.headers.host||"")+e.url),s=$r.join(Gt,`${r}_${a}_${n}.req.json`),i=null;try{i=JSON.parse(t.toString())}catch{}return Ht.writeFileSync(s,JSON.stringify({method:e.method,url:e.url,host:e.headers.host,headers:e.headers,body:i??t.toString("utf8")},null,2)),s}catch{return null}}function Gu(e,t="raw"){if(ri(e.url))return null;let a=new Date().toISOString().replace(/[:.]/g,"-"),r=ti((e.headers.host||"")+e.url),n=$r.join(Gt,`${a}_${t}_${r}.res.txt`),s=0,i={},o=[];return{writeHeader:(u,l)=>{s=u,i=l||{}},writeChunk:u=>{u!=null&&o.push(Buffer.isBuffer(u)?u:Buffer.from(u))},end:()=>{try{let u=Buffer.concat(o),l=i["content-encoding"]||i["Content-Encoding"],f=qu(u,l).toString("utf8");if(Mu.test(f))return;let g={...i};delete g["content-encoding"],delete g["Content-Encoding"];let v=`STATUS: ${s}
1
+ var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ar=F((yh,Wn)=>{var xr=require("fs"),qt=require("path"),zr=require("os"),Da="10router",$n="9router";function Yn(){return process.platform==="win32"?qt.join(process.env.APPDATA||qt.join(zr.homedir(),"AppData","Roaming"),$n):qt.join(zr.homedir(),`.${$n}`)}function Su(){try{let e=Yn(),t=Qr();if(!xr.existsSync(e)||xr.existsSync(t)&&xr.readdirSync(t).length>0)return;xr.cpSync(e,t,{recursive:!0}),console.log(`[migration] copied legacy data dir ${e} \u2192 ${t}`)}catch(e){console.warn(`[migration] failed to migrate ${Yn()} \u2192 ${Qr()}: ${e?.message}`)}}function Qr(){return process.platform==="win32"?qt.join(process.env.APPDATA||qt.join(zr.homedir(),"AppData","Roaming"),Da):qt.join(zr.homedir(),`.${Da}`)}function Tu(){let e=process.env.DATA_DIR;if(!e)return Su(),Qr();try{return xr.mkdirSync(e,{recursive:!0}),e}catch(t){if(t?.code==="EACCES"||t?.code==="EPERM")return console.warn(`[DATA_DIR] '${e}' not writable \u2192 fallback ~/.${Da}`),Qr();throw t}}var jn=Tu(),Iu=qt.join(jn,"mitm");Wn.exports={DATA_DIR:jn,MITM_DIR:Iu}});var Sr=F((vh,Zn)=>{var Xn=require("fs"),Au=process.env.NODE_ENV==="development",Bu=(()=>{if(process.platform==="win32")return null;for(let e of["/usr/sbin/lsof","/usr/bin/lsof","/sbin/lsof"])try{return Xn.accessSync(e,Xn.constants.X_OK),e}catch{}return"lsof"})(),bu=["daily-cloudcode-pa.googleapis.com","cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","runtime.us-east-1.kiro.dev","api2.cursor.sh"],Jn={antigravity:[":generateContent",":streamGenerateContent"],copilot:["/chat/completions","/v1/messages","/responses"],kiro:["/generateAssistantResponse"],cursor:["/BidiAppend","/RunSSE","/RunPoll","/Run"]};function _u(e,t){return(Jn[e]||[]).some(r=>(t.url||"").includes(r))?!0:e==="kiro"?String(t.headers?.["x-amz-target"]||"").includes("GenerateAssistantResponse"):!1}var Nu={antigravity:{"gemini-default":"gemini-3.5-flash-low","gemini-3.5-flash-high":"gemini-3-flash-agent","gemini-3.5-flash-medium":"gemini-3.5-flash-low","gemini-3.5-flash-extra-low":"gemini-3.5-flash-extra-low","gemini-3.8-flash":"gemini-3.8-flash-medium","gemini-3.8-flash-high":"gemini-3.8-flash-high","gemini-3.8-flash-medium":"gemini-3.8-flash-medium","gemini-3.8-flash-low":"gemini-3.8-flash-low","gemini-3.7-flash-high":"gemini-3.7-flash-high","gemini-3.7-flash-medium":"gemini-3.7-flash-medium","gemini-3.7-flash-low":"gemini-3.7-flash-low","gemini-3.1-pro-high":"gemini-pro-agent","gemini-3-pro-high":"gemini-pro-agent","gemini-3-pro-low":"gemini-3.1-pro-low"}},wu={antigravity:[{match:/flash.*extra.*low|extra.*low.*flash|flash.*low|low.*flash/i,alias:"gemini-3.5-flash-extra-low"},{match:/flash.*medium|medium.*flash/i,alias:"gemini-3.5-flash-low"},{match:/flash.*agent|agent.*flash|flash/i,alias:"gemini-3-flash-agent"},{match:/pro.*low|low.*pro/i,alias:"gemini-3.1-pro-low"},{match:/gemini.*pro|pro.*gemini/i,alias:"gemini-pro-agent"},{match:/opus/i,alias:"claude-opus-4-6-thinking"},{match:/sonnet|claude/i,alias:"claude-sonnet-4-6"},{match:/gpt.*oss|oss/i,alias:"gpt-oss-120b-medium"}]},Ru={antigravity:[/^tab[_-]/i]},Lu=["recordCodeAssistMetrics","recordTrajectoryAnalytics","fetchAdminControls","listExperiments","fetchUserInfo"];function ku(e){let t=(e||"").split(":")[0];return t==="api.individual.githubcopilot.com"?"copilot":t==="daily-cloudcode-pa.googleapis.com"||t==="cloudcode-pa.googleapis.com"?"antigravity":t==="q.us-east-1.amazonaws.com"||t==="codewhisperer.us-east-1.amazonaws.com"||t==="runtime.us-east-1.kiro.dev"?"kiro":t==="api2.cursor.sh"?"cursor":null}function Du(e){if(!e||e.length===0)return!1;let t=e.slice(0,Math.min(100,e.length)),a=0;for(let r=0;r<t.length;r++){let n=t[r];n<32&&n!==9&&n!==10&&n!==13&&a++,n>126&&a++}return a/t.length>.3}function Uu(e,t){let r=e.match(/\/models\/([^/:]+)/)?.[1]||null;if(Du(t))return r;try{let n=JSON.parse(t.toString());if(n.conversationState)return n.conversationState.currentMessage?.userInputMessage?.modelId||null;let s=r||n.model||null,i=String(s).replace(/^models\//,"");if(i==="gemini-3.8-flash-tiered"||i==="gemini-3.6-flash-tiered"||i==="gemini-3.7-flash-tiered"){let o=i.includes("3.8")?"3.8":i.includes("3.7")?"3.7":"3.6",u=n.request?.generationConfig?.thinkingConfig?.thinkingLevel||n.generationConfig?.thinkingConfig?.thinkingLevel,l=["high","medium","low"].includes(String(u).toLowerCase())?String(u).toLowerCase():"medium";return`gemini-${o}-flash-${l}`}return s}catch{return r}}Zn.exports={IS_DEV:Au,LSOF_BIN:Bu,TARGET_HOSTS:bu,URL_PATTERNS:Jn,MODEL_SYNONYMS:Nu,MODEL_PATTERNS:wu,MODEL_NO_MAP:Ru,LOG_BLACKLIST_URL_PARTS:Lu,getToolForHost:ku,isChatRequest:_u,extractModel:Uu}});var zt=F((mh,ai)=>{var Ht=require("fs"),$r=require("path"),Ua=require("zlib"),{DATA_DIR:Pu}=ar(),{LOG_BLACKLIST_URL_PARTS:Ou}=Sr();function ei(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}var Vu=e=>console.log(`[${ei()}] [MITM] ${e}`),Fu=e=>console.error(`[${ei()}] \u274C [MITM] ${e}`),Gt=$r.join(Pu,"logs","mitm");Ht.existsSync(Gt)||Ht.mkdirSync(Gt,{recursive:!0});function Ku(){try{if(!Ht.existsSync(Gt))return;for(let e of Ht.readdirSync(Gt))try{Ht.rmSync($r.join(Gt,e),{recursive:!0,force:!0})}catch{}}catch{}}var Mu=/^\s*(\{\s*\}|\[\s*\]|null)?\s*$/;function ti(e,t=80){return String(e).replace(/[^a-zA-Z0-9]/g,"_").substring(0,t)}function ri(e){return e?Ou.some(t=>e.includes(t)):!1}function qu(e,t){if(!e||e.length===0)return e;try{let a=(t||"").toLowerCase();if(a.includes("gzip"))return Ua.gunzipSync(e);if(a.includes("br"))return Ua.brotliDecompressSync(e);if(a.includes("deflate"))return Ua.inflateSync(e)}catch{}return e}function Hu(e,t,a="raw"){if(ri(e.url))return null;try{let r=new Date().toISOString().replace(/[:.]/g,"-"),n=ti((e.headers.host||"")+e.url),s=$r.join(Gt,`${r}_${a}_${n}.req.json`),i=null;try{i=JSON.parse(t.toString())}catch{}return Ht.writeFileSync(s,JSON.stringify({method:e.method,url:e.url,host:e.headers.host,headers:e.headers,body:i??t.toString("utf8")},null,2)),s}catch{return null}}function Gu(e,t="raw"){if(ri(e.url))return null;let a=new Date().toISOString().replace(/[:.]/g,"-"),r=ti((e.headers.host||"")+e.url),n=$r.join(Gt,`${a}_${t}_${r}.res.txt`),s=0,i={},o=[];return{writeHeader:(u,l)=>{s=u,i=l||{}},writeChunk:u=>{u!=null&&o.push(Buffer.isBuffer(u)?u:Buffer.from(u))},end:()=>{try{let u=Buffer.concat(o),l=i["content-encoding"]||i["Content-Encoding"],f=qu(u,l).toString("utf8");if(Mu.test(f))return;let g={...i};delete g["content-encoding"],delete g["Content-Encoding"];let v=`STATUS: ${s}
2
2
  HEADERS: ${JSON.stringify(g,null,2)}
3
3
  ---BODY---
4
4
  ${f}`;Ht.writeFileSync(n,v)}catch{}},file:n}}ai.exports={log:Vu,err:Fu,dumpRequest:Hu,createResponseDumper:Gu,clearDumpDir:Ku}});var $=F((Ch,ni)=>{ni.exports={options:{usePureJavaScript:!1}}});var oi=F((Eh,si)=>{var Pa={};si.exports=Pa;var ii={};Pa.encode=function(e,t,a){if(typeof t!="string")throw new TypeError('"alphabet" must be a string.');if(a!==void 0&&typeof a!="number")throw new TypeError('"maxline" must be a number.');var r="";if(!(e instanceof Uint8Array))r=zu(e,t);else{var n=0,s=t.length,i=t.charAt(0),o=[0];for(n=0;n<e.length;++n){for(var u=0,l=e[n];u<o.length;++u)l+=o[u]<<8,o[u]=l%s,l=l/s|0;for(;l>0;)o.push(l%s),l=l/s|0}for(n=0;e[n]===0&&n<e.length-1;++n)r+=i;for(n=o.length-1;n>=0;--n)r+=t[o[n]]}if(a){var c=new RegExp(".{1,"+a+"}","g");r=r.match(c).join(`\r
@@ -22,7 +22,7 @@ ${f}`;Ht.writeFileSync(n,v)}catch{}},file:n}}ai.exports={log:Vu,err:Fu,dumpReque
22
22
  Private-Lines: `+u+`\r
23
23
  `,s+=c;var S=Ia("putty-private-key-file-mac-key",t),I=Ce.util.createBuffer();mr(I,r),mr(I,n),mr(I,a),I.putInt32(i.length()),I.putBuffer(i),I.putInt32(l.length()),I.putBuffer(l);var B=Ce.hmac.create();return B.start("sha1",S),B.update(I.bytes()),s+=`\r
24
24
  Private-MAC: `+B.digest().toHex()+`\r
25
- `,s};Aa.publicKeyToOpenSSH=function(e,t){var a="ssh-rsa";t=t||"";var r=Ce.util.createBuffer();return mr(r,a),xt(r,e.e),xt(r,e.n),a+" "+Ce.util.encode64(r.bytes())+" "+t};Aa.privateKeyToOpenSSH=function(e,t){return t?Ce.pki.encryptRsaPrivateKey(e,t,{legacy:!0,algorithm:"aes128"}):Ce.pki.privateKeyToPem(e)};Aa.getPublicKeyFingerprint=function(e,t){t=t||{};var a=t.md||Ce.md.md5.create(),r="ssh-rsa",n=Ce.util.createBuffer();mr(n,r),xt(n,e.e),xt(n,e.n),a.start(),a.update(n.getBytes());var s=a.digest();if(t.encoding==="hex"){var i=s.toHex();return t.delimiter?i.match(/.{2}/g).join(t.delimiter):i}else{if(t.encoding==="binary")return s.getBytes();if(t.encoding)throw new Error('Unknown encoding "'+t.encoding+'".')}return s};function xt(e,t){var a=t.toString(16);a[0]>="8"&&(a="00"+a);var r=Ce.util.hexToBytes(a);e.putInt32(r.length),e.putBytes(r)}function mr(e,t){e.putInt32(t.length),e.putString(t)}function Ia(){for(var e=Ce.md.sha1.create(),t=arguments.length,a=0;a<t;++a)e.update(arguments[a]);return e.digest()}});var Eo=F((sp,Co)=>{Co.exports=$();Lt();Vs();lt();jr();br();ro();sr();so();co();ho();fn();sa();$t();nn();pn();yo();yn();on();Wa();ha();tt();Za();mo();Sn();re()});var Ao=F((op,Io)=>{var So=require("path"),je=require("fs"),Ze=Eo(),{MITM_DIR:Ba}=ar(),St=So.join(Ba,"rootCA.key"),bt=So.join(Ba,"rootCA.crt");function To(e){try{let t=Ze.pki.certificateFromPem(je.readFileSync(e,"utf8")),a=new Date(Date.now()+720*60*60*1e3);return t.validity.notAfter<a}catch{return!0}}function xo(){if(process.platform!=="win32")try{je.chmodSync(St,384)}catch(e){console.warn(`\u26A0\uFE0F Could not restrict permissions on ${St}: ${e.message}`)}}function wf(){let e=je.existsSync(St)&&je.existsSync(bt);if(e&&!To(bt))return xo(),console.log("\u2705 Root CA already exists"),{key:St,cert:bt};if(e){console.log("\u{1F510} Root CA expired or expiring soon \u2014 regenerating...");try{je.unlinkSync(St)}catch{}try{je.unlinkSync(bt)}catch{}}je.existsSync(Ba)||je.mkdirSync(Ba,{recursive:!0,mode:448}),console.log("\u{1F510} Generating Root CA certificate...");let t=Ze.pki.rsa.generateKeyPair(2048),a=Ze.pki.createCertificate();a.publicKey=t.publicKey,a.serialNumber="01",a.validity.notBefore=new Date,a.validity.notAfter=new Date,a.validity.notAfter.setFullYear(a.validity.notBefore.getFullYear()+10);let r=[{name:"commonName",value:"10Router MITM Root CA"},{name:"organizationName",value:"10Router"},{name:"countryName",value:"US"}];a.setSubject(r),a.setIssuer(r),a.setExtensions([{name:"basicConstraints",cA:!0,critical:!0},{name:"keyUsage",keyCertSign:!0,cRLSign:!0,critical:!0},{name:"subjectKeyIdentifier"}]),a.sign(t.privateKey,Ze.md.sha256.create());let n=Ze.pki.privateKeyToPem(t.privateKey),s=Ze.pki.certificateToPem(a);return je.writeFileSync(St,n,{mode:384}),je.writeFileSync(bt,s),xo(),console.log("\u2705 Root CA generated successfully"),{key:St,cert:bt}}function Rf(){if(!je.existsSync(St)||!je.existsSync(bt))throw new Error("Root CA not found. Generate it first.");let e=je.readFileSync(St,"utf8"),t=je.readFileSync(bt,"utf8");return{key:Ze.pki.privateKeyFromPem(e),cert:Ze.pki.certificateFromPem(t)}}function Lf(e,t){let a=Ze.pki.rsa.generateKeyPair(2048),r=Ze.pki.createCertificate();return r.publicKey=a.publicKey,r.serialNumber=Math.floor(Math.random()*1e6).toString(),r.validity.notBefore=new Date,r.validity.notAfter=new Date,r.validity.notAfter.setFullYear(r.validity.notBefore.getFullYear()+1),r.setSubject([{name:"commonName",value:e}]),r.setIssuer(t.cert.subject.attributes),r.setExtensions([{name:"basicConstraints",cA:!1},{name:"keyUsage",digitalSignature:!0,keyEncipherment:!0},{name:"extKeyUsage",serverAuth:!0,clientAuth:!0},{name:"subjectAltName",altNames:[{type:2,value:e},{type:2,value:`*.${e}`}]}]),r.sign(t.key,Ze.md.sha256.create()),{key:Ze.pki.privateKeyToPem(a.privateKey),cert:Ze.pki.certificateToPem(r)}}Io.exports={generateRootCA:wf,loadRootCA:Rf,generateLeafCert:Lf,isCertExpired:To,ROOT_CA_CERT_PATH:bt,ROOT_CA_KEY_PATH:St}});var bo=F((fp,Bo)=>{var up=require("path"),lp=require("fs"),{MITM_DIR:cp}=ar(),{generateRootCA:kf,loadRootCA:Df,generateLeafCert:Uf}=Ao();function Pf(){return kf()}function Of(e){try{let t=Df(),a=Uf(e,t);return{key:a.key,cert:a.cert}}catch(t){return console.error(`Failed to generate cert for ${e}:`,t.message),null}}Bo.exports={generateCert:Pf,getCertForDomain:Of}});var Ro=F((dp,wo)=>{var _o=require("fs"),Vf=require("path"),{DATA_DIR:Ff}=ar(),No=Vf.join(Ff,"mitm","aliases.json");function Kf(){try{return _o.existsSync(No)?JSON.parse(_o.readFileSync(No,"utf-8")):null}catch{return null}}function Mf(e){return Kf()?.[e]||null}wo.exports={getMitmAlias:Mf}});var Do=F((hp,ko)=>{"use strict";var Cr="1.23.2";function qf(e){return!e||typeof e!="object"||Array.isArray(e)?!1:String(e.ideName||"").toLowerCase()==="antigravity"||String(e.ideType||"").toUpperCase()==="ANTIGRAVITY"?!0:Object.prototype.hasOwnProperty.call(e,"ideVersion")}function Lo(e,t){return typeof e!="string"||!e.includes("antigravity/")?e:e.replace(/antigravity\/[^\s]+/,`antigravity/${t}`)}function Hf(e,t){let a={...t},r=Lo(a["user-agent"],Cr),n=r!==a["user-agent"];n&&(a["user-agent"]=r);try{let s=JSON.parse(e.toString());return qf(s?.metadata)?(s.metadata.ideVersion=Cr,{bodyBuffer:Buffer.from(JSON.stringify(s)),headers:a,applied:!0,version:Cr}):{bodyBuffer:e,headers:a,applied:n,version:Cr}}catch{return{bodyBuffer:e,headers:a,applied:n,version:Cr}}}ko.exports={ANTIGRAVITY_IDE_VERSION:Cr,applyAntigravityIdeVersionOverride:Hf,rewriteAntigravityUserAgent:Lo}});var _a=F((gp,Oo)=>{var{log:ba,err:pp}=zt(),Uo="http://localhost:20128",Gf=String(process.env.MITM_ROUTER_BASE||Uo).trim().replace(/\/+$/,"")||Uo,Po=process.env.ROUTER_API_KEY,zf=new Set(["host","content-length","connection","transfer-encoding","content-type","authorization"]);async function Qf(e,t="/v1/chat/completions",a={}){let r={};for(let[s,i]of Object.entries(a))zf.has(s.toLowerCase())||(r[s]=i);return await fetch(`${Gf}${t}`,{method:"POST",headers:{...r,"Content-Type":"application/json",...Po&&{Authorization:`Bearer ${Po}`}},body:JSON.stringify(e)})}async function $f(e,t,a){let r=e.headers.get("content-type")||"application/json",n=e.status||200,s={"Content-Type":r,"Cache-Control":"no-cache",Connection:"keep-alive"};if(r.includes("text/event-stream")&&(s["X-Accel-Buffering"]="no"),t.writeHead(n,s),a&&a.writeHeader(e.status,Object.fromEntries(e.headers)),!e.body){let u=await e.text().catch(()=>"");a&&(a.writeChunk(u),a.end()),t.end(u);return}let i=e.body.getReader(),o=new TextDecoder;for(;;){let{done:u,value:l}=await i.read();if(u){a&&a.end(),t.end();break}a&&a.writeChunk(l),t.write(o.decode(l,{stream:!0}))}}async function Yf(e,t,a,r){let n=e.headers.get("content-type")||"application/json",s={"Content-Type":n,"Cache-Control":"no-cache",Connection:"keep-alive"};if(n.includes("text/event-stream")&&(s["X-Accel-Buffering"]="no"),t.writeHead(200,s),!e.body){t.end(await e.text().catch(()=>""));return}let i=e.body.getReader(),o=new TextDecoder("utf-8",{fatal:!1}),u="";for(;;){let{done:l,value:c}=await i.read();if(l)break;u+=o.decode(c,{stream:!0});let f=u.split(`
25
+ `,s};Aa.publicKeyToOpenSSH=function(e,t){var a="ssh-rsa";t=t||"";var r=Ce.util.createBuffer();return mr(r,a),xt(r,e.e),xt(r,e.n),a+" "+Ce.util.encode64(r.bytes())+" "+t};Aa.privateKeyToOpenSSH=function(e,t){return t?Ce.pki.encryptRsaPrivateKey(e,t,{legacy:!0,algorithm:"aes128"}):Ce.pki.privateKeyToPem(e)};Aa.getPublicKeyFingerprint=function(e,t){t=t||{};var a=t.md||Ce.md.md5.create(),r="ssh-rsa",n=Ce.util.createBuffer();mr(n,r),xt(n,e.e),xt(n,e.n),a.start(),a.update(n.getBytes());var s=a.digest();if(t.encoding==="hex"){var i=s.toHex();return t.delimiter?i.match(/.{2}/g).join(t.delimiter):i}else{if(t.encoding==="binary")return s.getBytes();if(t.encoding)throw new Error('Unknown encoding "'+t.encoding+'".')}return s};function xt(e,t){var a=t.toString(16);a[0]>="8"&&(a="00"+a);var r=Ce.util.hexToBytes(a);e.putInt32(r.length),e.putBytes(r)}function mr(e,t){e.putInt32(t.length),e.putString(t)}function Ia(){for(var e=Ce.md.sha1.create(),t=arguments.length,a=0;a<t;++a)e.update(arguments[a]);return e.digest()}});var Eo=F((sp,Co)=>{Co.exports=$();Lt();Vs();lt();jr();br();ro();sr();so();co();ho();fn();sa();$t();nn();pn();yo();yn();on();Wa();ha();tt();Za();mo();Sn();re()});var Ao=F((op,Io)=>{var So=require("path"),je=require("fs"),Ze=Eo(),{MITM_DIR:Ba}=ar(),St=So.join(Ba,"rootCA.key"),bt=So.join(Ba,"rootCA.crt");function To(e){try{let t=Ze.pki.certificateFromPem(je.readFileSync(e,"utf8")),a=new Date(Date.now()+720*60*60*1e3);return t.validity.notAfter<a}catch{return!0}}function xo(){if(process.platform!=="win32")try{je.chmodSync(St,384)}catch(e){console.warn(`\u26A0\uFE0F Could not restrict permissions on ${St}: ${e.message}`)}}function wf(){let e=je.existsSync(St)&&je.existsSync(bt);if(e&&!To(bt))return xo(),console.log("\u2705 Root CA already exists"),{key:St,cert:bt};if(e){console.log("\u{1F510} Root CA expired or expiring soon \u2014 regenerating...");try{je.unlinkSync(St)}catch{}try{je.unlinkSync(bt)}catch{}}je.existsSync(Ba)||je.mkdirSync(Ba,{recursive:!0,mode:448}),console.log("\u{1F510} Generating Root CA certificate...");let t=Ze.pki.rsa.generateKeyPair(2048),a=Ze.pki.createCertificate();a.publicKey=t.publicKey,a.serialNumber="01",a.validity.notBefore=new Date,a.validity.notAfter=new Date,a.validity.notAfter.setFullYear(a.validity.notBefore.getFullYear()+10);let r=[{name:"commonName",value:"10Router MITM Root CA"},{name:"organizationName",value:"10Router"},{name:"countryName",value:"US"}];a.setSubject(r),a.setIssuer(r),a.setExtensions([{name:"basicConstraints",cA:!0,critical:!0},{name:"keyUsage",keyCertSign:!0,cRLSign:!0,critical:!0},{name:"subjectKeyIdentifier"}]),a.sign(t.privateKey,Ze.md.sha256.create());let n=Ze.pki.privateKeyToPem(t.privateKey),s=Ze.pki.certificateToPem(a);return je.writeFileSync(St,n,{mode:384}),je.writeFileSync(bt,s),xo(),console.log("\u2705 Root CA generated successfully"),{key:St,cert:bt}}function Rf(){if(!je.existsSync(St)||!je.existsSync(bt))throw new Error("Root CA not found. Generate it first.");let e=je.readFileSync(St,"utf8"),t=je.readFileSync(bt,"utf8");return{key:Ze.pki.privateKeyFromPem(e),cert:Ze.pki.certificateFromPem(t)}}function Lf(e,t){let a=Ze.pki.rsa.generateKeyPair(2048),r=Ze.pki.createCertificate();return r.publicKey=a.publicKey,r.serialNumber=Math.floor(Math.random()*1e6).toString(),r.validity.notBefore=new Date,r.validity.notAfter=new Date,r.validity.notAfter.setFullYear(r.validity.notBefore.getFullYear()+1),r.setSubject([{name:"commonName",value:e}]),r.setIssuer(t.cert.subject.attributes),r.setExtensions([{name:"basicConstraints",cA:!1},{name:"keyUsage",digitalSignature:!0,keyEncipherment:!0},{name:"extKeyUsage",serverAuth:!0,clientAuth:!0},{name:"subjectAltName",altNames:[{type:2,value:e},{type:2,value:`*.${e}`}]}]),r.sign(t.key,Ze.md.sha256.create()),{key:Ze.pki.privateKeyToPem(a.privateKey),cert:Ze.pki.certificateToPem(r)}}Io.exports={generateRootCA:wf,loadRootCA:Rf,generateLeafCert:Lf,isCertExpired:To,ROOT_CA_CERT_PATH:bt,ROOT_CA_KEY_PATH:St}});var bo=F((fp,Bo)=>{var up=require("path"),lp=require("fs"),{MITM_DIR:cp}=ar(),{generateRootCA:kf,loadRootCA:Df,generateLeafCert:Uf}=Ao();function Pf(){return kf()}function Of(e){try{let t=Df(),a=Uf(e,t);return{key:a.key,cert:a.cert}}catch(t){return console.error(`Failed to generate cert for ${e}:`,t.message),null}}Bo.exports={generateCert:Pf,getCertForDomain:Of}});var Ro=F((dp,wo)=>{var _o=require("fs"),Vf=require("path"),{DATA_DIR:Ff}=ar(),No=Vf.join(Ff,"mitm","aliases.json");function Kf(){try{return _o.existsSync(No)?JSON.parse(_o.readFileSync(No,"utf-8")):null}catch{return null}}function Mf(e){return Kf()?.[e]||null}wo.exports={getMitmAlias:Mf}});var Do=F((hp,ko)=>{"use strict";var Cr="2.11.0";function qf(e){return!e||typeof e!="object"||Array.isArray(e)?!1:String(e.ideName||"").toLowerCase()==="antigravity"||String(e.ideType||"").toUpperCase()==="ANTIGRAVITY"?!0:Object.prototype.hasOwnProperty.call(e,"ideVersion")}function Lo(e,t){return typeof e!="string"||!e.includes("antigravity/")?e:e.replace(/antigravity\/[^\s]+/,`antigravity/${t}`)}function Hf(e,t){let a={...t},r=Lo(a["user-agent"],Cr),n=r!==a["user-agent"];n&&(a["user-agent"]=r);try{let s=JSON.parse(e.toString());return qf(s?.metadata)?(s.metadata.ideVersion=Cr,{bodyBuffer:Buffer.from(JSON.stringify(s)),headers:a,applied:!0,version:Cr}):{bodyBuffer:e,headers:a,applied:n,version:Cr}}catch{return{bodyBuffer:e,headers:a,applied:n,version:Cr}}}ko.exports={ANTIGRAVITY_IDE_VERSION:Cr,applyAntigravityIdeVersionOverride:Hf,rewriteAntigravityUserAgent:Lo}});var _a=F((gp,Oo)=>{var{log:ba,err:pp}=zt(),Uo="http://localhost:20128",Gf=String(process.env.MITM_ROUTER_BASE||Uo).trim().replace(/\/+$/,"")||Uo,Po=process.env.ROUTER_API_KEY,zf=new Set(["host","content-length","connection","transfer-encoding","content-type","authorization"]);async function Qf(e,t="/v1/chat/completions",a={}){let r={};for(let[s,i]of Object.entries(a))zf.has(s.toLowerCase())||(r[s]=i);return await fetch(`${Gf}${t}`,{method:"POST",headers:{...r,"Content-Type":"application/json",...Po&&{Authorization:`Bearer ${Po}`}},body:JSON.stringify(e)})}async function $f(e,t,a){let r=e.headers.get("content-type")||"application/json",n=e.status||200,s={"Content-Type":r,"Cache-Control":"no-cache",Connection:"keep-alive"};if(r.includes("text/event-stream")&&(s["X-Accel-Buffering"]="no"),t.writeHead(n,s),a&&a.writeHeader(e.status,Object.fromEntries(e.headers)),!e.body){let u=await e.text().catch(()=>"");a&&(a.writeChunk(u),a.end()),t.end(u);return}let i=e.body.getReader(),o=new TextDecoder;for(;;){let{done:u,value:l}=await i.read();if(u){a&&a.end(),t.end();break}a&&a.writeChunk(l),t.write(o.decode(l,{stream:!0}))}}async function Yf(e,t,a,r){let n=e.headers.get("content-type")||"application/json",s={"Content-Type":n,"Cache-Control":"no-cache",Connection:"keep-alive"};if(n.includes("text/event-stream")&&(s["X-Accel-Buffering"]="no"),t.writeHead(200,s),!e.body){t.end(await e.text().catch(()=>""));return}let i=e.body.getReader(),o=new TextDecoder("utf-8",{fatal:!1}),u="";for(;;){let{done:l,value:c}=await i.read();if(l)break;u+=o.decode(c,{stream:!0});let f=u.split(`
26
26
  `);u=f.pop()||"";for(let g of f){let v=g.trim();if(!v||!v.startsWith("data:"))continue;let y=v.slice(5).trim();if(y!=="[DONE]"){process.env.DEBUG_MITM&&ba(`[SSE in] ${y.slice(0,200)}`);try{let x=JSON.parse(y),S=a(x,r);if(S!=null){let I=Array.isArray(S)?S:[S];for(let B of I){if(process.env.DEBUG_MITM){let b=B.length||B.byteLength||0;ba(`[write binary frame] (${b}B) first 20B: ${Array.from(B.slice(0,20)).join(",")}`)}t.write(Buffer.from(B))}}}catch{}}}}try{let l=a(null,r);if(l!=null){let c=Array.isArray(l)?l:[l];for(let f of c)t.write(f)}}catch{}t.end()}async function jf(e,t,a,r){let n={"Content-Type":"application/vnd.amazon.eventstream","Cache-Control":"no-cache",Connection:"keep-alive"};if(t.writeHead(200,n),!e.body){t.end(await e.text().catch(()=>""));return}let s=e.body.getReader(),i=new TextDecoder("utf-8",{fatal:!1}),o="";for(;;){let{done:u,value:l}=await s.read();if(u)break;o+=i.decode(l,{stream:!0});let c=o.split(`
27
27
  `);o=c.pop()||"";for(let f of c){let g=f.trim();if(!g||!g.startsWith("data:"))continue;let v=g.slice(5).trim();if(v!=="[DONE]"){process.env.DEBUG_MITM&&ba(`[SSE in] ${v.slice(0,200)}`);try{let y=JSON.parse(v),x=a(y,r);if(x!=null){let S=Array.isArray(x)?x:[x];for(let I of S){if(process.env.DEBUG_MITM){let B=I.length||I.byteLength||0;ba(`[write binary frame] (${B}B) first 20B: ${Array.from(I.slice(0,20)).join(",")}`)}t.write(Buffer.from(I))}}}catch{}}}}try{let u=a(null,r);if(u!=null){let l=Array.isArray(u)?u:[u];for(let c of l)t.write(c)}}catch{}t.end()}Oo.exports={fetchRouter:Qf,pipeSSE:$f,pipeTransformedSSE:Yf,pipeTransformedEventStream:jf}});var Fo=F((yp,Vo)=>{var{err:Wf,createResponseDumper:Xf}=zt(),{IS_DEV:Jf}=Sr(),{fetchRouter:Zf,pipeSSE:ed}=_a();async function td(e,t,a,r){let n=Jf?Xf(e,"intercept-antigravity"):null,s=e.url.includes(":streamGenerateContent");try{let i=JSON.parse(a.toString());i.model&&(i.model=r);let o=await Zf(i,"/v1/chat/completions",e.headers);await ed(o,t,n)}catch(i){Wf(`[antigravity] ${i.message}`),n&&(n.writeChunk(`
28
28
  [ERROR] ${i.message}
@@ -9,6 +9,8 @@ import { getCredentialExpiryMs } from "open-sse/services/oauthCredentialManager.
9
9
  export const BACKGROUND_REFRESH_LEAD_MS = 30 * 60 * 1000;
10
10
  const DEFAULT_INTERVAL_MS = 5 * 60 * 1000;
11
11
  const INITIAL_DELAY_MS = 10 * 1000;
12
+ // Google Cloud flags bursty token endpoint traffic as anti-abuse; stagger refreshes.
13
+ const SENSITIVE_PROVIDERS = new Set(["antigravity", "gemini-cli"]);
12
14
 
13
15
  let started = false;
14
16
  let intervalHandle = null;
@@ -87,47 +89,48 @@ async function refreshOne(connection) {
87
89
  * @param {{ loadConnections?: Function, refreshConnection?: Function }} [deps]
88
90
  */
89
91
  export async function runBackgroundTokenRefreshTick(deps = {}) {
90
- if (tickRunning) {
91
- log.debug("BG_TOKEN_REFRESH", "Tick already running, skip");
92
- return;
93
- }
92
+ if (tickRunning) return;
94
93
  tickRunning = true;
95
94
  try {
96
95
  const load = deps.loadConnections || loadActiveConnections;
97
96
  const refresh = deps.refreshConnection || refreshOne;
97
+ const sleep = deps.sleep || ((ms) => new Promise((res) => setTimeout(res, ms)));
98
98
 
99
99
  const connections = await load();
100
100
  const due = selectConnectionsNeedingRefresh(connections, Date.now());
101
101
 
102
- if (due.length === 0) {
103
- log.debug("BG_TOKEN_REFRESH", "No connections due for refresh", {
104
- active: Array.isArray(connections) ? connections.length : 0,
105
- });
106
- return;
102
+ if (due.length === 0) return;
103
+
104
+ const baseSensitiveDelay = Number(process.env.BG_REFRESH_GOOGLE_DELAY_MS) || 12_000;
105
+ const baseNormalDelay = Number(process.env.BG_REFRESH_DELAY_MS) || 1_500;
106
+
107
+ for (let i = 0; i < due.length; i++) {
108
+ const conn = due[i];
109
+ try {
110
+ await refresh(conn);
111
+ log.info("BG_TOKEN_REFRESH", "Connection refresh finished", {
112
+ id: conn.id,
113
+ email: conn.email || conn.name || conn.id,
114
+ provider: conn.provider,
115
+ });
116
+ } catch (err) {
117
+ log.warn("BG_TOKEN_REFRESH", "Connection refresh failed (swallowed)", {
118
+ id: conn?.id,
119
+ email: conn?.email || conn?.name || conn?.id,
120
+ provider: conn?.provider,
121
+ error: err?.message ?? String(err),
122
+ });
123
+ }
124
+
125
+ // Sequential delay between accounts to prevent bursting upstream
126
+ // providers (especially Google Cloud) with simultaneous token refreshes.
127
+ if (i < due.length - 1) {
128
+ const isSensitive = SENSITIVE_PROVIDERS.has(conn.provider);
129
+ const baseDelay = isSensitive ? baseSensitiveDelay : baseNormalDelay;
130
+ const jitter = isSensitive ? Math.floor(Math.random() * 4000) : 200;
131
+ await sleep(baseDelay + jitter);
132
+ }
107
133
  }
108
-
109
- log.info("BG_TOKEN_REFRESH", "Refreshing due OAuth connections", {
110
- due: due.length,
111
- ids: due.map((c) => c.id).filter(Boolean),
112
- });
113
-
114
- await Promise.allSettled(
115
- due.map(async (conn) => {
116
- try {
117
- await refresh(conn);
118
- log.info("BG_TOKEN_REFRESH", "Connection refresh finished", {
119
- id: conn.id,
120
- provider: conn.provider,
121
- });
122
- } catch (err) {
123
- log.warn("BG_TOKEN_REFRESH", "Connection refresh failed (swallowed)", {
124
- id: conn?.id,
125
- provider: conn?.provider,
126
- error: err?.message ?? String(err),
127
- });
128
- }
129
- })
130
- );
131
134
  } catch (err) {
132
135
  log.warn("BG_TOKEN_REFRESH", "Tick failed (swallowed)", {
133
136
  error: err?.message ?? String(err),
@@ -0,0 +1,385 @@
1
+ // CodeBuddy CN auto daily check-in (experimental).
2
+ // Checks every active codebuddy-cn connection into the CodeBuddy CN "billing
3
+ // meter" once per day at a random 00:00-06:00 local slot, so free daily
4
+ // quota is renewed without user action. Fail-open everywhere: a tick error or
5
+ // a single connection failure never rejects the whole run or kills the server.
6
+
7
+ import * as log from "../utils/logger.js";
8
+
9
+ const DAILY_CHECKIN_URL = "https://www.codebuddy.cn/v2/billing/meter/daily-checkin";
10
+ const STATUS_URL = "https://www.codebuddy.cn/v2/billing/meter/checkin-activity-status";
11
+
12
+ // Random daily slot window: 00:00 - 06:00 local time (exclusive of 06:00).
13
+ const SLOT_HOUR_MIN = 0;
14
+ const SLOT_HOUR_MAX = 6; // upper bound exclusive for Math.floor(rand*(max-min))
15
+
16
+ let started = false;
17
+ let timerHandle = null;
18
+
19
+ // ─── Pure helpers (unit-testable, no I/O) ──────────────────────────────────
20
+
21
+ function decodeJwt(jwt) {
22
+ try {
23
+ const seg = String(jwt).split(".")[1];
24
+ const b64 = seg.replace(/-/g, "+").replace(/_/g, "/");
25
+ const pad = b64 + "=".repeat((4 - (b64.length % 4)) % 4);
26
+ return JSON.parse(Buffer.from(pad, "base64").toString("utf8"));
27
+ } catch {
28
+ return null;
29
+ }
30
+ }
31
+
32
+ function isCodeBuddyCnRealm(iss) {
33
+ return (
34
+ typeof iss === "string" &&
35
+ (iss.includes("codebuddy.cn") || iss.includes("copilot.tencent.com"))
36
+ );
37
+ }
38
+
39
+ /**
40
+ * Eligibility: an active codebuddy-cn OAuth connection whose access token is
41
+ * signed by a CodeBuddy CN Keycloak realm (has an access token at all).
42
+ * @param {object} conn
43
+ * @returns {boolean}
44
+ */
45
+ export function isEligibleCbcnConnection(conn) {
46
+ if (!conn || !conn.accessToken) return false;
47
+ if (conn.provider !== "codebuddy-cn") return false;
48
+ if (conn.isActive === false) return false;
49
+ const claims = decodeJwt(conn.accessToken) || {};
50
+ return isCodeBuddyCnRealm(claims.iss || "");
51
+ }
52
+
53
+ function isIdempotentAlready(msg) {
54
+ if (typeof msg !== "string") return false;
55
+ // CN "今天已签到" / generic "repeat/already" markers from the CodeBuddy gateway.
56
+ return /已签到|签到过|重复签到|already|repeat/i.test(msg);
57
+ }
58
+
59
+ /**
60
+ * Map a daily-checkin HTTP result to a stable status string.
61
+ * @param {{ httpStatus: number, code?: number|string, msg?: string }} res
62
+ * @returns {"checked-in"|"already"|"failed"}
63
+ */
64
+ export function mapDailyCheckinStatus({ httpStatus, code, msg } = {}) {
65
+ if (httpStatus >= 200 && httpStatus < 300) return "checked-in";
66
+ // HTTP 400 + known idempotent codes/messages ⇒ already signed in today.
67
+ if (httpStatus === 400) {
68
+ if (code === 10001 || code === "10001" || isIdempotentAlready(msg)) return "already";
69
+ }
70
+ return "failed";
71
+ }
72
+
73
+ /**
74
+ * Random delay (ms) until the next 00:00-06:00 local daily slot, strictly in
75
+ * the future within roughly (0, ~30h]. `rand` is injectable for tests.
76
+ * @param {number} [nowMs]
77
+ * @param {() => number} [rand] 0..1 uniform
78
+ * @returns {number}
79
+ */
80
+ export function msUntilNextSlot(nowMs = Date.now(), rand = Math.random) {
81
+ const now = new Date(nowMs);
82
+ const hour = SLOT_HOUR_MIN + Math.floor(rand() * (SLOT_HOUR_MAX - SLOT_HOUR_MIN));
83
+ const minute = Math.floor(rand() * 60);
84
+ const target = new Date(now);
85
+ target.setHours(hour, minute, 0, 0);
86
+ let diff = target.getTime() - now.getTime();
87
+ if (diff <= 0) {
88
+ // Past today → next day (also keeps the timer far enough from the loop edge).
89
+ target.setDate(target.getDate() + 1);
90
+ diff = target.getTime() - now.getTime();
91
+ }
92
+ // Sanity guard: never schedule a pathological 0ms/loop. In tests callers pass
93
+ // a deterministic rand so this is only a belt-and-braces floor.
94
+ return Math.max(diff, 1000);
95
+ }
96
+
97
+ function isNonServerRuntime() {
98
+ if (typeof window !== "undefined") return true;
99
+ const phase = process.env.NEXT_PHASE || "";
100
+ if (phase === "phase-production-build" || phase === "phase-export" || phase === "phase-static") {
101
+ return true;
102
+ }
103
+ if (process.env.NEXT_RUNTIME === "edge") return true;
104
+ return false;
105
+ }
106
+
107
+ // ─── Dynamic I/O (lazy imports to avoid circular/coupling at eval time) ────
108
+
109
+ async function loadActiveConnections() {
110
+ const { getProviderConnections } = await import("../../lib/db/repos/connectionsRepo.js");
111
+ return getProviderConnections({ provider: "codebuddy-cn" });
112
+ }
113
+
114
+ async function isEnabledSetting() {
115
+ const { getSettings } = await import("../../lib/localDb.js");
116
+ const settings = await getSettings();
117
+ return settings.codeBuddyCheckin === true;
118
+ }
119
+
120
+ // Reuse the existing proactive refresh pipeline (refreshes + persists the new
121
+ // access token) exactly like backgroundTokenRefresh on a 401.
122
+ async function refreshOne(connection) {
123
+ const { checkAndRefreshToken } = await import("./tokenRefresh.js");
124
+ const creds = await checkAndRefreshToken("codebuddy-cn", connection, { force: true });
125
+ return creds?.accessToken ? creds : null;
126
+ }
127
+
128
+ function proxyOptionsOf(conn) {
129
+ return conn?.proxyOptions || {
130
+ enabled: conn?.connectionProxyEnabled,
131
+ url: conn?.connectionProxyUrl,
132
+ noProxy: conn?.connectionNoProxy,
133
+ };
134
+ }
135
+
136
+ function cnHeaders(accessToken, uid) {
137
+ return {
138
+ Authorization: `Bearer ${accessToken}`,
139
+ "X-User-Id": String(uid),
140
+ "Content-Type": "application/json",
141
+ Accept: "application/json",
142
+ };
143
+ }
144
+
145
+ // One account check-in POST (no 401 retry here — caller decides) → raw result.
146
+ async function postDailyCheckin(accessToken, uid, proxyOptions) {
147
+ const { proxyAwareFetch } = await import("open-sse/utils/proxyFetch.js");
148
+ const res = await proxyAwareFetch(
149
+ DAILY_CHECKIN_URL,
150
+ { method: "POST", headers: cnHeaders(accessToken, uid), body: "{}" },
151
+ proxyOptions
152
+ );
153
+ const text = await res.text();
154
+ let body = null;
155
+ try {
156
+ body = text ? JSON.parse(text) : null;
157
+ } catch {
158
+ body = null;
159
+ }
160
+ return {
161
+ httpStatus: res.status,
162
+ code: body?.code ?? body?.error_code,
163
+ msg: body?.msg ?? body?.message,
164
+ rawBody: body,
165
+ };
166
+ }
167
+
168
+ async function postStatus(accessToken, uid, proxyOptions) {
169
+ const { proxyAwareFetch } = await import("open-sse/utils/proxyFetch.js");
170
+ const res = await proxyAwareFetch(
171
+ STATUS_URL,
172
+ { method: "POST", headers: cnHeaders(accessToken, uid), body: "{}" },
173
+ proxyOptions
174
+ );
175
+ const text = await res.text();
176
+ let body = null;
177
+ try {
178
+ body = text ? JSON.parse(text) : null;
179
+ } catch {
180
+ body = null;
181
+ }
182
+ return { httpStatus: res.status, body };
183
+ }
184
+
185
+ // Is the account already signed in today? Used by the boot safety pass so we
186
+ // don't re-check-in accounts that already renewed.
187
+ function isCheckedInToday(status) {
188
+ const data = status?.body?.data || {};
189
+ return status.httpStatus === 200 && (data.today_checked_in === true || data.checked_in === true);
190
+ }
191
+
192
+ /**
193
+ * Check in one connection (with a single 401 → refresh → retry). Fail-open.
194
+ * @param {object} conn
195
+ * @param {{ refreshConnection?: Function }} deps
196
+ * @returns {Promise<{status: string, error?: string}>}
197
+ */
198
+ async function checkinOne(conn, deps) {
199
+ const refresh = deps?.refreshConnection || refreshOne;
200
+ let accessToken = conn.accessToken;
201
+ const claims = decodeJwt(accessToken) || {};
202
+ const uid = claims.sub || conn.id;
203
+ const proxyOptions = proxyOptionsOf(conn);
204
+
205
+ for (let attempt = 0; attempt < 2; attempt++) {
206
+ try {
207
+ const result = await postDailyCheckin(accessToken, uid, proxyOptions);
208
+ const status = mapDailyCheckinStatus(result);
209
+ if (status !== "failed") return { status };
210
+ // 401 (invalid/expired token) → refresh once and retry.
211
+ if (result.httpStatus === 401 && attempt === 0) {
212
+ log.info("CB_CN_CHECKIN", "401 on daily-check-in, refreshing token once", {
213
+ id: conn.id,
214
+ });
215
+ const refreshed = await refresh(conn);
216
+ if (refreshed?.accessToken) accessToken = refreshed.accessToken;
217
+ else return { status: "failed", error: "refresh_failed" };
218
+ continue;
219
+ }
220
+ return { status, error: result.msg || `http_${result.httpStatus}` };
221
+ } catch (err) {
222
+ return { status: "failed", error: err?.message || String(err) };
223
+ }
224
+ }
225
+ return { status: "failed", error: "unexpected" };
226
+ }
227
+
228
+ // Prefer status-check to skip already-checked-in accounts (boot safety pass).
229
+ async function checkinIfNotDone(conn, deps) {
230
+ const proxyOptions = proxyOptionsOf(conn);
231
+ const claims = decodeJwt(conn.accessToken) || {};
232
+ const uid = claims.sub || conn.id;
233
+ try {
234
+ const status = await postStatus(conn.accessToken, uid, proxyOptions);
235
+ if (isCheckedInToday(status)) return { status: "already" };
236
+ } catch {
237
+ // Status check is best-effort — fall through to a plain check-in.
238
+ }
239
+ return checkinOne(conn, deps);
240
+ }
241
+
242
+ /**
243
+ * One tick: list active codebuddy-cn connections and check each in. Fail-open
244
+ * (never rejects on a single account error). `skipIfCheckedToday` uses the
245
+ * status endpoint first (boot safety) to avoid duplicate renewals.
246
+ *
247
+ * @param {{ loadConnections?: Function, refreshConnection?: Function,
248
+ * checkinConnection?: Function, skipIfCheckedToday?: boolean }} [deps]
249
+ * @returns {Promise<Array<{id: string, name: string, status: string, error?: string}>>}
250
+ */
251
+ export async function runCodebuddyCheckinTick(deps = {}) {
252
+ const results = [];
253
+ const load = deps.loadConnections || loadActiveConnections;
254
+ let connections = [];
255
+ try {
256
+ connections = await load();
257
+ } catch (err) {
258
+ log.warn("CB_CN_CHECKIN", "Tick: failed to load codebuddy-cn connections (swallowed)", {
259
+ error: err?.message ?? String(err),
260
+ });
261
+ return results;
262
+ }
263
+
264
+ const eligible = (Array.isArray(connections) ? connections : []).filter(isEligibleCbcnConnection);
265
+ if (eligible.length === 0) {
266
+ log.debug("CB_CN_CHECKIN", "Tick: no eligible codebuddy-cn connections", {
267
+ total: Array.isArray(connections) ? connections.length : 0,
268
+ });
269
+ return results;
270
+ }
271
+
272
+ log.info("CB_CN_CHECKIN", "Daily check-in pass started", {
273
+ eligible: eligible.length,
274
+ ids: eligible.map((c) => c.id).filter(Boolean),
275
+ });
276
+
277
+ for (const conn of eligible) {
278
+ try {
279
+ const checkin = deps.checkinConnection || (deps.skipIfCheckedToday ? checkinIfNotDone : checkinOne);
280
+ const outcome = await checkin(conn, deps);
281
+ results.push({
282
+ id: conn.id,
283
+ name: conn.name || conn.id,
284
+ status: outcome.status,
285
+ ...(outcome.error ? { error: outcome.error } : {}),
286
+ });
287
+ const statusLabel =
288
+ outcome.status === "checked-in"
289
+ ? "签到成功"
290
+ : outcome.status === "already"
291
+ ? "今日已签到"
292
+ : `失败${outcome.error ? `(${outcome.error})` : ""}`;
293
+ log.info("CB_CN_CHECKIN", `${conn.name || conn.id}: ${statusLabel}`, {
294
+ id: conn.id,
295
+ });
296
+ } catch (err) {
297
+ results.push({ id: conn.id, name: conn.name || conn.id, status: "failed" });
298
+ log.warn("CB_CN_CHECKIN", "Connection check-in failed (swallowed)", {
299
+ id: conn?.id,
300
+ error: err?.message ?? String(err),
301
+ });
302
+ }
303
+ }
304
+ return results;
305
+ }
306
+
307
+ // ─── Scheduler ─────────────────────────────────────────────────────────────
308
+
309
+ // Run one guarded check-in pass, reading the enable flag each fire so turning
310
+ // the toggle off stops further work without a restart (fail-open, never throws).
311
+ async function safeTick(how) {
312
+ try {
313
+ const on = await isEnabledSetting();
314
+ if (!on) {
315
+ log.debug("CB_CN_CHECKIN", `Scheduled ${how}: setting off, skipping`);
316
+ return;
317
+ }
318
+ await runCodebuddyCheckinTick({ skipIfCheckedToday: how === "boot" });
319
+ } catch (err) {
320
+ log.warn("CB_CN_CHECKIN", `Scheduled ${how} rejected (swallowed)`, {
321
+ error: err?.message ?? String(err),
322
+ });
323
+ }
324
+ }
325
+
326
+ function scheduleNext() {
327
+ if (!started) return;
328
+ const delayMs = msUntilNextSlot();
329
+ clearTimer();
330
+ timerHandle = setTimeout(() => {
331
+ safeTick("daily").finally(() => scheduleNext());
332
+ }, delayMs);
333
+ if (timerHandle.unref) timerHandle.unref();
334
+ log.info("CB_CN_CHECKIN", "Next daily check-in slot scheduled", {
335
+ delayMs: Math.round(delayMs / 1000),
336
+ });
337
+ }
338
+
339
+ function clearTimer() {
340
+ if (timerHandle) {
341
+ clearTimeout(timerHandle);
342
+ timerHandle = null;
343
+ }
344
+ }
345
+
346
+ /**
347
+ * Start the daily check-in scheduler. Runs an immediate boot safety pass
348
+ * (status-check + check-in of not-yet-checked-in accounts) then schedules the
349
+ * next random 00:00-06:00 local slot. Safe to call repeatedly (idempotent).
350
+ * @param {{ nowMs?: number, rand?: Function, skipBoot?: boolean }} [opts]
351
+ * @returns {boolean} true if started this call
352
+ */
353
+ export function startCodebuddyCheckin(opts = {}) {
354
+ if (started) return false;
355
+ if (isNonServerRuntime()) {
356
+ log.debug("CB_CN_CHECKIN", "Skip start outside long-running server runtime");
357
+ return false;
358
+ }
359
+ started = true;
360
+
361
+ // Boot safety pass (only acts when the setting is on & accounts not yet in).
362
+ if (opts.skipBoot !== true) {
363
+ safeTick("boot");
364
+ }
365
+ scheduleNext();
366
+
367
+ log.info("CB_CN_CHECKIN", "Scheduler started");
368
+ return true;
369
+ }
370
+
371
+ export function stopCodebuddyCheckin() {
372
+ clearTimer();
373
+ if (started) {
374
+ started = false;
375
+ log.info("CB_CN_CHECKIN", "Scheduler stopped");
376
+ }
377
+ }
378
+
379
+ export const __internals = {
380
+ decodeJwt,
381
+ isCodeBuddyCnRealm,
382
+ isIdempotentAlready,
383
+ DAILY_CHECKIN_URL,
384
+ STATUS_URL,
385
+ };