9router 0.4.39 → 0.4.41

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 (705) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +6 -4
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/routes-manifest.json +14 -0
  5. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +24 -0
  8. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -0
  9. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -0
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  14. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  16. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  18. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  22. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  24. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  28. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  31. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  33. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  35. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  37. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  39. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  41. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  43. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  45. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  47. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  49. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  50. package/app/.next/server/app/_global-error/page.js +2 -2
  51. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/_global-error.html +1 -1
  53. package/app/.next/server/app/_global-error.rsc +1 -1
  54. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  55. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  56. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  57. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  58. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  59. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  60. package/app/.next/server/app/_not-found/page.js +2 -2
  61. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  62. package/app/.next/server/app/_not-found.html +1 -1
  63. package/app/.next/server/app/_not-found.rsc +4 -4
  64. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  65. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  66. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  67. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  68. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  69. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  70. package/app/.next/server/app/api/auth/login/route.js +1 -1
  71. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  72. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  73. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
  74. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
  75. package/app/.next/server/app/api/auth/status/route.js +1 -1
  76. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +3 -2
  77. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  78. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  79. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  80. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
  81. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  82. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  83. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  84. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  85. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  86. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  87. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  88. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  89. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -0
  90. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -0
  91. package/app/.next/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -0
  92. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  93. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  94. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  95. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  96. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  97. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  98. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  99. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  100. package/app/.next/server/app/api/combos/route.js +1 -1
  101. package/app/.next/server/app/api/health/route.js +1 -1
  102. package/app/.next/server/app/api/init/route.js +1 -1
  103. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  104. package/app/.next/server/app/api/keys/route.js +1 -1
  105. package/app/.next/server/app/api/locale/route.js +1 -1
  106. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +2 -2
  107. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +5 -5
  108. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  109. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  110. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  111. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  112. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  113. package/app/.next/server/app/api/models/alias/route.js +1 -1
  114. package/app/.next/server/app/api/models/availability/route.js +1 -1
  115. package/app/.next/server/app/api/models/custom/route.js +1 -1
  116. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  117. package/app/.next/server/app/api/models/route.js +1 -1
  118. package/app/.next/server/app/api/models/test/route.js +1 -1
  119. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  120. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  121. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  122. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  123. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  124. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  125. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  126. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  127. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  128. package/app/.next/server/app/api/pricing/route.js +1 -1
  129. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  130. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  131. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  132. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  133. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  134. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  135. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  136. package/app/.next/server/app/api/providers/client/route.js +1 -1
  137. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  138. package/app/.next/server/app/api/providers/route.js +1 -1
  139. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  140. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  141. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  142. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  143. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  144. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  145. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  146. package/app/.next/server/app/api/settings/database/route.js +1 -1
  147. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  148. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  149. package/app/.next/server/app/api/settings/route.js +1 -1
  150. package/app/.next/server/app/api/shutdown/route.js +1 -1
  151. package/app/.next/server/app/api/tags/route.js +1 -1
  152. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  153. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  154. package/app/.next/server/app/api/translator/load/route.js +1 -1
  155. package/app/.next/server/app/api/translator/save/route.js +1 -1
  156. package/app/.next/server/app/api/translator/send/route.js +1 -1
  157. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  158. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  159. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  160. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  161. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  162. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  163. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  164. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +1 -1
  165. package/app/.next/server/app/api/tunnel/tailscale-login/route.js +1 -1
  166. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  167. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  168. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  169. package/app/.next/server/app/api/usage/history/route.js +1 -1
  170. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  171. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  172. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  173. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  174. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  175. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  176. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  177. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  178. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  179. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  180. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  181. package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
  182. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  183. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  184. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  185. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  186. package/app/.next/server/app/api/v1/models/route.js +1 -1
  187. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  188. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  189. package/app/.next/server/app/api/v1/route.js +1 -1
  190. package/app/.next/server/app/api/v1/search/route.js +1 -1
  191. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  192. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  193. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  194. package/app/.next/server/app/api/version/route.js +1 -1
  195. package/app/.next/server/app/api/version/shutdown/route.js +1 -1
  196. package/app/.next/server/app/api/version/update/route.js +1 -1
  197. package/app/.next/server/app/callback/page.js +2 -2
  198. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  199. package/app/.next/server/app/callback.html +1 -1
  200. package/app/.next/server/app/callback.rsc +4 -4
  201. package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
  202. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  203. package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
  204. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  205. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  206. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  207. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  208. package/app/.next/server/app/dashboard/basic-chat.rsc +6 -6
  209. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  210. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  211. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  212. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  213. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  214. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  215. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  216. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  217. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  218. package/app/.next/server/app/dashboard/cli-tools.rsc +6 -6
  219. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  220. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  221. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  222. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  223. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  224. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  225. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  226. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  227. package/app/.next/server/app/dashboard/combos.html +1 -1
  228. package/app/.next/server/app/dashboard/combos.rsc +6 -6
  229. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  230. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  231. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  232. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  233. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  234. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  235. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  236. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  237. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  238. package/app/.next/server/app/dashboard/endpoint.rsc +6 -6
  239. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  240. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  241. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  242. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  243. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  244. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  245. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  246. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  247. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  248. package/app/.next/server/app/dashboard/media-providers/web.rsc +6 -6
  249. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  250. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  251. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  252. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  253. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  254. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  255. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  256. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  257. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  258. package/app/.next/server/app/dashboard/mitm.html +1 -1
  259. package/app/.next/server/app/dashboard/mitm.rsc +6 -6
  260. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  261. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  262. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  263. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  264. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  265. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  266. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  267. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  268. package/app/.next/server/app/dashboard/profile.html +1 -1
  269. package/app/.next/server/app/dashboard/profile.rsc +6 -6
  270. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  271. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  272. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  273. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  274. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  275. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  276. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  277. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  278. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  279. package/app/.next/server/app/dashboard/providers/new.rsc +6 -6
  280. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  281. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  282. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  283. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  284. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  285. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  286. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  287. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  288. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  289. package/app/.next/server/app/dashboard/providers.html +1 -1
  290. package/app/.next/server/app/dashboard/providers.rsc +6 -6
  291. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  292. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  293. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  294. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  295. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  296. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  297. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  298. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  299. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  300. package/app/.next/server/app/dashboard/proxy-pools.rsc +6 -6
  301. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  302. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  303. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  304. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  305. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  306. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  307. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  308. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  309. package/app/.next/server/app/dashboard/quota.html +2 -2
  310. package/app/.next/server/app/dashboard/quota.rsc +7 -7
  311. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  312. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  313. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  314. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  315. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  316. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  317. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  318. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  319. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  320. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  321. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  322. package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
  323. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  324. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  325. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  326. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  327. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  328. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  329. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  330. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  331. package/app/.next/server/app/dashboard/skills.html +1 -1
  332. package/app/.next/server/app/dashboard/skills.rsc +6 -6
  333. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  334. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  335. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  336. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  337. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  338. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  339. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  340. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  341. package/app/.next/server/app/dashboard/translator.html +1 -1
  342. package/app/.next/server/app/dashboard/translator.rsc +6 -6
  343. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  344. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  345. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  346. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  347. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  348. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  349. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  350. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  351. package/app/.next/server/app/dashboard/usage.html +1 -1
  352. package/app/.next/server/app/dashboard/usage.rsc +6 -6
  353. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  354. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  355. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  356. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  357. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  358. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  359. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  360. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  361. package/app/.next/server/app/dashboard.html +1 -1
  362. package/app/.next/server/app/dashboard.rsc +6 -6
  363. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  364. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  365. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  366. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +6 -6
  367. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  368. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +4 -4
  369. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  370. package/app/.next/server/app/favicon.ico/route.js +1 -1
  371. package/app/.next/server/app/index.html +1 -1
  372. package/app/.next/server/app/index.rsc +4 -4
  373. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  374. package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
  375. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  376. package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
  377. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  378. package/app/.next/server/app/landing/page.js +2 -2
  379. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  380. package/app/.next/server/app/landing.html +1 -1
  381. package/app/.next/server/app/landing.rsc +4 -4
  382. package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
  383. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  384. package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
  385. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  386. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  387. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  388. package/app/.next/server/app/login/page.js +2 -2
  389. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  390. package/app/.next/server/app/login.html +1 -1
  391. package/app/.next/server/app/login.rsc +5 -5
  392. package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
  393. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  394. package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
  395. package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  396. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  397. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  398. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  399. package/app/.next/server/app/page.js +2 -2
  400. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  401. package/app/.next/server/app-paths-manifest.json +6 -4
  402. package/app/.next/server/chunks/1574.js +2 -2
  403. package/app/.next/server/chunks/1795.js +1 -1
  404. package/app/.next/server/chunks/{9102.js → 4185.js} +19 -5
  405. package/app/.next/server/chunks/450.js +1 -1
  406. package/app/.next/server/chunks/6263.js +1 -1
  407. package/app/.next/server/chunks/6283.js +1 -1
  408. package/app/.next/server/chunks/6634.js +1 -1
  409. package/app/.next/server/chunks/7686.js +1 -1
  410. package/app/.next/server/chunks/8202.js +2 -2
  411. package/app/.next/server/chunks/9737.js +1 -1
  412. package/app/.next/server/middleware-build-manifest.js +1 -1
  413. package/app/.next/server/pages/404.html +1 -1
  414. package/app/.next/server/pages/500.html +1 -1
  415. package/app/.next/server/server-reference-manifest.js +1 -1
  416. package/app/.next/server/server-reference-manifest.json +1 -1
  417. package/app/.next/static/2misBKF5VNVsKDJv5-tr0/_buildManifest.js +1 -0
  418. package/app/.next/static/chunks/1273-62c3e49612c8936b.js +1 -0
  419. package/app/.next/static/chunks/{1695-6e8840bac539e8e1.js → 3771-d400e4ae3c36605b.js} +21 -7
  420. package/app/.next/static/chunks/{4156-fb6ac946bb0d8b36.js → 4156-333776bcc04b3a24.js} +1 -1
  421. package/app/.next/static/chunks/{505-4f14d6114630c020.js → 505-b308a2b0c9199c92.js} +1 -1
  422. package/app/.next/static/chunks/{8035-fcb662f21e288a06.js → 8035-7160908984e36a32.js} +2 -2
  423. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-cd0fd0414de9421f.js +1 -0
  424. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-cf6325b0b4557845.js +1 -0
  425. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-0479ee1b161bf657.js +1 -0
  426. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-ba20629be96f8c76.js +1 -0
  427. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-5c83526aa571f533.js → page-04f6908aa3c98f13.js} +1 -1
  428. package/app/.next/static/chunks/app/_global-error/page-36dc8d06b592b249.js +1 -0
  429. package/app/.next/static/chunks/app/api/auth/login/route-36dc8d06b592b249.js +1 -0
  430. package/app/.next/static/chunks/app/api/auth/logout/route-36dc8d06b592b249.js +1 -0
  431. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-36dc8d06b592b249.js +1 -0
  432. package/app/.next/static/chunks/app/api/auth/oidc/start/route-36dc8d06b592b249.js +1 -0
  433. package/app/.next/static/chunks/app/api/auth/oidc/test/route-36dc8d06b592b249.js +1 -0
  434. package/app/.next/static/chunks/app/api/auth/status/route-36dc8d06b592b249.js +1 -0
  435. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-36dc8d06b592b249.js +1 -0
  436. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-36dc8d06b592b249.js +1 -0
  437. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-36dc8d06b592b249.js +1 -0
  438. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-36dc8d06b592b249.js +1 -0
  439. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-36dc8d06b592b249.js +1 -0
  440. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-36dc8d06b592b249.js +1 -0
  441. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-36dc8d06b592b249.js +1 -0
  442. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-36dc8d06b592b249.js +1 -0
  443. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-36dc8d06b592b249.js +1 -0
  444. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-36dc8d06b592b249.js +1 -0
  445. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-36dc8d06b592b249.js +1 -0
  446. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-36dc8d06b592b249.js +1 -0
  447. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-36dc8d06b592b249.js +1 -0
  448. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-36dc8d06b592b249.js +1 -0
  449. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-36dc8d06b592b249.js +1 -0
  450. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-36dc8d06b592b249.js +1 -0
  451. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-36dc8d06b592b249.js +1 -0
  452. package/app/.next/static/chunks/app/api/cloud/auth/route-36dc8d06b592b249.js +1 -0
  453. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-36dc8d06b592b249.js +1 -0
  454. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-36dc8d06b592b249.js +1 -0
  455. package/app/.next/static/chunks/app/api/cloud/models/alias/route-36dc8d06b592b249.js +1 -0
  456. package/app/.next/static/chunks/app/api/combos/[id]/route-36dc8d06b592b249.js +1 -0
  457. package/app/.next/static/chunks/app/api/combos/route-36dc8d06b592b249.js +1 -0
  458. package/app/.next/static/chunks/app/api/health/route-36dc8d06b592b249.js +1 -0
  459. package/app/.next/static/chunks/app/api/init/route-36dc8d06b592b249.js +1 -0
  460. package/app/.next/static/chunks/app/api/keys/[id]/route-36dc8d06b592b249.js +1 -0
  461. package/app/.next/static/chunks/app/api/keys/route-36dc8d06b592b249.js +1 -0
  462. package/app/.next/static/chunks/app/api/locale/route-36dc8d06b592b249.js +1 -0
  463. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-36dc8d06b592b249.js +1 -0
  464. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-36dc8d06b592b249.js +1 -0
  465. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-36dc8d06b592b249.js +1 -0
  466. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-36dc8d06b592b249.js +1 -0
  467. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-36dc8d06b592b249.js +1 -0
  468. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-36dc8d06b592b249.js +1 -0
  469. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-36dc8d06b592b249.js +1 -0
  470. package/app/.next/static/chunks/app/api/models/alias/route-36dc8d06b592b249.js +1 -0
  471. package/app/.next/static/chunks/app/api/models/availability/route-36dc8d06b592b249.js +1 -0
  472. package/app/.next/static/chunks/app/api/models/custom/route-36dc8d06b592b249.js +1 -0
  473. package/app/.next/static/chunks/app/api/models/disabled/route-36dc8d06b592b249.js +1 -0
  474. package/app/.next/static/chunks/app/api/models/route-36dc8d06b592b249.js +1 -0
  475. package/app/.next/static/chunks/app/api/models/test/route-36dc8d06b592b249.js +1 -0
  476. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-36dc8d06b592b249.js +1 -0
  477. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-36dc8d06b592b249.js +1 -0
  478. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-36dc8d06b592b249.js +1 -0
  479. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-36dc8d06b592b249.js +1 -0
  480. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-36dc8d06b592b249.js +1 -0
  481. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-36dc8d06b592b249.js +1 -0
  482. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-36dc8d06b592b249.js +1 -0
  483. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-36dc8d06b592b249.js +1 -0
  484. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-36dc8d06b592b249.js +1 -0
  485. package/app/.next/static/chunks/app/api/pricing/route-36dc8d06b592b249.js +1 -0
  486. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-36dc8d06b592b249.js +1 -0
  487. package/app/.next/static/chunks/app/api/provider-nodes/route-36dc8d06b592b249.js +1 -0
  488. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-36dc8d06b592b249.js +1 -0
  489. package/app/.next/static/chunks/app/api/providers/[id]/models/route-36dc8d06b592b249.js +1 -0
  490. package/app/.next/static/chunks/app/api/providers/[id]/route-36dc8d06b592b249.js +1 -0
  491. package/app/.next/static/chunks/app/api/providers/[id]/test/route-36dc8d06b592b249.js +1 -0
  492. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-36dc8d06b592b249.js +1 -0
  493. package/app/.next/static/chunks/app/api/providers/client/route-36dc8d06b592b249.js +1 -0
  494. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-36dc8d06b592b249.js +1 -0
  495. package/app/.next/static/chunks/app/api/providers/route-36dc8d06b592b249.js +1 -0
  496. package/app/.next/static/chunks/app/api/providers/suggested-models/route-36dc8d06b592b249.js +1 -0
  497. package/app/.next/static/chunks/app/api/providers/test-batch/route-36dc8d06b592b249.js +1 -0
  498. package/app/.next/static/chunks/app/api/providers/validate/route-36dc8d06b592b249.js +1 -0
  499. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-36dc8d06b592b249.js +1 -0
  500. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-36dc8d06b592b249.js +1 -0
  501. package/app/.next/static/chunks/app/api/proxy-pools/route-36dc8d06b592b249.js +1 -0
  502. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-36dc8d06b592b249.js +1 -0
  503. package/app/.next/static/chunks/app/api/settings/database/route-36dc8d06b592b249.js +1 -0
  504. package/app/.next/static/chunks/app/api/settings/proxy-test/route-36dc8d06b592b249.js +1 -0
  505. package/app/.next/static/chunks/app/api/settings/require-login/route-36dc8d06b592b249.js +1 -0
  506. package/app/.next/static/chunks/app/api/settings/route-36dc8d06b592b249.js +1 -0
  507. package/app/.next/static/chunks/app/api/shutdown/route-36dc8d06b592b249.js +1 -0
  508. package/app/.next/static/chunks/app/api/tags/route-36dc8d06b592b249.js +1 -0
  509. package/app/.next/static/chunks/app/api/translator/console-logs/route-36dc8d06b592b249.js +1 -0
  510. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-36dc8d06b592b249.js +1 -0
  511. package/app/.next/static/chunks/app/api/translator/load/route-36dc8d06b592b249.js +1 -0
  512. package/app/.next/static/chunks/app/api/translator/save/route-36dc8d06b592b249.js +1 -0
  513. package/app/.next/static/chunks/app/api/translator/send/route-36dc8d06b592b249.js +1 -0
  514. package/app/.next/static/chunks/app/api/translator/translate/route-36dc8d06b592b249.js +1 -0
  515. package/app/.next/static/chunks/app/api/tunnel/disable/route-36dc8d06b592b249.js +1 -0
  516. package/app/.next/static/chunks/app/api/tunnel/enable/route-36dc8d06b592b249.js +1 -0
  517. package/app/.next/static/chunks/app/api/tunnel/status/route-36dc8d06b592b249.js +1 -0
  518. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-36dc8d06b592b249.js +1 -0
  519. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-36dc8d06b592b249.js +1 -0
  520. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-36dc8d06b592b249.js +1 -0
  521. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-36dc8d06b592b249.js +1 -0
  522. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-36dc8d06b592b249.js +1 -0
  523. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-36dc8d06b592b249.js +1 -0
  524. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-36dc8d06b592b249.js +1 -0
  525. package/app/.next/static/chunks/app/api/usage/chart/route-36dc8d06b592b249.js +1 -0
  526. package/app/.next/static/chunks/app/api/usage/history/route-36dc8d06b592b249.js +1 -0
  527. package/app/.next/static/chunks/app/api/usage/providers/route-36dc8d06b592b249.js +1 -0
  528. package/app/.next/static/chunks/app/api/usage/request-details/route-36dc8d06b592b249.js +1 -0
  529. package/app/.next/static/chunks/app/api/usage/request-logs/route-36dc8d06b592b249.js +1 -0
  530. package/app/.next/static/chunks/app/api/usage/stats/route-36dc8d06b592b249.js +1 -0
  531. package/app/.next/static/chunks/app/api/usage/stream/route-36dc8d06b592b249.js +1 -0
  532. package/app/.next/static/chunks/app/api/v1/api/chat/route-36dc8d06b592b249.js +1 -0
  533. package/app/.next/static/chunks/app/api/v1/audio/speech/route-36dc8d06b592b249.js +1 -0
  534. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-36dc8d06b592b249.js +1 -0
  535. package/app/.next/static/chunks/app/api/v1/audio/voices/route-36dc8d06b592b249.js +1 -0
  536. package/app/.next/static/chunks/app/api/v1/chat/completions/route-36dc8d06b592b249.js +1 -0
  537. package/app/.next/static/chunks/app/api/v1/embeddings/route-36dc8d06b592b249.js +1 -0
  538. package/app/.next/static/chunks/app/api/v1/images/generations/route-36dc8d06b592b249.js +1 -0
  539. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-36dc8d06b592b249.js +1 -0
  540. package/app/.next/static/chunks/app/api/v1/messages/route-36dc8d06b592b249.js +1 -0
  541. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-36dc8d06b592b249.js +1 -0
  542. package/app/.next/static/chunks/app/api/v1/models/info/route-36dc8d06b592b249.js +1 -0
  543. package/app/.next/static/chunks/app/api/v1/models/route-36dc8d06b592b249.js +1 -0
  544. package/app/.next/static/chunks/app/api/v1/responses/compact/route-36dc8d06b592b249.js +1 -0
  545. package/app/.next/static/chunks/app/api/v1/responses/route-36dc8d06b592b249.js +1 -0
  546. package/app/.next/static/chunks/app/api/v1/route-36dc8d06b592b249.js +1 -0
  547. package/app/.next/static/chunks/app/api/v1/search/route-36dc8d06b592b249.js +1 -0
  548. package/app/.next/static/chunks/app/api/v1/web/fetch/route-36dc8d06b592b249.js +1 -0
  549. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-36dc8d06b592b249.js +1 -0
  550. package/app/.next/static/chunks/app/api/v1beta/models/route-36dc8d06b592b249.js +1 -0
  551. package/app/.next/static/chunks/app/api/version/route-36dc8d06b592b249.js +1 -0
  552. package/app/.next/static/chunks/app/api/version/shutdown/route-36dc8d06b592b249.js +1 -0
  553. package/app/.next/static/chunks/app/api/version/update/route-36dc8d06b592b249.js +1 -0
  554. package/app/.next/static/chunks/app/manifest.webmanifest/route-36dc8d06b592b249.js +1 -0
  555. package/app/.next/static/chunks/app/page-36dc8d06b592b249.js +1 -0
  556. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-36dc8d06b592b249.js +1 -0
  557. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-36dc8d06b592b249.js +1 -0
  558. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-36dc8d06b592b249.js +1 -0
  559. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-36dc8d06b592b249.js +1 -0
  560. package/app/.next/static/css/bcdf8509db9f9e88.css +1 -0
  561. package/app/package.json +5 -1
  562. package/app/public/providers/amp.png +0 -0
  563. package/app/public/providers/deepseek-tui.png +0 -0
  564. package/app/public/providers/jcode.png +0 -0
  565. package/package.json +1 -1
  566. package/src/cli/terminalUI.js +35 -23
  567. package/src/cli/tray/autostart.js +158 -173
  568. package/src/cli/utils/input.js +98 -89
  569. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-ba45716d39a993b3.js +0 -1
  570. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-b460baa9a0a252cc.js +0 -1
  571. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-9567edd325a84464.js +0 -1
  572. package/app/.next/static/chunks/app/_global-error/page-60e29212efc745d6.js +0 -1
  573. package/app/.next/static/chunks/app/api/auth/login/route-60e29212efc745d6.js +0 -1
  574. package/app/.next/static/chunks/app/api/auth/logout/route-60e29212efc745d6.js +0 -1
  575. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-60e29212efc745d6.js +0 -1
  576. package/app/.next/static/chunks/app/api/auth/oidc/start/route-60e29212efc745d6.js +0 -1
  577. package/app/.next/static/chunks/app/api/auth/oidc/test/route-60e29212efc745d6.js +0 -1
  578. package/app/.next/static/chunks/app/api/auth/status/route-60e29212efc745d6.js +0 -1
  579. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-60e29212efc745d6.js +0 -1
  580. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-60e29212efc745d6.js +0 -1
  581. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-60e29212efc745d6.js +0 -1
  582. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-60e29212efc745d6.js +0 -1
  583. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-60e29212efc745d6.js +0 -1
  584. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-60e29212efc745d6.js +0 -1
  585. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-60e29212efc745d6.js +0 -1
  586. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-60e29212efc745d6.js +0 -1
  587. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-60e29212efc745d6.js +0 -1
  588. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-60e29212efc745d6.js +0 -1
  589. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-60e29212efc745d6.js +0 -1
  590. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-60e29212efc745d6.js +0 -1
  591. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-60e29212efc745d6.js +0 -1
  592. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-60e29212efc745d6.js +0 -1
  593. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-60e29212efc745d6.js +0 -1
  594. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-60e29212efc745d6.js +0 -1
  595. package/app/.next/static/chunks/app/api/cloud/auth/route-60e29212efc745d6.js +0 -1
  596. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-60e29212efc745d6.js +0 -1
  597. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-60e29212efc745d6.js +0 -1
  598. package/app/.next/static/chunks/app/api/cloud/models/alias/route-60e29212efc745d6.js +0 -1
  599. package/app/.next/static/chunks/app/api/combos/[id]/route-60e29212efc745d6.js +0 -1
  600. package/app/.next/static/chunks/app/api/combos/route-60e29212efc745d6.js +0 -1
  601. package/app/.next/static/chunks/app/api/health/route-60e29212efc745d6.js +0 -1
  602. package/app/.next/static/chunks/app/api/init/route-60e29212efc745d6.js +0 -1
  603. package/app/.next/static/chunks/app/api/keys/[id]/route-60e29212efc745d6.js +0 -1
  604. package/app/.next/static/chunks/app/api/keys/route-60e29212efc745d6.js +0 -1
  605. package/app/.next/static/chunks/app/api/locale/route-60e29212efc745d6.js +0 -1
  606. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-60e29212efc745d6.js +0 -1
  607. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-60e29212efc745d6.js +0 -1
  608. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-60e29212efc745d6.js +0 -1
  609. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-60e29212efc745d6.js +0 -1
  610. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-60e29212efc745d6.js +0 -1
  611. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-60e29212efc745d6.js +0 -1
  612. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-60e29212efc745d6.js +0 -1
  613. package/app/.next/static/chunks/app/api/models/alias/route-60e29212efc745d6.js +0 -1
  614. package/app/.next/static/chunks/app/api/models/availability/route-60e29212efc745d6.js +0 -1
  615. package/app/.next/static/chunks/app/api/models/custom/route-60e29212efc745d6.js +0 -1
  616. package/app/.next/static/chunks/app/api/models/disabled/route-60e29212efc745d6.js +0 -1
  617. package/app/.next/static/chunks/app/api/models/route-60e29212efc745d6.js +0 -1
  618. package/app/.next/static/chunks/app/api/models/test/route-60e29212efc745d6.js +0 -1
  619. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-60e29212efc745d6.js +0 -1
  620. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-60e29212efc745d6.js +0 -1
  621. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-60e29212efc745d6.js +0 -1
  622. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-60e29212efc745d6.js +0 -1
  623. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-60e29212efc745d6.js +0 -1
  624. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-60e29212efc745d6.js +0 -1
  625. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-60e29212efc745d6.js +0 -1
  626. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-60e29212efc745d6.js +0 -1
  627. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-60e29212efc745d6.js +0 -1
  628. package/app/.next/static/chunks/app/api/pricing/route-60e29212efc745d6.js +0 -1
  629. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-60e29212efc745d6.js +0 -1
  630. package/app/.next/static/chunks/app/api/provider-nodes/route-60e29212efc745d6.js +0 -1
  631. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-60e29212efc745d6.js +0 -1
  632. package/app/.next/static/chunks/app/api/providers/[id]/models/route-60e29212efc745d6.js +0 -1
  633. package/app/.next/static/chunks/app/api/providers/[id]/route-60e29212efc745d6.js +0 -1
  634. package/app/.next/static/chunks/app/api/providers/[id]/test/route-60e29212efc745d6.js +0 -1
  635. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-60e29212efc745d6.js +0 -1
  636. package/app/.next/static/chunks/app/api/providers/client/route-60e29212efc745d6.js +0 -1
  637. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-60e29212efc745d6.js +0 -1
  638. package/app/.next/static/chunks/app/api/providers/route-60e29212efc745d6.js +0 -1
  639. package/app/.next/static/chunks/app/api/providers/suggested-models/route-60e29212efc745d6.js +0 -1
  640. package/app/.next/static/chunks/app/api/providers/test-batch/route-60e29212efc745d6.js +0 -1
  641. package/app/.next/static/chunks/app/api/providers/validate/route-60e29212efc745d6.js +0 -1
  642. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-60e29212efc745d6.js +0 -1
  643. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-60e29212efc745d6.js +0 -1
  644. package/app/.next/static/chunks/app/api/proxy-pools/route-60e29212efc745d6.js +0 -1
  645. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-60e29212efc745d6.js +0 -1
  646. package/app/.next/static/chunks/app/api/settings/database/route-60e29212efc745d6.js +0 -1
  647. package/app/.next/static/chunks/app/api/settings/proxy-test/route-60e29212efc745d6.js +0 -1
  648. package/app/.next/static/chunks/app/api/settings/require-login/route-60e29212efc745d6.js +0 -1
  649. package/app/.next/static/chunks/app/api/settings/route-60e29212efc745d6.js +0 -1
  650. package/app/.next/static/chunks/app/api/shutdown/route-60e29212efc745d6.js +0 -1
  651. package/app/.next/static/chunks/app/api/tags/route-60e29212efc745d6.js +0 -1
  652. package/app/.next/static/chunks/app/api/translator/console-logs/route-60e29212efc745d6.js +0 -1
  653. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-60e29212efc745d6.js +0 -1
  654. package/app/.next/static/chunks/app/api/translator/load/route-60e29212efc745d6.js +0 -1
  655. package/app/.next/static/chunks/app/api/translator/save/route-60e29212efc745d6.js +0 -1
  656. package/app/.next/static/chunks/app/api/translator/send/route-60e29212efc745d6.js +0 -1
  657. package/app/.next/static/chunks/app/api/translator/translate/route-60e29212efc745d6.js +0 -1
  658. package/app/.next/static/chunks/app/api/tunnel/disable/route-60e29212efc745d6.js +0 -1
  659. package/app/.next/static/chunks/app/api/tunnel/enable/route-60e29212efc745d6.js +0 -1
  660. package/app/.next/static/chunks/app/api/tunnel/status/route-60e29212efc745d6.js +0 -1
  661. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-60e29212efc745d6.js +0 -1
  662. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-60e29212efc745d6.js +0 -1
  663. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-60e29212efc745d6.js +0 -1
  664. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-60e29212efc745d6.js +0 -1
  665. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-60e29212efc745d6.js +0 -1
  666. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-60e29212efc745d6.js +0 -1
  667. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-60e29212efc745d6.js +0 -1
  668. package/app/.next/static/chunks/app/api/usage/chart/route-60e29212efc745d6.js +0 -1
  669. package/app/.next/static/chunks/app/api/usage/history/route-60e29212efc745d6.js +0 -1
  670. package/app/.next/static/chunks/app/api/usage/providers/route-60e29212efc745d6.js +0 -1
  671. package/app/.next/static/chunks/app/api/usage/request-details/route-60e29212efc745d6.js +0 -1
  672. package/app/.next/static/chunks/app/api/usage/request-logs/route-60e29212efc745d6.js +0 -1
  673. package/app/.next/static/chunks/app/api/usage/stats/route-60e29212efc745d6.js +0 -1
  674. package/app/.next/static/chunks/app/api/usage/stream/route-60e29212efc745d6.js +0 -1
  675. package/app/.next/static/chunks/app/api/v1/api/chat/route-60e29212efc745d6.js +0 -1
  676. package/app/.next/static/chunks/app/api/v1/audio/speech/route-60e29212efc745d6.js +0 -1
  677. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-60e29212efc745d6.js +0 -1
  678. package/app/.next/static/chunks/app/api/v1/audio/voices/route-60e29212efc745d6.js +0 -1
  679. package/app/.next/static/chunks/app/api/v1/chat/completions/route-60e29212efc745d6.js +0 -1
  680. package/app/.next/static/chunks/app/api/v1/embeddings/route-60e29212efc745d6.js +0 -1
  681. package/app/.next/static/chunks/app/api/v1/images/generations/route-60e29212efc745d6.js +0 -1
  682. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-60e29212efc745d6.js +0 -1
  683. package/app/.next/static/chunks/app/api/v1/messages/route-60e29212efc745d6.js +0 -1
  684. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-60e29212efc745d6.js +0 -1
  685. package/app/.next/static/chunks/app/api/v1/models/info/route-60e29212efc745d6.js +0 -1
  686. package/app/.next/static/chunks/app/api/v1/models/route-60e29212efc745d6.js +0 -1
  687. package/app/.next/static/chunks/app/api/v1/responses/compact/route-60e29212efc745d6.js +0 -1
  688. package/app/.next/static/chunks/app/api/v1/responses/route-60e29212efc745d6.js +0 -1
  689. package/app/.next/static/chunks/app/api/v1/route-60e29212efc745d6.js +0 -1
  690. package/app/.next/static/chunks/app/api/v1/search/route-60e29212efc745d6.js +0 -1
  691. package/app/.next/static/chunks/app/api/v1/web/fetch/route-60e29212efc745d6.js +0 -1
  692. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-60e29212efc745d6.js +0 -1
  693. package/app/.next/static/chunks/app/api/v1beta/models/route-60e29212efc745d6.js +0 -1
  694. package/app/.next/static/chunks/app/api/version/route-60e29212efc745d6.js +0 -1
  695. package/app/.next/static/chunks/app/api/version/shutdown/route-60e29212efc745d6.js +0 -1
  696. package/app/.next/static/chunks/app/api/version/update/route-60e29212efc745d6.js +0 -1
  697. package/app/.next/static/chunks/app/manifest.webmanifest/route-60e29212efc745d6.js +0 -1
  698. package/app/.next/static/chunks/app/page-60e29212efc745d6.js +0 -1
  699. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-60e29212efc745d6.js +0 -1
  700. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-60e29212efc745d6.js +0 -1
  701. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-60e29212efc745d6.js +0 -1
  702. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-60e29212efc745d6.js +0 -1
  703. package/app/.next/static/css/ae73e0a7859fa2fc.css +0 -1
  704. package/app/.next/static/yFUwKZ1p4eBnMZ6ORz8lk/_buildManifest.js +0 -1
  705. /package/app/.next/static/{yFUwKZ1p4eBnMZ6ORz8lk → 2misBKF5VNVsKDJv5-tr0}/_ssgManifest.js +0 -0
