@synthever/jrouter 1.0.0 → 1.0.3

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 (688) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +19 -19
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +4 -4
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  89. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  90. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  93. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  94. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  95. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  96. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +9 -9
  119. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  145. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +5 -5
  152. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
  161. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/keys/[id]/secret/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/secret/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  196. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/model-health/check/route.js +2 -2
  210. package/app/.next-cli-build/server/app/api/model-health/check/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/model-health/check-all/route.js +2 -2
  212. package/app/.next-cli-build/server/app/api/model-health/check-all/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/model-health/config/route.js +2 -2
  214. package/app/.next-cli-build/server/app/api/model-health/config/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/model-health/history/route.js +2 -2
  216. package/app/.next-cli-build/server/app/api/model-health/history/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/model-health/model/route.js +2 -2
  218. package/app/.next-cli-build/server/app/api/model-health/model/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/model-health/models/route.js +2 -2
  220. package/app/.next-cli-build/server/app/api/model-health/models/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/model-health/route.js +2 -2
  222. package/app/.next-cli-build/server/app/api/model-health/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/model-health/run-scheduled/route.js +2 -2
  224. package/app/.next-cli-build/server/app/api/model-health/run-scheduled/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/model-health/summary/route.js +2 -2
  226. package/app/.next-cli-build/server/app/api/model-health/summary/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/models/limits/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/models/limits/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/connections/keys/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/connections/keys/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +4 -4
  318. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  332. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  336. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  352. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  450. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  452. package/app/.next-cli-build/server/app/callback.html +1 -1
  453. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  454. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  455. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  456. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
  457. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  458. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  459. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
  460. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  461. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  464. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
  465. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  466. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  467. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  468. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  469. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
  470. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  471. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  472. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  474. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +7 -7
  475. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  476. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  477. package/app/.next-cli-build/server/app/dashboard/health.html +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/health.rsc +7 -7
  479. package/app/.next-cli-build/server/app/dashboard/health.segments/!KGRhc2hib2FyZCk/dashboard/health/__PAGE__.segment.rsc +6 -6
  480. package/app/.next-cli-build/server/app/dashboard/health.segments/_full.segment.rsc +7 -7
  481. package/app/.next-cli-build/server/app/dashboard/health.segments/_tree.segment.rsc +2 -2
  482. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  483. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  484. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +7 -7
  485. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  486. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  487. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  489. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +7 -7
  490. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  491. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  492. package/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/playground.rsc +8 -8
  494. package/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +7 -7
  495. package/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +8 -8
  496. package/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
  497. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  499. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
  500. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  501. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  502. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  504. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
  505. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  506. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  507. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  508. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  509. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
  510. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  511. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  512. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  514. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
  515. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  516. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  517. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +8 -8
  519. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
  520. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
  521. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  522. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  523. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  524. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +8 -8
  525. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  526. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  527. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  532. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  533. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  535. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  537. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +7 -7
  538. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  539. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +8 -8
  542. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  543. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
  544. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  545. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  546. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  547. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
  548. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  549. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  552. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
  553. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  554. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  555. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  556. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  557. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
  558. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  559. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/index.html +1 -1
  561. package/app/.next-cli-build/server/app/index.rsc +6 -6
  562. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  563. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  564. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  566. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  567. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  568. package/app/.next-cli-build/server/app/landing.html +1 -1
  569. package/app/.next-cli-build/server/app/landing.rsc +7 -7
  570. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +7 -7
  571. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  572. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  573. package/app/.next-cli-build/server/app/login/page.js +1 -1
  574. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  575. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  576. package/app/.next-cli-build/server/app/login.html +1 -1
  577. package/app/.next-cli-build/server/app/login.rsc +7 -7
  578. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  579. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  580. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
  581. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +1 -1
  582. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  583. package/app/.next-cli-build/server/app/manifest.webmanifest.body +1 -1
  584. package/app/.next-cli-build/server/app/page.js +1 -1
  585. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  586. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  587. package/app/.next-cli-build/server/app-paths-manifest.json +19 -19
  588. package/app/.next-cli-build/server/chunks/1133.js +1 -1
  589. package/app/.next-cli-build/server/chunks/1757.js +2 -2
  590. package/app/.next-cli-build/server/chunks/2132.js +1 -1
  591. package/app/.next-cli-build/server/chunks/2318.js +1 -1
  592. package/app/.next-cli-build/server/chunks/2631.js +1 -1
  593. package/app/.next-cli-build/server/chunks/2732.js +1 -1
  594. package/app/.next-cli-build/server/chunks/2760.js +3 -3
  595. package/app/.next-cli-build/server/chunks/3192.js +4 -4
  596. package/app/.next-cli-build/server/chunks/3360.js +1 -1
  597. package/app/.next-cli-build/server/chunks/3449.js +1 -1
  598. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  599. package/app/.next-cli-build/server/chunks/3966.js +6 -6
  600. package/app/.next-cli-build/server/chunks/412.js +1 -1
  601. package/app/.next-cli-build/server/chunks/4123.js +3 -3
  602. package/app/.next-cli-build/server/chunks/4152.js +1 -1
  603. package/app/.next-cli-build/server/chunks/4190.js +1 -1
  604. package/app/.next-cli-build/server/chunks/436.js +1 -1
  605. package/app/.next-cli-build/server/chunks/4406.js +1 -0
  606. package/app/.next-cli-build/server/chunks/455.js +1 -1
  607. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  608. package/app/.next-cli-build/server/chunks/4764.js +1 -1
  609. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  610. package/app/.next-cli-build/server/chunks/4864.js +6 -6
  611. package/app/.next-cli-build/server/chunks/5299.js +25 -25
  612. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  613. package/app/.next-cli-build/server/chunks/5615.js +2 -2
  614. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  615. package/app/.next-cli-build/server/chunks/615.js +1 -1
  616. package/app/.next-cli-build/server/chunks/6296.js +10 -10
  617. package/app/.next-cli-build/server/chunks/6708.js +1 -1
  618. package/app/.next-cli-build/server/chunks/7066.js +1 -1
  619. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  620. package/app/.next-cli-build/server/chunks/735.js +1 -1
  621. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  622. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  623. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  624. package/app/.next-cli-build/server/chunks/8126.js +1 -1
  625. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  626. package/app/.next-cli-build/server/chunks/8432.js +1 -1
  627. package/app/.next-cli-build/server/chunks/{2524.js → 8451.js} +1 -1
  628. package/app/.next-cli-build/server/chunks/8749.js +1 -1
  629. package/app/.next-cli-build/server/chunks/9032.js +1 -1
  630. package/app/.next-cli-build/server/chunks/9046.js +1 -1
  631. package/app/.next-cli-build/server/chunks/9128.js +1 -1
  632. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  633. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  634. package/app/.next-cli-build/server/chunks/9906.js +1 -0
  635. package/app/.next-cli-build/server/instrumentation.js +1 -1
  636. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  637. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  638. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  639. package/app/.next-cli-build/server/middleware.js +5 -5
  640. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  641. package/app/.next-cli-build/server/pages/404.html +1 -1
  642. package/app/.next-cli-build/server/pages/500.html +1 -1
  643. package/app/.next-cli-build/static/chunks/{124.2812449f50e38c6c.js → 124.129f13ee23ff9b23.js} +1 -1
  644. package/app/.next-cli-build/static/chunks/1321-f3534bbafebb96c9.js +1 -0
  645. package/app/.next-cli-build/static/chunks/{2435.7dca2c9630249a05.js → 2435.683f65cfb8f79701.js} +2 -2
  646. package/app/.next-cli-build/static/chunks/{5462.75bfd156f9bc4e3b.js → 5462.79bf24eb0584ddda.js} +2 -2
  647. package/app/.next-cli-build/static/chunks/{5497-66e7c2a2b715a638.js → 5497-973a06c94a94aff7.js} +1 -1
  648. package/app/.next-cli-build/static/chunks/6808-10f960f3fc924a76.js +1 -0
  649. package/app/.next-cli-build/static/chunks/761-1bcb7334763d5645.js +132 -0
  650. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-9f4426c30039c7d5.js → page-3960bffd1fddbbad.js} +1 -1
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-0c7b45a45ba51753.js → page-61b17862582ff807.js} +1 -1
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0616e02f3ff06acd.js → page-0c2a1f2542917271.js} +12 -12
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-de6dfc43c2687bd8.js → page-1a560f2b5cdf2e31.js} +1 -1
  654. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-eb6a5a055eded9f8.js +27 -0
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-4c6b176d5c59d8a4.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-e631d28dd402dc1e.js → page-d0031965cf7eff51.js} +1 -1
  657. package/app/.next-cli-build/static/chunks/app/landing/{page-431f7e8093b8ca51.js → page-5bc39b166588b878.js} +1 -1
  658. package/app/.next-cli-build/static/chunks/app/login/{page-80c4e229a5f38a6b.js → page-f2b166590b653d36.js} +1 -1
  659. package/app/.next-cli-build/static/chunks/webpack-6a79f0ded38135ba.js +1 -0
  660. package/app/.next-cli-build/static/css/{f0e9ffc68c4f886a.css → 3b896d96bcd3ef7a.css} +1 -1
  661. package/app/custom-server.js +2 -2
  662. package/app/package.json +1 -1
  663. package/app/public/providers/beatapi.png +0 -0
  664. package/app/src/lib/oauth/providers/xiaomi-mimo.js +2 -2
  665. package/app/src/lib/updater/updater.js +3 -3
  666. package/app/src/mitm/server.js +10 -10
  667. package/cli.js +6 -6
  668. package/hooks/postinstall.js +2 -2
  669. package/hooks/sqliteRuntime.js +2 -2
  670. package/hooks/trayRuntime.js +3 -3
  671. package/package.json +7 -3
  672. package/src/cli/api/client.js +3 -3
  673. package/src/cli/commands/connect.js +3 -3
  674. package/src/cli/commands/connectTools.js +12 -12
  675. package/src/cli/commands/xaiVideo.js +1 -1
  676. package/src/cli/menus/cliTools.js +18 -18
  677. package/src/cli/menus/settings.js +1 -1
  678. package/src/cli/tray/autostart.js +1 -1
  679. package/app/.next-cli-build/server/chunks/238.js +0 -1
  680. package/app/.next-cli-build/server/chunks/4642.js +0 -1
  681. package/app/.next-cli-build/static/chunks/1321-b2785838003873e1.js +0 -1
  682. package/app/.next-cli-build/static/chunks/6808-ed8012b059559430.js +0 -1
  683. package/app/.next-cli-build/static/chunks/761-57ed45cdddcf32eb.js +0 -132
  684. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d2787f11613d3447.js +0 -27
  685. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-316b3186a841d862.js +0 -1
  686. package/app/.next-cli-build/static/chunks/webpack-e582fe7763255be4.js +0 -1
  687. /package/app/.next-cli-build/static/{fjLlI_-eBYMOp6J-a-q-6 → rJzsAZX3-_OjA05HFqaR_}/_buildManifest.js +0 -0
  688. /package/app/.next-cli-build/static/{fjLlI_-eBYMOp6J-a-q-6 → rJzsAZX3-_OjA05HFqaR_}/_ssgManifest.js +0 -0