@@ -7,22 +7,36 @@ const APP_NAME = "9router";
7
7
  const APP_LABEL = "com.9router.autostart";
8
8
 
9
9
  /**
10
- * Get the command to run 9router in tray mode
10
+ * Resolve the absolute path to this package's cli.js.
11
+ *
12
+ * Order of preference:
13
+ * 1. Explicit `cliPath` argument — cleanest, used when called from running
14
+ * cli.js with `__filename`.
15
+ * 2. `process.argv[1]` if it's our cli.js — true when 9router is currently
16
+ * running and the tray menu fires this code path.
17
+ * 3. Compute relative to this file's own location. autostart.js lives at
18
+ * `<pkg>/src/cli/tray/autostart.js`, so cli.js is three levels up.
19
+ * This works for any global install layout (nvm, Volta, asdf, Homebrew,
20
+ * /usr/local, etc.) without depending on `npm bin -g` (removed in npm 9)
21
+ * or a hardcoded `/usr/local/...` path.
22
+ *
23
+ * Returns null if no candidate exists — callers should not write an autostart
24
+ * entry pointing at a non-existent script.
11
25
  */
12
- function getStartCommand() {
13
- // Find the global npm bin path for 9router
14
- try {
15
- const npmBin = execSync("npm bin -g", { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();
16
- const routerPath = path.join(npmBin, "9router");
17
- if (fs.existsSync(routerPath)) {
18
- return `"${routerPath}" --tray --skip-update`;
26
+ function getCliJsPath(cliPath) {
27
+ if (cliPath) {
28
+ const resolved = path.resolve(cliPath);
29
+ if (fs.existsSync(resolved)) return resolved;
30
+ }
31
+ if (process.argv[1]) {
32
+ const resolved = path.resolve(process.argv[1]);
33
+ if (path.basename(resolved) === "cli.js" && fs.existsSync(resolved)) {
34
+ return resolved;
19
35
  }
20
- } catch (e) {
21
- // npm not available or failed
22
36
  }
23
-
24
- // Fallback: use npx
25
- return "npx 9router --tray --skip-update";
37
+ const computed = path.resolve(__dirname, "..", "..", "..", "cli.js");
38
+ if (fs.existsSync(computed)) return computed;
39
+ return null;
26
40
  }
27
41
 
28
42
  /**
@@ -32,29 +46,17 @@ function getStartCommand() {
32
46
  */
33
47
  function enableAutoStart(cliPath) {
34
48
  const platform = process.platform;
35
-
36
- // Skip on unsupported platforms
37
- if (!["darwin", "win32", "linux"].includes(platform)) {
38
- return false;
39
- }
40
-
41
- // Skip on Linux without GUI
42
- if (platform === "linux" && !process.env.DISPLAY) {
43
- return false;
44
- }
45
-
49
+
50
+ if (!["darwin", "win32", "linux"].includes(platform)) return false;
51
+ if (platform === "linux" && !process.env.DISPLAY) return false;
52
+
46
53
  try {
47
- if (platform === "darwin") {
48
- return enableMacOS(cliPath);
49
- } else if (platform === "win32") {
50
- return enableWindows(cliPath);
51
- } else if (platform === "linux") {
52
- return enableLinux(cliPath);
53
- }
54
+ if (platform === "darwin") return enableMacOS(cliPath);
55
+ if (platform === "win32") return enableWindows(cliPath);
56
+ if (platform === "linux") return enableLinux(cliPath);
54
57
  } catch (err) {
55
- // Silent fail - autostart is optional
58
+ // Silent fail autostart is optional
56
59
  }
57
-
58
60
  return false;
59
61
  }
60
62
 
@@ -64,78 +66,99 @@ function enableAutoStart(cliPath) {
64
66
  */
65
67
  function disableAutoStart() {
66
68
  const platform = process.platform;
67
-
68
69
  try {
69
- if (platform === "darwin") {
70
- return disableMacOS();
71
- } else if (platform === "win32") {
72
- return disableWindows();
73
- } else if (platform === "linux") {
74
- return disableLinux();
75
- }
76
- } catch (err) {
77
- // Silent fail
78
- }
79
-
70
+ if (platform === "darwin") return disableMacOS();
71
+ if (platform === "win32") return disableWindows();
72
+ if (platform === "linux") return disableLinux();
73
+ } catch (err) {}
80
74
  return false;
81
75
  }
82
76
 
83
77
  /**
84
- * Check if autostart is enabled
85
- * @returns {boolean}
78
+ * Check if autostart is enabled.
79
+ *
80
+ * On macOS, both the plist file and the launchd registration must be present —
81
+ * otherwise the tray menu would lie about the state (showing "✓ Enabled" even
82
+ * when launchd has the agent in a failed state or hasn't loaded it).
86
83
  */
87
84
  function isAutoStartEnabled() {
88
85
  const platform = process.platform;
89
-
86
+
90
87
  try {
91
88
  if (platform === "darwin") {
92
89
  const plistPath = path.join(os.homedir(), "Library", "LaunchAgents", `${APP_LABEL}.plist`);
93
- return fs.existsSync(plistPath);
90
+ if (!fs.existsSync(plistPath)) return false;
91
+ try {
92
+ execSync(`launchctl list ${APP_LABEL}`, {
93
+ stdio: ["ignore", "ignore", "ignore"],
94
+ timeout: 3000
95
+ });
96
+ return true;
97
+ } catch (e) {
98
+ return false;
99
+ }
94
100
  } else if (platform === "win32") {
95
- const startupPath = path.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup", `${APP_NAME}.vbs`);
101
+ const startupPath = path.join(process.env.APPDATA || "", "Microsoft", "Windows", "Start Menu", "Programs", "Startup", `${APP_NAME}.vbs`);
96
102
  return fs.existsSync(startupPath);
97
103
  } else if (platform === "linux") {
98
104
  const desktopPath = path.join(os.homedir(), ".config", "autostart", `${APP_NAME}.desktop`);
99
105
  return fs.existsSync(desktopPath);
100
106
  }
101
107
  } catch (e) {}
102
-
103
108
  return false;
104
109
  }
105
110
 
106
111
  // ============ macOS ============
107
112
 
113
+ /**
114
+ * Returns true when the current Node process IS the running instance that
115
+ * launchd is managing under our agent label.
116
+ *
117
+ * `launchctl unload <plist>` (and `load`) for an Aqua user-domain agent sends
118
+ * SIGTERM to the running process. When the running 9router cli.js was itself
119
+ * spawned by the autostart launchd agent (i.e. user enabled autostart at
120
+ * some point, then rebooted, then clicked the tray icon's "Disable
121
+ * Auto-start" menu item), an unload would kill the very process executing
122
+ * the click handler — and the tray icon would disappear instead of the menu
123
+ * label flipping back to "Enable Auto-start". This helper lets the enable
124
+ * and disable paths sidestep that by skipping launchctl when we'd otherwise
125
+ * be killing ourselves.
126
+ */
127
+ function isAgentSelfMacOS() {
128
+ try {
129
+ const output = execSync(`launchctl list ${APP_LABEL}`, {
130
+ encoding: "utf8",
131
+ stdio: ["ignore", "pipe", "ignore"],
132
+ timeout: 3000
133
+ });
134
+ const match = output.match(/"PID"\s*=\s*(\d+)/);
135
+ return !!(match && parseInt(match[1], 10) === process.pid);
136
+ } catch (e) {
137
+ return false;
138
+ }
139
+ }
140
+
108
141
  function enableMacOS(cliPath) {
109
142
  const launchAgentsDir = path.join(os.homedir(), "Library", "LaunchAgents");
110
143
  const plistPath = path.join(launchAgentsDir, `${APP_LABEL}.plist`);
111
-
112
- // Ensure directory exists
144
+
113
145
  if (!fs.existsSync(launchAgentsDir)) {
114
146
  fs.mkdirSync(launchAgentsDir, { recursive: true });
115
147
  }
116
-
117
- // Get absolute paths for node and 9router script
148
+
118
149
  const nodePath = process.execPath;
119
- let routerScript;
120
-
121
- if (cliPath) {
122
- // Use provided path (from running cli.js)
123
- routerScript = path.resolve(cliPath);
124
- } else {
125
- // Fallback: try to resolve from npm bin
126
- try {
127
- const npmBin = execSync("npm bin -g", { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();
128
- const routerLink = path.join(npmBin, "9router");
129
- routerScript = fs.realpathSync(routerLink);
130
- } catch (e) {
131
- // Last resort fallback
132
- routerScript = "/usr/local/lib/node_modules/9router/cli.js";
133
- }
134
- }
135
-
136
- // Determine user shell
137
- const userShell = process.env.SHELL || '/bin/zsh';
138
-
150
+ const routerScript = getCliJsPath(cliPath);
151
+ // Don't write a broken plist that references a non-existent script.
152
+ if (!routerScript) return false;
153
+
154
+ // Invoke node + cli.js directly with absolute paths — no shell wrapper.
155
+ // The previous design ran `zsh -l -c "..."` so a login shell would source
156
+ // nvm/.zshrc and set PATH; that's fragile (nvm.sh sourcing varies by user,
157
+ // some setups don't put node on PATH from a non-interactive login shell).
158
+ // EnvironmentVariables.PATH explicitly includes node's bin dir so child
159
+ // processes spawned by cli.js (npm install at runtime, etc.) resolve.
160
+ const launchPath = `${path.dirname(nodePath)}:/usr/local/bin:/usr/bin:/bin`;
161
+
139
162
  const plistContent = `<?xml version="1.0" encoding="UTF-8"?>
140
163
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
141
164
  <plist version="1.0">
@@ -144,11 +167,16 @@ function enableMacOS(cliPath) {
144
167
  <string>${APP_LABEL}</string>
145
168
  <key>ProgramArguments</key>
146
169
  <array>
147
- <string>${userShell}</string>
148
- <string>-l</string>
149
- <string>-c</string>
150
- <string>${nodePath} ${routerScript} --tray --skip-update</string>
170
+ <string>${nodePath}</string>
171
+ <string>${routerScript}</string>
172
+ <string>--tray</string>
173
+ <string>--skip-update</string>
151
174
  </array>
175
+ <key>EnvironmentVariables</key>
176
+ <dict>
177
+ <key>PATH</key>
178
+ <string>${launchPath}</string>
179
+ </dict>
152
180
  <key>RunAtLoad</key>
153
181
  <true/>
154
182
  <key>KeepAlive</key>
@@ -159,98 +187,79 @@ function enableMacOS(cliPath) {
159
187
  <string>/tmp/9router.error.log</string>
160
188
  </dict>
161
189
  </plist>`;
162
-
190
+
163
191
  fs.writeFileSync(plistPath, plistContent);
164
-
165
- // Load the launch agent
192
+
193
+ // If we're the running agent already, launchctl unload/load would send
194
+ // ourselves SIGTERM. Skip it — the plist file is updated on disk and
195
+ // launchd will pick it up at next login. isAutoStartEnabled() will still
196
+ // return true because launchctl already has the agent loaded.
197
+ if (isAgentSelfMacOS()) {
198
+ return true;
199
+ }
200
+
201
+ // Register with launchd in the current session. Without this, the agent
202
+ // only takes effect on the next user login and the user has no signal that
203
+ // anything actually happened. `unload` first defends against re-enable
204
+ // replacing an existing plist.
166
205
  try {
167
- execSync(`launchctl unload "${plistPath}" 2>/dev/null`, { stdio: "ignore" });
206
+ execSync(`launchctl unload "${plistPath}"`, { stdio: "ignore" });
168
207
  } catch (e) {}
169
-
208
+ try {
209
+ execSync(`launchctl load -w "${plistPath}"`, { stdio: "ignore" });
210
+ } catch (e) {
211
+ // Even if load fails, the plist is on disk and will be picked up at next
212
+ // login; report success based on the file write.
213
+ }
170
214
  return true;
171
215
  }
172
216
 
173
217
  function disableMacOS() {
174
218
  const plistPath = path.join(os.homedir(), "Library", "LaunchAgents", `${APP_LABEL}.plist`);
175
-
176
- try {
177
- execSync(`launchctl unload "${plistPath}" 2>/dev/null`, { stdio: "ignore" });
178
- } catch (e) {}
179
-
219
+
220
+ // Don't kill ourselves: when the current process is the running agent,
221
+ // `launchctl unload` would send SIGTERM and the user clicking
222
+ // "Disable Auto-start" from the tray menu would lose their tray icon
223
+ // instead of just flipping the menu label. Skip the unload — removing the
224
+ // plist file is enough to prevent the agent from starting on next login.
225
+ if (!isAgentSelfMacOS()) {
226
+ try {
227
+ execSync(`launchctl unload "${plistPath}"`, { stdio: "ignore" });
228
+ } catch (e) {}
229
+ }
230
+
180
231
  if (fs.existsSync(plistPath)) {
181
232
  fs.unlinkSync(plistPath);
182
233
  }
183
-
184
234
  return true;
185
235
  }
186
236
 
187
237
  // ============ Windows ============
188
238
 
189
239
  function enableWindows(cliPath) {
190
- const startupDir = path.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup");
240
+ const startupDir = path.join(process.env.APPDATA || "", "Microsoft", "Windows", "Start Menu", "Programs", "Startup");
191
241
  const vbsPath = path.join(startupDir, `${APP_NAME}.vbs`);
192
-
193
- // Ensure startup directory exists
194
- if (!fs.existsSync(startupDir)) {
195
- return false;
196
- }
197
-
198
- // Get absolute paths
242
+
243
+ if (!fs.existsSync(startupDir)) return false;
244
+
199
245
  const nodePath = process.execPath;
200
- let routerScript;
201
-
202
- if (cliPath) {
203
- // Use provided path (from running cli.js)
204
- routerScript = path.resolve(cliPath);
205
- } else {
206
- // Fallback: try to resolve from npm bin
207
- try {
208
- const npmBin = execSync("npm bin -g", { encoding: "utf8", shell: true, stdio: ["ignore", "pipe", "ignore"] }).trim();
209
- const routerLink = path.join(npmBin, "9router.cmd");
210
- if (fs.existsSync(routerLink)) {
211
- routerScript = routerLink;
212
- } else {
213
- // Try to resolve actual script
214
- const routerJs = path.join(npmBin, "../lib/node_modules/9router/cli.js");
215
- if (fs.existsSync(routerJs)) {
216
- routerScript = routerJs;
217
- }
218
- }
219
- } catch (e) {
220
- // Fallback
221
- }
222
- }
223
-
224
- // Create VBS script to run hidden (no console window)
225
- let vbsContent;
226
- if (routerScript && routerScript.endsWith(".js")) {
227
- // Run node directly with script
228
- vbsContent = `Set WshShell = CreateObject("WScript.Shell")
246
+ const routerScript = getCliJsPath(cliPath);
247
+ if (!routerScript) return false;
248
+
249
+ // Run node + cli.js directly, hidden window. Avoids the fragile
250
+ // `9router.cmd` lookup that depended on the npm prefix path.
251
+ const vbsContent = `Set WshShell = CreateObject("WScript.Shell")
229
252
  WshShell.Run """${nodePath}"" ""${routerScript}"" --tray --skip-update", 0, False
230
253
  `;
231
- } else if (routerScript) {
232
- // Run .cmd file
233
- vbsContent = `Set WshShell = CreateObject("WScript.Shell")
234
- WshShell.Run """${routerScript}"" --tray --skip-update", 0, False
235
- `;
236
- } else {
237
- // Fallback to npx
238
- vbsContent = `Set WshShell = CreateObject("WScript.Shell")
239
- WshShell.Run "npx 9router --tray --skip-update", 0, False
240
- `;
241
- }
242
-
243
254
  fs.writeFileSync(vbsPath, vbsContent);
244
255
  return true;
245
256
  }
246
257
 
247
258
  function disableWindows() {
248
- const vbsPath = path.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup", `${APP_NAME}.vbs`);
249
-
259
+ const vbsPath = path.join(process.env.APPDATA || "", "Microsoft", "Windows", "Start Menu", "Programs", "Startup", `${APP_NAME}.vbs`);
250
260
  if (fs.existsSync(vbsPath)) {
251
261
  fs.unlinkSync(vbsPath);
252
262
  }
253
-
254
263
  return true;
255
264
  }
256
265
 
@@ -259,37 +268,16 @@ function disableWindows() {
259
268
  function enableLinux(cliPath) {
260
269
  const autostartDir = path.join(os.homedir(), ".config", "autostart");
261
270
  const desktopPath = path.join(autostartDir, `${APP_NAME}.desktop`);
262
-
263
- // Ensure directory exists
271
+
264
272
  if (!fs.existsSync(autostartDir)) {
265
- try {
266
- fs.mkdirSync(autostartDir, { recursive: true });
267
- } catch (e) {
268
- return false;
269
- }
273
+ try { fs.mkdirSync(autostartDir, { recursive: true }); }
274
+ catch (e) { return false; }
270
275
  }
271
-
272
- // Get absolute paths
276
+
273
277
  const nodePath = process.execPath;
274
- let routerScript;
275
-
276
- if (cliPath) {
277
- // Use provided path (from running cli.js)
278
- routerScript = path.resolve(cliPath);
279
- } else {
280
- // Fallback: try to resolve from npm bin
281
- try {
282
- const npmBin = execSync("npm bin -g", { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();
283
- const routerLink = path.join(npmBin, "9router");
284
- if (fs.existsSync(routerLink)) {
285
- routerScript = fs.realpathSync(routerLink);
286
- }
287
- } catch (e) {
288
- // Last resort fallback
289
- routerScript = "/usr/local/lib/node_modules/9router/cli.js";
290
- }
291
- }
292
-
278
+ const routerScript = getCliJsPath(cliPath);
279
+ if (!routerScript) return false;
280
+
293
281
  const desktopContent = `[Desktop Entry]
294
282
  Type=Application
295
283
  Name=9Router
@@ -299,18 +287,15 @@ Hidden=false
299
287
  NoDisplay=false
300
288
  X-GNOME-Autostart-enabled=true
301
289
  `;
302
-
303
290
  fs.writeFileSync(desktopPath, desktopContent);
304
291
  return true;
305
292
  }
306
293
 
307
294
  function disableLinux() {
308
295
  const desktopPath = path.join(os.homedir(), ".config", "autostart", `${APP_NAME}.desktop`);
309
-
310
296
  if (fs.existsSync(desktopPath)) {
311
297
  fs.unlinkSync(desktopPath);
312
298
  }
313
-
314
299
  return true;
315
300
  }
316
301