package/cli.js CHANGED
@@ -126,7 +126,7 @@ function getDisplayHost() {
126
126
  const MAX_PORT_ATTEMPTS = 10;
127
127
  // Identifiers for killAllAppProcesses - only kill 9router specifically
128
128
  const PROCESS_IDENTIFIERS = [
129
- '9router', 'jrouter', '@synthever/jrouter' // package names - avoid killing other apps
129
+ 'jrouter', '@synthever/jrouter', '9router' // package names (9router kept for legacy installs)
130
130
  ];
131
131
 
132
132
  // Parse arguments
@@ -206,8 +206,8 @@ function compareVersions(a, b) {
206
206
  // Get app data dir (matches app/src/lib/dataDir.js convention)
207
207
  function getAppDataDir() {
208
208
  return process.platform === "win32"
209
- ? path.join(process.env.APPDATA || "", "9router")
210
- : path.join(os.homedir(), ".9router");
209
+ ? path.join(process.env.APPDATA || "", "jrouter")
210
+ : path.join(os.homedir(), ".jrouter");
211
211
  }
212
212
 
213
213
  // Kill PID from file (best-effort, removes file after)
@@ -792,7 +792,7 @@ function startServer(updatePromise) {
792
792
  process.on("SIGHUP", () => {});
793
793
 
794
794
  console.log(`\n⏳ Switching to tray mode... (icon already visible in menu bar)`);
795
- console.log(`🔔 9Router is running in tray (PID: ${process.pid})`);
795
+ console.log(`🔔 JRouter is running in tray (PID: ${process.pid})`);
796
796
  console.log(` Server: http://${displayHost}:${port}`);
797
797
  console.log(`\n💡 You can close this terminal. Right-click tray icon to quit.\n`);
798
798
 
@@ -811,7 +811,7 @@ function startServer(updatePromise) {
811
811
  });
812
812
  bgProcess.unref();
813
813
 
814
- console.log(`🔔 9Router is now running in background (PID: ${bgProcess.pid})`);
814
+ console.log(`🔔 JRouter is now running in background (PID: ${bgProcess.pid})`);
815
815
  console.log(` Server: http://${displayHost}:${port}`);
816
816
  console.log(`\n💡 You can close this terminal. Right-click tray icon to quit.\n`);
817
817
 
@@ -856,7 +856,7 @@ function startServer(updatePromise) {
856
856
  if (restartCount >= MAX_RESTARTS) {
857
857
  console.error(`\n⚠️ Server crashed ${MAX_RESTARTS} times. Disabling MIT and restarting...`);
858
858
  try {
859
- const dbPath = path.join(os.homedir(), process.platform === "win32" ? path.join("AppData", "Roaming", "9router", "db.json") : path.join(".9router", "db.json"));
859
+ const dbPath = path.join(os.homedir(), process.platform === "win32" ? path.join("AppData", "Roaming", "jrouter", "db.json") : path.join(".jrouter", "db.json"));
860
860
  if (fs.existsSync(dbPath)) {
861
861
  const db = JSON.parse(fs.readFileSync(dbPath, "utf-8"));
862
862
  if (db.settings) db.settings.mitmEnabled = false;
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // Postinstall: warm-up SQLite deps into ~/.9router/runtime so the first
3
+ // Postinstall: warm-up SQLite deps into ~/.jrouter/runtime so the first
4
4
  // `9router` start doesn't need network. Failure here is non-fatal —
5
5
  // cli.js will retry at runtime if anything is missing.
6
- // `npx 9router …` (npm_command=exec) is typically a one-shot `connect` — skip
6
+ // `npx @synthever/jrouter …` (npm_command=exec) is typically a one-shot `connect` — skip
7
7
  // the runtime warm-up; cli.js self-heals it if the server is started later.
8
8
  if (process.env.npm_command === "exec") process.exit(0);
9
9
 
@@ -19,7 +19,7 @@ function getDataDir() {
19
19
  if (process.env.DATA_DIR) return process.env.DATA_DIR;
20
20
  return process.platform === "win32"
21
21
  ? path.join(process.env.APPDATA || os.homedir(), "9router")
22
- : path.join(os.homedir(), ".9router");
22
+ : path.join(os.homedir(), ".jrouter");
23
23
  }
24
24
 
25
25
  function getRuntimeDir() {
@@ -38,7 +38,7 @@ function ensureRuntimeDir() {
38
38
  const pkgPath = path.join(dir, "package.json");
39
39
  if (!fs.existsSync(pkgPath)) {
40
40
  fs.writeFileSync(pkgPath, JSON.stringify({
41
- name: "9router-runtime",
41
+ name: "jrouter-runtime",
42
42
  version: "1.0.0",
43
43
  private: true,
44
44
  description: "User-writable runtime deps for 9router (better-sqlite3 native binary)",
@@ -44,7 +44,7 @@ function hasSystray() {
44
44
  // On Windows it was an AV false-positive risk; on macOS/Linux its bundled
45
45
  // binary is broken on modern OS versions.
46
46
  function cleanupLegacySystray({ silent = false } = {}) {
47
- // 1) Runtime dir: ~/.9router/runtime/node_modules/systray (or %APPDATA% on Win)
47
+ // 1) Runtime dir: ~/.jrouter/runtime/node_modules/systray (or %APPDATA% on Win)
48
48
  // 2) npm global nested: <npm_prefix>/node_modules/9router/node_modules/systray
49
49
  // __dirname here = <pkg root>/hooks → up 1 = pkg root
50
50
  const targets = [
@@ -84,7 +84,7 @@ function ensureRuntimeDir() {
84
84
  const pkgPath = path.join(dir, "package.json");
85
85
  if (!fs.existsSync(pkgPath)) {
86
86
  fs.writeFileSync(pkgPath, JSON.stringify({
87
- name: "9router-runtime",
87
+ name: "jrouter-runtime",
88
88
  version: "1.0.0",
89
89
  private: true
90
90
  }, null, 2));
@@ -144,7 +144,7 @@ function markArm64Attempt() {
144
144
  // Cleared on success so the cooldown only ever throttles *failures*. Without
145
145
  // this, anything that restores systray2's x86_64 binary later — notably a
146
146
  // globally installed 9router older than this change, which shares the same
147
- // ~/.9router/runtime — would leave the user waiting out the cooldown.
147
+ // ~/.jrouter/runtime — would leave the user waiting out the cooldown.
148
148
  function clearArm64Attempt() {
149
149
  try { fs.rmSync(arm64AttemptMarker(), { force: true }); } catch {}
150
150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synthever/jrouter",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "JRouter CLI - Start and manage the JRouter server",
5
5
  "bin": {
6
6
  "jrouter": "./cli.js"
@@ -19,6 +19,10 @@
19
19
  "build:tray-arm64": "node scripts/buildTrayArm64.js",
20
20
  "pack:cli": "npm run build && npm pack --pack-destination ..",
21
21
  "publish:cli": "npm run build && npm publish",
22
+ "release": "node scripts/release-cli.js patch",
23
+ "release:minor": "node scripts/release-cli.js minor",
24
+ "release:major": "node scripts/release-cli.js major",
25
+ "release:dry": "node scripts/release-cli.js patch --dry-run",
22
26
  "postinstall": "node hooks/postinstall.js",
23
27
  "prepublishOnly": "npm run build"
24
28
  },
@@ -30,8 +34,8 @@
30
34
  "react-dom": "19.2.1",
31
35
  "confbox": "^0.2.4"
32
36
  },
33
- "comment_sqlite": "sql.js + better-sqlite3 are NOT bundled here. They are installed into ~/.9router/runtime/node_modules by hooks/postinstall.js (and re-checked at runtime by cli.js). This avoids Windows EBUSY errors when updating the global CLI, since native .node files no longer live under the locked install dir.",
34
- "comment_systray": "systray2 is NOT bundled here. It is lazy-installed into ~/.9router/runtime/node_modules by hooks/postinstall.js on macOS/Linux only. Windows uses PowerShell NotifyIcon (zero binary). This avoids shipping unsigned Go binaries that trigger antivirus false positives (Kaspersky). We use the systray2 fork because the legacy systray@1.0.5 ships a 2017 x86_64 binary that fails to load on modern macOS dyld. Neither package ships an arm64 macOS binary, so on Apple Silicon hooks/trayRuntime.js overlays our own arm64 build from the tray-binaries GitHub release; without it the tray requires Rosetta 2.",
37
+ "comment_sqlite": "sql.js + better-sqlite3 are NOT bundled here. They are installed into ~/.jrouter/runtime/node_modules by hooks/postinstall.js (and re-checked at runtime by cli.js). This avoids Windows EBUSY errors when updating the global CLI, since native .node files no longer live under the locked install dir.",
38
+ "comment_systray": "systray2 is NOT bundled here. It is lazy-installed into ~/.jrouter/runtime/node_modules by hooks/postinstall.js on macOS/Linux only. Windows uses PowerShell NotifyIcon (zero binary). This avoids shipping unsigned Go binaries that trigger antivirus false positives (Kaspersky). We use the systray2 fork because the legacy systray@1.0.5 ships a 2017 x86_64 binary that fails to load on modern macOS dyld. Neither package ships an arm64 macOS binary, so on Apple Silicon hooks/trayRuntime.js overlays our own arm64 build from the tray-binaries GitHub release; without it the tray requires Rosetta 2.",
35
39
  "comment_tray_arm64": "tray_darwin_arm64 is built by scripts/buildTrayArm64.js (npm run build:tray-arm64) from felixhao28/systray-portable — the same source systray2's binary comes from — and uploaded to the pinned 'tray-binaries' GitHub release. Its sha256 is pinned as ARM64_TRAY_SHA256 in hooks/trayRuntime.js and verified after every download; rebuild and update both together. .github/workflows/tray-binaries.yml builds the same artifact in CI but refuses to publish when the sha diverges from the pin.",
36
40
  "engines": {
37
41
  "node": ">=18.0.0"
@@ -13,8 +13,8 @@ const DEFAULT_CONFIG = {
13
13
  protocol: "http:",
14
14
  };
15
15
 
16
- const CLI_TOKEN_HEADER = "x-9r-cli-token";
17
- const CLI_TOKEN_SALT = "9r-cli-auth";
16
+ const CLI_TOKEN_HEADER = "x-jr-cli-token";
17
+ const CLI_TOKEN_SALT = "jr-cli-auth";
18
18
  const APP_NAME = "9router";
19
19
 
20
20
  function getDataDir() {
@@ -365,7 +365,7 @@ async function deleteCombo(id) {
365
365
  * Get CLI tool settings
366
366
  * @param {string} tool - Tool name: claude | codex | droid | openclaw
367
367
  * @param {string} [profile] - Hermes profile name (defaults to the default profile)
368
- * @returns {Promise<Object>} { success, data: { installed, has9Router, ... } }
368
+ * @returns {Promise<Object>} { success, data: { installed, hasJRouter, ... } }
369
369
  */
370
370
  async function getCliToolSettings(tool, profile) {
371
371
  const qs = profile ? `?profile=${encodeURIComponent(profile)}` : "";
@@ -28,7 +28,7 @@ Options:
28
28
  --password <pw> Dashboard password (or env NINE_ROUTER_PASSWORD;
29
29
  prompted if omitted — preferred, keeps it out of shell history)
30
30
  --save After a successful login, save the password for this server
31
- to ~/.9router/connect.env (plain text, mode 600) so later
31
+ to ~/.jrouter/connect.env (plain text, mode 600) so later
32
32
  runs skip the prompt. Delete that file to forget it.
33
33
  --key-name <name> API key name to reuse/create (default: cli-<hostname>)
34
34
  --api-key <key> Use this API key, skip login + key lookup
@@ -97,8 +97,8 @@ function maskKey(key) {
97
97
  function savedEnvPath() {
98
98
  if (process.env.DATA_DIR) return path.join(process.env.DATA_DIR, "connect.env");
99
99
  const base = process.platform === "win32"
100
- ? path.join(process.env.APPDATA || path.join(os.homedir(), "AppData", "Roaming"), "9router")
101
- : path.join(os.homedir(), ".9router");
100
+ ? path.join(process.env.APPDATA || path.join(os.homedir(), "AppData", "Roaming"), "jrouter")
101
+ : path.join(os.homedir(), ".jrouter");
102
102
  return path.join(base, "connect.env");
103
103
  }
104
104
 
@@ -39,10 +39,10 @@ function rewriteFile(file, content) {
39
39
  fs.writeFileSync(file, content, { mode: SECRET_MODE });
40
40
  }
41
41
 
42
- // One-time backup of the user's pre-9router file, then write.
42
+ // One-time backup of the user's pre-jrouter file, then write.
43
43
  function writeFile(file, content) {
44
44
  fs.mkdirSync(path.dirname(file), { recursive: true });
45
- const backup = `${file}.bak-9router`;
45
+ const backup = `${file}.bak-jrouter`;
46
46
  if (fs.existsSync(file) && !fs.existsSync(backup)) {
47
47
  fs.copyFileSync(file, backup);
48
48
  fs.chmodSync(backup, SECRET_MODE);
@@ -114,7 +114,7 @@ const codex = {
114
114
  name: "OpenAI Codex CLI",
115
115
  paths: () => [codexPath()],
116
116
  route: "codex-settings",
117
- // GET returns raw TOML text; only trust `model` when the provider is 9router.
117
+ // GET returns raw TOML text; only trust `model` when the provider is jrouter.
118
118
  async serverModel(data) {
119
119
  if (!isStr(data?.config)) return null;
120
120
  const { parseTOML } = await toml();
@@ -131,7 +131,7 @@ const codex = {
131
131
  cfg.model_providers = cfg.model_providers || {};
132
132
  // Custom providers ignore auth.json — key must travel as a static header.
133
133
  cfg.model_providers["jrouter"] = {
134
- name: "9Router",
134
+ name: "JRouter",
135
135
  base_url: v1(baseUrl),
136
136
  wire_api: "responses",
137
137
  http_headers: { Authorization: `Bearer ${apiKey}` },
@@ -160,7 +160,7 @@ const codex = {
160
160
  ...(isStr(cfg.model) ? { main: cfg.model } : {}),
161
161
  ...(isStr(cfg.agents?.default_subagent_model) ? { subagent: cfg.agents.default_subagent_model } : {}),
162
162
  },
163
- // Codex only routes through 9router when this provider is the active one.
163
+ // Codex only routes through jrouter when this provider is the active one.
164
164
  active: cfg.model_provider === "jrouter",
165
165
  };
166
166
  },
@@ -170,7 +170,7 @@ const codex = {
170
170
  let cfg;
171
171
  try { cfg = parseTOML(fs.readFileSync(file, "utf8")) || {}; } catch (err) { if (err.code === "ENOENT") return []; throw err; }
172
172
  if (cfg.model_provider === "9router" || cfg.model_provider === "jrouter") { delete cfg.model; delete cfg.model_provider; }
173
- if (cfg.model_providers) { delete cfg.model_providers["9router"]; delete cfg.model_providers["jrouter"]; }
173
+ if (cfg.model_providers) { delete cfg.model_providers["jrouter"]; delete cfg.model_providers["jrouter"]; }
174
174
  if (cfg.agents) { delete cfg.agents.default_subagent_model; delete cfg.agents.subagent; }
175
175
  for (const k of ["model_providers", "agents"]) {
176
176
  if (cfg[k] && Object.keys(cfg[k]).length === 0) delete cfg[k];
@@ -238,7 +238,7 @@ const opencode = {
238
238
 
239
239
  // ── Factory Droid ───────────────────────────────────────────────────────────
240
240
  const droidPath = () => path.join(home(), ".factory", "settings.json");
241
- const isDroid9r = (m) => m.id?.startsWith("custom:9Router");
241
+ const isDroidJr = (m) => m.id?.startsWith("custom:JRouter") || m.id?.startsWith("custom:9Router");
242
242
 
243
243
  const droid = {
244
244
  id: "droid",
@@ -246,17 +246,17 @@ const droid = {
246
246
  paths: () => [droidPath()],
247
247
  route: "droid-settings",
248
248
  serverModel(data) {
249
- const m = (data?.settings?.customModels || []).find(isDroid9r)?.model;
249
+ const m = (data?.settings?.customModels || []).find(isDroidJr)?.model;
250
250
  return isStr(m) ? m : null;
251
251
  },
252
252
  async apply({ baseUrl, apiKey, model }) {
253
253
  const file = droidPath();
254
254
  const cfg = readJson(file) || {};
255
- const others = (cfg.customModels || []).filter((m) => !isDroid9r(m));
255
+ const others = (cfg.customModels || []).filter((m) => !isDroidJr(m));
256
256
  cfg.customModels = [
257
257
  {
258
258
  model,
259
- id: "custom:9Router-0",
259
+ id: "custom:JRouter-0",
260
260
  index: 0,
261
261
  baseUrl: v1(baseUrl),
262
262
  apiKey,
@@ -272,7 +272,7 @@ const droid = {
272
272
  return [file];
273
273
  },
274
274
  async show() {
275
- const ours = (readJson(droidPath())?.customModels || []).filter(isDroid9r);
275
+ const ours = (readJson(droidPath())?.customModels || []).filter(isDroidJr);
276
276
  return {
277
277
  baseUrl: ours[0]?.baseUrl,
278
278
  apiKey: ours[0]?.apiKey,
@@ -284,7 +284,7 @@ const droid = {
284
284
  const cfg = readJson(file);
285
285
  if (!cfg) return [];
286
286
  if (cfg.customModels) {
287
- cfg.customModels = cfg.customModels.filter((m) => !isDroid9r(m));
287
+ cfg.customModels = cfg.customModels.filter((m) => !isDroidJr(m));
288
288
  if (cfg.customModels.length === 0) delete cfg.customModels;
289
289
  }
290
290
  rewriteFile(file, JSON.stringify(cfg, null, 2));
@@ -258,7 +258,7 @@ async function run(argv) {
258
258
  }
259
259
 
260
260
  const requestId = create.body.request_id;
261
- const connectionId = create.headers["x-9router-connection-id"] || null;
261
+ const connectionId = create.headers["x-jrouter-connection-id"] || null;
262
262
  console.log(`📋 Job accepted: ${requestId}`);
263
263
 
264
264
  let lastLine = "";
@@ -179,10 +179,10 @@ async function buildCodexHeader() {
179
179
  const result = await api.getCliToolSettings("codex");
180
180
  if (!result.success) return ` ${COLORS.red}Failed to load settings${COLORS.reset}`;
181
181
 
182
- const { installed, has9Router, config } = result.data;
182
+ const { installed, hasJRouter, config } = result.data;
183
183
  if (!installed) return `Status: ${COLORS.red}✗ Codex CLI not installed${COLORS.reset}`;
184
184
 
185
- if (!has9Router) {
185
+ if (!hasJRouter) {
186
186
  return [
187
187
  `Status: ${COLORS.red}✗ Not configured${COLORS.reset}`,
188
188
  `${COLORS.dim}Run "Quick Setup" to configure${COLORS.reset}`
@@ -267,18 +267,18 @@ async function buildDroidHeader() {
267
267
  const result = await api.getCliToolSettings("droid");
268
268
  if (!result.success) return ` ${COLORS.red}Failed to load settings${COLORS.reset}`;
269
269
 
270
- const { installed, has9Router, settings } = result.data;
270
+ const { installed, hasJRouter, settings } = result.data;
271
271
  if (!installed) return `Status: ${COLORS.red}✗ Factory Droid not installed${COLORS.reset}`;
272
272
 
273
- if (!has9Router) {
273
+ if (!hasJRouter) {
274
274
  return [
275
275
  `Status: ${COLORS.red}✗ Not configured${COLORS.reset}`,
276
276
  `${COLORS.dim}Run "Quick Setup" to configure${COLORS.reset}`
277
277
  ].join("\n");
278
278
  }
279
279
 
280
- // Extract 9Router custom model config
281
- const custom = settings?.customModels?.find(m => m.id === "custom:9Router-0");
280
+ // Extract JRouter custom model config
281
+ const custom = settings?.customModels?.find(m => m.id === "custom:JRouter-0");
282
282
  const lines = [`Status: ${COLORS.green}✓ Configured${COLORS.reset}`];
283
283
  if (custom?.baseUrl) lines.push(`Endpoint: ${COLORS.cyan}${custom.baseUrl}${COLORS.reset}`);
284
284
  if (custom?.model) lines.push(`Model: ${COLORS.dim}${custom.model}${COLORS.reset}`);
@@ -350,20 +350,20 @@ async function buildOpenClawHeader() {
350
350
  const result = await api.getCliToolSettings("openclaw");
351
351
  if (!result.success) return ` ${COLORS.red}Failed to load settings${COLORS.reset}`;
352
352
 
353
- const { installed, has9Router, settings } = result.data;
353
+ const { installed, hasJRouter, settings } = result.data;
354
354
  if (!installed) return `Status: ${COLORS.red}✗ Open Claw not installed${COLORS.reset}`;
355
355
 
356
- if (!has9Router) {
356
+ if (!hasJRouter) {
357
357
  return [
358
358
  `Status: ${COLORS.red}✗ Not configured${COLORS.reset}`,
359
359
  `${COLORS.dim}Run "Quick Setup" to configure${COLORS.reset}`
360
360
  ].join("\n");
361
361
  }
362
362
 
363
- // Extract 9Router provider config
363
+ // Extract JRouter provider config
364
364
  const provider = settings?.models?.providers?.["jrouter"];
365
365
  const primary = settings?.agents?.defaults?.model?.primary || "";
366
- const model = primary.startsWith("9router/") ? primary.replace("jrouter/", "") : (provider?.models?.[0]?.id || "");
366
+ const model = primary.startsWith("jrouter/") ? primary.replace("jrouter/", "") : (provider?.models?.[0]?.id || "");
367
367
  const lines = [`Status: ${COLORS.green}✓ Configured${COLORS.reset}`];
368
368
  if (provider?.baseUrl) lines.push(`Endpoint: ${COLORS.cyan}${provider.baseUrl}${COLORS.reset}`);
369
369
  if (model) lines.push(`Model: ${COLORS.dim}${model}${COLORS.reset}`);
@@ -431,10 +431,10 @@ async function buildOpenCodeHeader() {
431
431
  const result = await api.getCliToolSettings("opencode");
432
432
  if (!result.success) return ` ${COLORS.red}Failed to load settings${COLORS.reset}`;
433
433
 
434
- const { installed, has9Router, opencode } = result.data;
434
+ const { installed, hasJRouter, opencode } = result.data;
435
435
  if (!installed) return `Status: ${COLORS.red}✗ OpenCode CLI not installed${COLORS.reset}`;
436
436
 
437
- if (!has9Router) {
437
+ if (!hasJRouter) {
438
438
  return [
439
439
  `Status: ${COLORS.red}✗ Not configured${COLORS.reset}`,
440
440
  `${COLORS.dim}Run "Quick Setup" to configure${COLORS.reset}`
@@ -527,7 +527,7 @@ async function fetchHermesProfiles() {
527
527
 
528
528
  const hermesProfileLine = (p) => {
529
529
  const name = p.displayName && !p.isDefault ? `${p.name} (${p.displayName})` : p.name;
530
- const state = p.has9Router
530
+ const state = p.hasJRouter
531
531
  ? `${COLORS.green}✓ JRouter${COLORS.reset}`
532
532
  : p.baseUrl
533
533
  ? `${COLORS.red}other: ${p.baseUrl}${COLORS.reset}`
@@ -541,12 +541,12 @@ async function buildHermesHeader(profiles) {
541
541
  const result = await api.getCliToolSettings("hermes", hermesActiveProfile);
542
542
  if (!result.success) return ` ${COLORS.red}Failed to load settings${COLORS.reset}`;
543
543
 
544
- const { installed, has9Router, settings, profile } = result.data;
544
+ const { installed, hasJRouter, settings, profile } = result.data;
545
545
  if (!installed) return `Status: ${COLORS.red}✗ Hermes Agent not installed${COLORS.reset}`;
546
546
 
547
547
  const name = profile?.name || hermesActiveProfile;
548
548
  const lines = [];
549
- if (has9Router) {
549
+ if (hasJRouter) {
550
550
  lines.push(`Status: ${COLORS.green}✓ Configured${COLORS.reset} (${name})`);
551
551
  } else {
552
552
  lines.push(`Status: ${COLORS.red}✗ Not configured${COLORS.reset} (${name})`);
@@ -559,7 +559,7 @@ async function buildHermesHeader(profiles) {
559
559
 
560
560
  if (list.length > 1) {
561
561
  const summary = list
562
- .map((p) => `${p.name}${p.has9Router ? `${COLORS.green}✓` : `${COLORS.red}✗`}`)
562
+ .map((p) => `${p.name}${p.hasJRouter ? `${COLORS.green}✓` : `${COLORS.red}✗`}`)
563
563
  .join(`${COLORS.reset} `);
564
564
  lines.push(`Profiles: ${summary}${COLORS.reset}`);
565
565
  }
@@ -607,7 +607,7 @@ async function hermesQuickSetup(port) {
607
607
  }
608
608
 
609
609
  // Endpoint + API key across every profile. Each profile keeps its own model — profiles
610
- // already routed through 9router are refreshed, anything else is reported as skipped.
610
+ // already routed through jrouter are refreshed, anything else is reported as skipped.
611
611
  async function hermesApplyAll(port) {
612
612
  const { endpoint } = await getEndpoint(port);
613
613
  const apiKey = await getFirstApiKey();
@@ -684,7 +684,7 @@ async function showCliToolsMenu(port, breadcrumb = []) {
684
684
  await showMenuWithBack({
685
685
  title: "🔧 CLI Tools",
686
686
  breadcrumb,
687
- headerContent: `Configure CLI tools to use 9Router\nEndpoint: ${endpoint}`,
687
+ headerContent: `Configure CLI tools to use JRouter\nEndpoint: ${endpoint}`,
688
688
  items: [
689
689
  {
690
690
  label: "Claude Code",
@@ -99,7 +99,7 @@ async function showSettingsMenu(breadcrumb = []) {
99
99
 
100
100
  /**
101
101
  * Reset authMode to "password" via API. Used when OIDC is misconfigured
102
- * and user is locked out of dashboard. CLI bypasses auth via x-9r-cli-token.
102
+ * and user is locked out of dashboard. CLI bypasses auth via x-jr-cli-token.
103
103
  */
104
104
  async function resetAuthMode() {
105
105
  const ok = await confirm("Reset auth mode to PASSWORD (disable OIDC)?");
@@ -4,7 +4,7 @@ const os = require("os");
4
4
  const { execSync } = require("child_process");
5
5
 
6
6
  const APP_NAME = "9router";
7
- const APP_LABEL = "com.9router.autostart";
7
+ const APP_LABEL = "com.jrouter.autostart";
8
8
 
9
9
  /**
10
10
  * Resolve the absolute path to this package's cli.js.
@@ -1 +0,0 @@
1
- "use strict";exports.id=238,exports.ids=[238,2557],exports.modules={12557:(a,b,c)=>{c.d(b,{Bl:()=>j,Qo:()=>f,S5:()=>l,hk:()=>e,kJ:()=>k});var d=c(3662);function e(a,b,c=0,f=null){let g=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"";for(let b of d.t2)if((!b.provider||b.provider===f)&&(b.text&&g&&g.includes(b.text)||b.status&&b.status===a)){if(b.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:b.cooldownMs}}return a>=400&&a<500&&401!==a&&402!==a&&403!==a&&429!==a?{shouldFallback:!1,cooldownMs:0}:{shouldFallback:!0,cooldownMs:d.wf}}function f(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let g="modelLock_",h=`${g}__all`;function i(a){return a?`${g}${a}`:h}function j(a,b){let c=a[i(b)]||a[h];return!!c&&new Date(c).getTime()>Date.now()}function k(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(g)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function l(a,b){return{[i(a)]:new Date(Date.now()+b).toISOString()}}},45974:(a,b,c)=>{c.d(b,{CY:()=>m,XJ:()=>r,d0:()=>o,vO:()=>n});var d=c(39326),e=c(91211),f=c(7803);let g=new Map,h=new Map,i=new Map,j=new Map,k=new Map;function l(a){if(!a||"string"!=typeof a)return null;let b=(a.includes("/")?a.slice(a.indexOf("/")+1):a).toLowerCase();return b.startsWith("claude-")||b.startsWith("gpt-")||"claude"===b?"claude_gpt":b.startsWith("gemini-")&&!b.includes("image")||"gemini"===b?"gemini":null}function m(a,b){if(!a||"object"!=typeof a||!b)return null;let c="string"==typeof b?(b.includes("/")?b.slice(b.indexOf("/")+1):b).replace(/\([^()]+\)\s*$/,"").trim():"",d=l(c),e=[];if(a[c]&&e.push(a[c]),"claude-sonnet-5-5"===c&&a["claude-sonnet-5-5-high"]&&e.push(a["claude-sonnet-5-5-high"]),"claude-opus-5-5"===c&&a["claude-opus-5-5-high"]&&e.push(a["claude-opus-5-5-high"]),"gemini-3.8-flash"===c&&a["gemini-3.8-flash-medium"]&&e.push(a["gemini-3.8-flash-medium"]),"gemini-3.7-flash"===c&&a["gemini-3.7-flash-medium"]&&e.push(a["gemini-3.7-flash-medium"]),"gemini-3.6-flash"===c&&a["gemini-3.6-flash-medium"]&&e.push(a["gemini-3.6-flash-medium"]),"claude_gpt"===d?(a.claude_gpt_session&&e.push(a.claude_gpt_session),a.claude_gpt_weekly&&e.push(a.claude_gpt_weekly)):"gemini"===d&&(a.gemini_session&&e.push(a.gemini_session),a.gemini_weekly&&e.push(a.gemini_weekly)),0===e.length)return null;let f=Date.now(),g=[];for(let a of e)if(a&&"object"==typeof a&&"number"==typeof a.remainingPercentage&&a.remainingPercentage<=0)if(a.resetAt){let b=new Date(a.resetAt).getTime();b>f&&g.push({...a,resetMs:b})}else g.push({...a,resetMs:0});if(g.length>0){g.sort((a,b)=>b.resetMs-a.resetMs);let a=g[0];return{used:a.used??1e3,total:a.total??1e3,remainingPercentage:0,resetAt:a.resetAt,displayName:a.displayName||c}}let h=e.filter(a=>a&&"number"==typeof a.remainingPercentage&&!(a.remainingPercentage<=0&&a.resetAt&&new Date(a.resetAt).getTime()<=f));return 0===h.length?null:(h.sort((a,b)=>a.remainingPercentage-b.remainingPercentage),h[0])}function n(a,b){let c=`${a}|${b}`;j.delete(c);let d=k.get(c);if(void 0===d)return;k.delete(c);let e=g.get(a),f=new Date(d).toISOString();e?.[b]?.resetAt===f&&delete e[b];let h=l(b);"claude_gpt"===h&&e?.claude_gpt_session?.resetAt===f?delete e.claude_gpt_session:"gemini"===h&&e?.gemini_session?.resetAt===f&&delete e.gemini_session,g.set(a,e)}function o(){return g}async function p(a,b,c){let d=Date.now(),e=i.get(a);if(e)return e;let j=h.get(a)||0;if(d-j<3e4)return f.debug("AG_QUOTA",`${a.slice(0,8)} | skip refresh (${Math.round((d-j)/1e3)}s ago)`),g.get(a)||null;h.set(a,d);let k=q(a,b,c,d);i.set(a,k);try{return await k}finally{i.delete(a)}}async function q(a,b,c,h){try{let f=await (0,d.B)(c||{}),h={connectionProxyEnabled:!0===f.connectionProxyEnabled,connectionProxyUrl:f.connectionProxyUrl||"",connectionNoProxy:f.connectionNoProxy||"",vercelRelayUrl:f.vercelRelayUrl||"",strictProxy:!0===f.strictProxy},i=await (0,e.c)(b,c,h);if(!i?.quotas||i.message)return null;return g.set(a,function(a,b){let c=Date.now();for(let[d,e]of k)if(d.startsWith(`${a}|`)){if(e<=c){k.delete(d);continue}b[d.slice(a.length+1)]={remainingPercentage:0,resetAt:new Date(e).toISOString()}}return b}(a,i.quotas)),i.quotas}catch(b){return f.warn("AG_QUOTA",`${a.slice(0,8)} | refresh failed: ${b.message}`),null}}async function r(a,b,c,d,e){f.info("AG_QUOTA",`${a.slice(0,8)} | ${b} on ${c} — refreshing quota`);let h=m(await p(a,d,e),c);if(!h||h.remainingPercentage>0){let d=`${a}|${c}`,e=Date.now(),i=j.get(d),l=i&&e-i.windowStart<=6e4?i.windowStart:e,m=i&&l===i.windowStart?i.count+1:1;if(j.set(d,{count:m,windowStart:l}),m>=3){j.delete(d);let i=e+9e5,l=h?`${Math.round(h.remainingPercentage)}%`:"unknown";f.warn("AG_QUOTA",`${a.slice(0,8)} | STRIKE_${b} ${c} — ${m}x 429 (quota ${l}); CACHE_BLOCK 15m`);let n=g.get(a)||{};return n[c]={remainingPercentage:0,resetAt:new Date(i).toISOString()},g.set(a,n),k.set(d,i),i}return null}if(j.delete(`${a}|${c}`),!h.resetAt)return null;let i=new Date(h.resetAt).getTime();if(i<=Date.now())return null;let l=g.get(a)||{};return l[c]={remainingPercentage:0,resetAt:h.resetAt},g.set(a,l),f.warn("AG_QUOTA",`${a.slice(0,8)} | UPSTREAM_${b} ${c} — quota exhausted; CACHE_BLOCK until ${h.resetAt}`),i}},80238:(a,b,c)=>{c.d(b,{Pt:()=>n,Tr:()=>o,c1:()=>l,kI:()=>p,vk:()=>m});var d=c(89718),e=c(39326),f=c(12557),g=c(3662),h=c(40615),i=c(45974),j=c(7803);let k=Promise.resolve();async function l(a,b=null,c=null,g={}){let m,n=b instanceof Set?b:b?new Set([b]):new Set,o=g?.preferredConnectionId||null,p=g?.requestedModel||c,q=k;k=new Promise(a=>{m=a});try{let b;await q;let k=(0,h.rs)(a);if(h.IS[k]?.noAuth){let a=((await (0,d.mt)()).providerStrategies||{})[k]||{},b=a.rotateStrategy||"none",c=a.proxyPoolId||null;if("none"!==b){let a=(await (0,d.ui)({isActive:!0})).filter(a=>a.proxyUrl).map(a=>a.id);c=(0,e.p)(a,b,k)}let f=await (0,e.B)({proxyPoolId:c||""});return{id:"noauth",connectionName:"Public",isActive:!0,accessToken:"public",providerSpecificData:{connectionProxyEnabled:f.connectionProxyEnabled,connectionProxyUrl:f.connectionProxyUrl,connectionNoProxy:f.connectionNoProxy,connectionProxyPoolId:f.proxyPoolId||null,vercelRelayUrl:f.vercelRelayUrl||"",strictProxy:!0===f.strictProxy}}}let l=await (0,d.getProviderConnections)({provider:k,isActive:!0});if(j.debug("AUTH",`${a} | total connections: ${l.length}, excludeIds: ${n.size>0?[...n].join(","):"none"}, model: ${c||"any"}`),0===l.length)return j.warn("AUTH",`No credentials for ${a}`),null;let m="antigravity"===k,r=m&&c?(0,i.d0)():null,s=l.filter(a=>{if(n.has(a.id)||(0,f.Bl)(a,c))return!1;let b=a.providerSpecificData?.enabledModels;if("codex"===k&&Array.isArray(b)&&b.length&&p&&!b.includes(p))return!1;if(m&&c&&r){let b=r.get(a.id),d=(0,i.CY)(b,c)||b?.[c];if(d&&d.remainingPercentage<=0&&d.resetAt&&new Date(d.resetAt).getTime()>Date.now()){let b=a.id?.slice(0,8)||"unknown";return j.info("AG_QUOTA",`${b} | CACHE_BLOCK ${c} — skip upstream until ${d.resetAt}`),!1}}return!0});if(g.healthProbe){let a=s.filter(a=>"unavailable"!==a.testStatus);a.length&&(s=a)}if(j.debug("AUTH",`${a} | available: ${s.length}/${l.length}`),l.forEach(a=>{let b=n.has(a.id),d=(0,f.Bl)(a,c);if(b||d){let e=(0,f.kJ)(a);j.debug("AUTH",` → ${a.id?.slice(0,8)} | ${b?"excluded":""} ${d?`modelLocked(${c}) until ${e}`:""}`)}}),0===s.length){let b=l.filter(a=>(0,f.Bl)(a,c)),d=b.map(a=>(0,f.kJ)(a)).filter(Boolean);m&&c&&r&&l.forEach(a=>{let b=r.get(a.id),e=(0,i.CY)(b,c)||b?.[c],f=e?.resetAt;f&&new Date(f).getTime()>Date.now()&&d.push(f)});let e=d.sort()[0]||null;if(e){let d=b[0];return j.warn("AUTH",`${a} | all ${l.length} accounts locked for ${c||"all"} (${(0,f.Qo)(e)}) | lastError=${d?.lastError?.slice(0,50)}`),{allRateLimited:!0,retryAfter:e,retryAfterHuman:(0,f.Qo)(e),lastError:d?.lastError||null,lastErrorCode:d?.errorCode||null}}return j.warn("AUTH",`${a} | all ${l.length} accounts unavailable`),null}let t=await (0,d.mt)(),u=(t.providerStrategies||{})[k]||{},v=u.fallbackStrategy||t.fallbackStrategy||"fill-first";if(o&&(b=s.find(a=>a.id===o))&&j.info("AUTH",`${a} | pinned to ${b.id?.slice(0,8)} (${b.name||b.email||"unnamed"})`),b);else if("round-robin"===v){let a=u.stickyRoundRobinLimit||t.stickyRoundRobinLimit||3,c=[...s].sort((a,b)=>a.lastUsedAt||b.lastUsedAt?a.lastUsedAt?b.lastUsedAt?new Date(b.lastUsedAt)-new Date(a.lastUsedAt):-1:1:(a.priority||999)-(b.priority||999))[0],e=c?.consecutiveUseCount||0;c&&c.lastUsedAt&&e<a?(b=c,await (0,d.updateProviderConnection)(b.id,{lastUsedAt:new Date().toISOString(),consecutiveUseCount:(b.consecutiveUseCount||0)+1})):(b=[...s].sort((a,b)=>a.lastUsedAt||b.lastUsedAt?a.lastUsedAt?b.lastUsedAt?new Date(a.lastUsedAt)-new Date(b.lastUsedAt):1:-1:(a.priority||999)-(b.priority||999))[0],await (0,d.updateProviderConnection)(b.id,{lastUsedAt:new Date().toISOString(),consecutiveUseCount:1}))}else b=s[0];let w=await (0,e.B)(b.providerSpecificData||{});return{authType:b.authType,apiKey:b.apiKey,accessToken:b.accessToken,refreshToken:b.refreshToken,idToken:b.idToken,expiresAt:b.expiresAt,expiresIn:b.expiresIn,lastRefreshAt:b.lastRefreshAt,projectId:b.projectId,connectionName:b.displayName||b.name||b.email||b.id,copilotToken:b.providerSpecificData?.copilotToken,providerSpecificData:{...b.providerSpecificData||{},connectionProxyEnabled:w.connectionProxyEnabled,connectionProxyUrl:w.connectionProxyUrl,connectionNoProxy:w.connectionNoProxy,connectionProxyPoolId:w.proxyPoolId||null,vercelRelayUrl:w.vercelRelayUrl||"",strictProxy:!0===w.strictProxy},connectionId:b.id,testStatus:b.testStatus,lastError:b.lastError,_connection:b}}finally{m&&m()}}async function m(a,b,c,e=null,i=null,k=null){let l,n,o;if(!a||"noauth"===a)return{shouldFallback:!1,cooldownMs:0};let p=(await (0,d.getProviderConnections)({provider:e})).find(b=>b.id===a),q=p?.backoffLevel||0,r=function(a,b,c){if("github"!==(0,h.rs)(c)||402!==Number(a)||!String(b||"").toLowerCase().includes("you've reached your additional usage limit for your plan"))return null;let d=new Date;return Date.UTC(d.getUTCFullYear(),d.getUTCMonth()+1,1)}(b,c,e);if(r?(l=!0,n=r-Date.now(),o=0):k&&k>Date.now()?(l=!0,n="antigravity"===(0,h.rs)(e)?k-Date.now():Math.min(k-Date.now(),g.fh),o=0):{shouldFallback:l,cooldownMs:n,newBackoffLevel:o}=(0,f.hk)(b,c,q,(0,h.rs)(e)),!l)return{shouldFallback:!1,cooldownMs:0};let s="string"==typeof c?c.slice(0,200):"Provider error",t=(0,f.S5)(r?null:i,n);await (0,d.updateProviderConnection)(a,{...t,testStatus:"unavailable",lastError:s,errorCode:b,lastErrorAt:new Date().toISOString(),backoffLevel:o??q});let u=Object.keys(t)[0],v=p?.displayName||p?.name||p?.email||a.slice(0,8);return j.warn("AUTH",`${v} locked ${u} for ${Math.round(n/1e3)}s [${b}]`),e&&b&&s&&console.error(`❌ ${e} [${b}]: ${s}`),{shouldFallback:!0,cooldownMs:n}}async function n(a,b,c=null){if(!a||"noauth"===a)return;let e=b._connection||b,f=Date.now(),g=Object.keys(e).filter(a=>a.startsWith("modelLock_"));if(!e.testStatus&&!e.lastError&&0===g.length)return;let h=g.filter(a=>{if(c&&a===`modelLock_${c}`||c&&"modelLock___all"===a)return!0;let b=e[a];return b&&new Date(b).getTime()<=f});if(0===h.length&&"unavailable"!==e.testStatus&&!e.lastError)return;let i=g.filter(a=>{if(h.includes(a))return!1;let b=e[a];return b&&new Date(b).getTime()>f}),j=Object.fromEntries(h.map(a=>[a,null]));0===i.length&&Object.assign(j,{testStatus:"active",lastError:null,errorCode:null,lastErrorAt:null,backoffLevel:0}),await (0,d.updateProviderConnection)(a,j)}function o(a){let b=a.headers.get("Authorization");if(b?.startsWith("Bearer "))return b.slice(7);let c=a.headers.get("x-api-key");return c||a.headers.get("x-goog-api-key")||new URL(a.url).searchParams.get("key")}async function p(a){return!!a&&await (0,d.ek)(a)}}};