9router 0.2.87 → 0.2.89

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 (488) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +27 -26
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/routes-manifest.json +18 -12
  5. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +4 -4
  6. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  10. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  12. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  26. package/app/.next/server/app/_global-error.html +2 -2
  27. package/app/.next/server/app/_global-error.rsc +1 -1
  28. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  29. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  30. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  31. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  32. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  33. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  34. package/app/.next/server/app/_not-found/page.js +1 -1
  35. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/_not-found.html +1 -1
  37. package/app/.next/server/app/_not-found.rsc +2 -2
  38. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  39. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  40. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  41. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  42. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  43. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  44. package/app/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  47. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  49. package/app/.next/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  50. package/app/.next/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  53. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  54. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +1 -1
  55. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  56. package/app/.next/server/app/api/cloud/credentials/update/route_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  58. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +1 -1
  59. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  60. package/app/.next/server/app/api/cloud/models/alias/route.js.nft.json +1 -1
  61. package/app/.next/server/app/api/cloud/models/alias/route_client-reference-manifest.js +1 -1
  62. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  63. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  64. package/app/.next/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  65. package/app/.next/server/app/api/combos/route.js +1 -1
  66. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  67. package/app/.next/server/app/api/combos/route_client-reference-manifest.js +1 -1
  68. package/app/.next/server/app/api/init/route.js +1 -1
  69. package/app/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  71. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  72. package/app/.next/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  73. package/app/.next/server/app/api/keys/route.js +1 -1
  74. package/app/.next/server/app/api/keys/route_client-reference-manifest.js +1 -1
  75. package/app/.next/server/app/api/models/alias/route.js +1 -1
  76. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  77. package/app/.next/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  78. package/app/.next/server/app/api/models/route.js +1 -1
  79. package/app/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  80. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  81. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  82. package/app/.next/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  83. package/app/.next/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  84. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  85. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  86. package/app/.next/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  87. package/app/.next/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  88. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  89. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  90. package/app/.next/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  91. package/app/.next/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  92. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  93. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  94. package/app/.next/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  95. package/app/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  96. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  97. package/app/.next/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  98. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  99. package/app/.next/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  100. package/app/.next/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  101. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  102. package/app/.next/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  103. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  104. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  106. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  107. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  108. package/app/.next/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  109. package/app/.next/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  110. package/app/.next/server/app/api/providers/route.js +1 -1
  111. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  112. package/app/.next/server/app/api/providers/route_client-reference-manifest.js +1 -1
  113. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  114. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  115. package/app/.next/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  116. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  117. package/app/.next/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  118. package/app/.next/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  119. package/app/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  120. package/app/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  121. package/app/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
  122. package/app/.next/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  123. package/app/.next/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  124. package/app/.next/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  125. package/app/.next/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  126. package/app/.next/server/app/api/tunnel/disable/route.js +1 -0
  127. package/app/.next/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -0
  128. package/app/.next/server/app/api/tunnel/enable/route.js +1 -0
  129. package/app/.next/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -0
  130. package/app/.next/server/app/api/tunnel/status/route.js +1 -0
  131. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -0
  132. package/app/.next/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -0
  133. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  134. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  135. package/app/.next/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  136. package/app/.next/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  137. package/app/.next/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  138. package/app/.next/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  139. package/app/.next/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  140. package/app/.next/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  141. package/app/.next/server/app/api/usage/stream/route.js +6 -2
  142. package/app/.next/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  143. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  144. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  145. package/app/.next/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  146. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  147. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  148. package/app/.next/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  149. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  150. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  151. package/app/.next/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  152. package/app/.next/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  153. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  154. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  156. package/app/.next/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  157. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  158. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  159. package/app/.next/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  160. package/app/.next/server/app/api/v1/route_client-reference-manifest.js +1 -1
  161. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  162. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  164. package/app/.next/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  165. package/app/.next/server/app/callback/page.js +2 -2
  166. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  167. package/app/.next/server/app/callback.html +1 -1
  168. package/app/.next/server/app/callback.rsc +2 -2
  169. package/app/.next/server/app/callback.segments/_full.segment.rsc +2 -2
  170. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  171. package/app/.next/server/app/callback.segments/_index.segment.rsc +2 -2
  172. package/app/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
  173. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  174. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  175. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  176. package/app/.next/server/app/dashboard/cli-tools.rsc +4 -4
  177. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  178. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  179. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  180. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  181. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +4 -4
  182. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  183. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +2 -2
  184. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  185. package/app/.next/server/app/dashboard/combos.html +1 -1
  186. package/app/.next/server/app/dashboard/combos.rsc +4 -4
  187. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  188. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  189. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  190. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  191. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
  192. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  193. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +2 -2
  194. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  195. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  196. package/app/.next/server/app/dashboard/endpoint.rsc +4 -4
  197. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  198. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  199. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  200. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  201. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
  202. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  203. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +2 -2
  204. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  205. package/app/.next/server/app/dashboard/profile.html +1 -1
  206. package/app/.next/server/app/dashboard/profile.rsc +4 -4
  207. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  208. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  209. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  210. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  211. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  212. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  213. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +2 -2
  214. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  215. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  216. package/app/.next/server/app/dashboard/providers/new.rsc +4 -4
  217. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  218. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  219. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  220. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  221. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  222. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
  223. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  224. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +2 -2
  225. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  226. package/app/.next/server/app/dashboard/providers.html +1 -1
  227. package/app/.next/server/app/dashboard/providers.rsc +4 -4
  228. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  229. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  230. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  231. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  232. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
  233. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  234. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +2 -2
  235. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  236. package/app/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  237. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  238. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  239. package/app/.next/server/app/dashboard/settings/pricing.rsc +2 -2
  240. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +2 -2
  241. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  242. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +2 -2
  243. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  244. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  245. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  246. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  247. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  248. package/app/.next/server/app/dashboard/translator.html +1 -1
  249. package/app/.next/server/app/dashboard/translator.rsc +4 -4
  250. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  251. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  252. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  253. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  254. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +4 -4
  255. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  256. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +2 -2
  257. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  258. package/app/.next/server/app/dashboard/usage.html +1 -1
  259. package/app/.next/server/app/dashboard/usage.rsc +4 -4
  260. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  261. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  262. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  263. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  264. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +4 -4
  265. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  266. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +2 -2
  267. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  268. package/app/.next/server/app/dashboard.html +1 -1
  269. package/app/.next/server/app/dashboard.rsc +4 -4
  270. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  271. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  272. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  273. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +4 -4
  274. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  275. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +2 -2
  276. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  277. package/app/.next/server/app/index.html +1 -1
  278. package/app/.next/server/app/index.rsc +2 -2
  279. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  280. package/app/.next/server/app/index.segments/_full.segment.rsc +2 -2
  281. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  282. package/app/.next/server/app/index.segments/_index.segment.rsc +2 -2
  283. package/app/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  284. package/app/.next/server/app/landing/page.js +2 -2
  285. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  286. package/app/.next/server/app/landing.html +1 -1
  287. package/app/.next/server/app/landing.rsc +2 -2
  288. package/app/.next/server/app/landing.segments/_full.segment.rsc +2 -2
  289. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  290. package/app/.next/server/app/landing.segments/_index.segment.rsc +2 -2
  291. package/app/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
  292. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  293. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  294. package/app/.next/server/app/login/page.js +1 -1
  295. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  296. package/app/.next/server/app/login.html +1 -1
  297. package/app/.next/server/app/login.rsc +3 -3
  298. package/app/.next/server/app/login.segments/_full.segment.rsc +3 -3
  299. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  300. package/app/.next/server/app/login.segments/_index.segment.rsc +2 -2
  301. package/app/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  302. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  303. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  304. package/app/.next/server/app/page.js +1 -1
  305. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  306. package/app/.next/server/app-paths-manifest.json +27 -26
  307. package/app/.next/server/chunks/3990.js +2 -2
  308. package/app/.next/server/chunks/412.js +1 -1
  309. package/app/.next/server/chunks/6084.js +1 -0
  310. package/app/.next/server/chunks/{5330.js → 7189.js} +3 -3
  311. package/app/.next/server/chunks/7533.js +1 -0
  312. package/app/.next/server/chunks/8954.js +1 -1
  313. package/app/.next/server/chunks/9489.js +1 -1
  314. package/app/.next/server/chunks/9718.js +1 -1
  315. package/app/.next/server/chunks/9862.js +2 -2
  316. package/app/.next/server/pages/404.html +1 -1
  317. package/app/.next/server/pages/500.html +2 -2
  318. package/app/.next/server/server-reference-manifest.js +1 -1
  319. package/app/.next/server/server-reference-manifest.json +1 -1
  320. package/app/.next/server/webpack-runtime.js +1 -1
  321. package/app/.next/static/0kBQAQeQcXjhcg1PkyrJY/_buildManifest.js +1 -0
  322. package/app/.next/static/chunks/1393-1761cc0c24573e2e.js +3 -0
  323. package/app/.next/static/chunks/5497-590ec825fbd92e55.js +7 -0
  324. package/app/.next/static/chunks/{8729-4d9f5ebc26ea7fb5.js → 8729-8e5ba4c38b294fe1.js} +1 -1
  325. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-f1a3de0e067ff7c4.js +15 -0
  326. package/app/.next/static/chunks/app/_global-error/page-6fc4c655a6c0cae7.js +1 -0
  327. package/app/.next/static/chunks/app/api/auth/login/route-6fc4c655a6c0cae7.js +1 -0
  328. package/app/.next/static/chunks/app/api/auth/logout/route-6fc4c655a6c0cae7.js +1 -0
  329. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-6fc4c655a6c0cae7.js +1 -0
  330. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-6fc4c655a6c0cae7.js +1 -0
  331. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-6fc4c655a6c0cae7.js +1 -0
  332. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-6fc4c655a6c0cae7.js +1 -0
  333. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-6fc4c655a6c0cae7.js +1 -0
  334. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-6fc4c655a6c0cae7.js +1 -0
  335. package/app/.next/static/chunks/app/api/cloud/auth/route-6fc4c655a6c0cae7.js +1 -0
  336. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-6fc4c655a6c0cae7.js +1 -0
  337. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-6fc4c655a6c0cae7.js +1 -0
  338. package/app/.next/static/chunks/app/api/cloud/models/alias/route-6fc4c655a6c0cae7.js +1 -0
  339. package/app/.next/static/chunks/app/api/combos/[id]/route-6fc4c655a6c0cae7.js +1 -0
  340. package/app/.next/static/chunks/app/api/combos/route-6fc4c655a6c0cae7.js +1 -0
  341. package/app/.next/static/chunks/app/api/init/route-6fc4c655a6c0cae7.js +1 -0
  342. package/app/.next/static/chunks/app/api/keys/[id]/route-6fc4c655a6c0cae7.js +1 -0
  343. package/app/.next/static/chunks/app/api/keys/route-6fc4c655a6c0cae7.js +1 -0
  344. package/app/.next/static/chunks/app/api/models/alias/route-6fc4c655a6c0cae7.js +1 -0
  345. package/app/.next/static/chunks/app/api/models/route-6fc4c655a6c0cae7.js +1 -0
  346. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-6fc4c655a6c0cae7.js +1 -0
  347. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-6fc4c655a6c0cae7.js +1 -0
  348. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-6fc4c655a6c0cae7.js +1 -0
  349. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-6fc4c655a6c0cae7.js +1 -0
  350. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-6fc4c655a6c0cae7.js +1 -0
  351. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-6fc4c655a6c0cae7.js +1 -0
  352. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-6fc4c655a6c0cae7.js +1 -0
  353. package/app/.next/static/chunks/app/api/pricing/route-6fc4c655a6c0cae7.js +1 -0
  354. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-6fc4c655a6c0cae7.js +1 -0
  355. package/app/.next/static/chunks/app/api/provider-nodes/route-6fc4c655a6c0cae7.js +1 -0
  356. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-6fc4c655a6c0cae7.js +1 -0
  357. package/app/.next/static/chunks/app/api/providers/[id]/models/route-6fc4c655a6c0cae7.js +1 -0
  358. package/app/.next/static/chunks/app/api/providers/[id]/route-6fc4c655a6c0cae7.js +1 -0
  359. package/app/.next/static/chunks/app/api/providers/[id]/test/route-6fc4c655a6c0cae7.js +1 -0
  360. package/app/.next/static/chunks/app/api/providers/client/route-6fc4c655a6c0cae7.js +1 -0
  361. package/app/.next/static/chunks/app/api/providers/route-6fc4c655a6c0cae7.js +1 -0
  362. package/app/.next/static/chunks/app/api/providers/test-batch/route-6fc4c655a6c0cae7.js +1 -0
  363. package/app/.next/static/chunks/app/api/providers/validate/route-6fc4c655a6c0cae7.js +1 -0
  364. package/app/.next/static/chunks/app/api/settings/require-login/route-6fc4c655a6c0cae7.js +1 -0
  365. package/app/.next/static/chunks/app/api/settings/route-6fc4c655a6c0cae7.js +1 -0
  366. package/app/.next/static/chunks/app/api/shutdown/route-6fc4c655a6c0cae7.js +1 -0
  367. package/app/.next/static/chunks/app/api/tags/route-6fc4c655a6c0cae7.js +1 -0
  368. package/app/.next/static/chunks/app/api/translator/load/route-6fc4c655a6c0cae7.js +1 -0
  369. package/app/.next/static/chunks/app/api/translator/save/route-6fc4c655a6c0cae7.js +1 -0
  370. package/app/.next/static/chunks/app/api/translator/send/route-6fc4c655a6c0cae7.js +1 -0
  371. package/app/.next/static/chunks/app/api/translator/translate/route-6fc4c655a6c0cae7.js +1 -0
  372. package/app/.next/static/chunks/app/api/tunnel/disable/route-6fc4c655a6c0cae7.js +1 -0
  373. package/app/.next/static/chunks/app/api/tunnel/enable/route-6fc4c655a6c0cae7.js +1 -0
  374. package/app/.next/static/chunks/app/api/tunnel/status/route-6fc4c655a6c0cae7.js +1 -0
  375. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-6fc4c655a6c0cae7.js +1 -0
  376. package/app/.next/static/chunks/app/api/usage/chart/route-6fc4c655a6c0cae7.js +1 -0
  377. package/app/.next/static/chunks/app/api/usage/history/route-6fc4c655a6c0cae7.js +1 -0
  378. package/app/.next/static/chunks/app/api/usage/providers/route-6fc4c655a6c0cae7.js +1 -0
  379. package/app/.next/static/chunks/app/api/usage/request-details/route-6fc4c655a6c0cae7.js +1 -0
  380. package/app/.next/static/chunks/app/api/usage/request-logs/route-6fc4c655a6c0cae7.js +1 -0
  381. package/app/.next/static/chunks/app/api/usage/stream/route-6fc4c655a6c0cae7.js +1 -0
  382. package/app/.next/static/chunks/app/api/v1/api/chat/route-6fc4c655a6c0cae7.js +1 -0
  383. package/app/.next/static/chunks/app/api/v1/chat/completions/route-6fc4c655a6c0cae7.js +1 -0
  384. package/app/.next/static/chunks/app/api/v1/embeddings/route-6fc4c655a6c0cae7.js +1 -0
  385. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-6fc4c655a6c0cae7.js +1 -0
  386. package/app/.next/static/chunks/app/api/v1/messages/route-6fc4c655a6c0cae7.js +1 -0
  387. package/app/.next/static/chunks/app/api/v1/models/route-6fc4c655a6c0cae7.js +1 -0
  388. package/app/.next/static/chunks/app/api/v1/responses/route-6fc4c655a6c0cae7.js +1 -0
  389. package/app/.next/static/chunks/app/api/v1/route-6fc4c655a6c0cae7.js +1 -0
  390. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-6fc4c655a6c0cae7.js +1 -0
  391. package/app/.next/static/chunks/app/api/v1beta/models/route-6fc4c655a6c0cae7.js +1 -0
  392. package/app/.next/static/chunks/app/page-6fc4c655a6c0cae7.js +1 -0
  393. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-6fc4c655a6c0cae7.js +1 -0
  394. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-6fc4c655a6c0cae7.js +1 -0
  395. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-6fc4c655a6c0cae7.js +1 -0
  396. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6fc4c655a6c0cae7.js +1 -0
  397. package/app/package.json +1 -1
  398. package/cli.js +4 -4
  399. package/package.json +1 -1
  400. package/src/cli/api/client.js +33 -0
  401. package/src/cli/menus/settings.js +38 -27
  402. package/src/cli/terminalUI.js +8 -10
  403. package/src/cli/tray/icon.png +0 -0
  404. package/src/cli/tray/tray.js +3 -2
  405. package/src/cli/utils/endpoint.js +10 -12
  406. package/app/.next/server/app/api/sync/cloud/route.js +0 -1
  407. package/app/.next/server/app/api/sync/cloud/route_client-reference-manifest.js +0 -1
  408. package/app/.next/server/app/api/sync/initialize/route.js +0 -1
  409. package/app/.next/server/app/api/sync/initialize/route_client-reference-manifest.js +0 -1
  410. package/app/.next/server/chunks/1638.js +0 -1
  411. package/app/.next/server/chunks/8647.js +0 -1
  412. package/app/.next/static/chunks/1393-5b60aa357f848139.js +0 -3
  413. package/app/.next/static/chunks/5497-825dd88e0a663cfe.js +0 -7
  414. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-d5e2be111394971e.js +0 -15
  415. package/app/.next/static/chunks/app/_global-error/page-d1d78f0818dfa7f5.js +0 -1
  416. package/app/.next/static/chunks/app/api/auth/login/route-d1d78f0818dfa7f5.js +0 -1
  417. package/app/.next/static/chunks/app/api/auth/logout/route-d1d78f0818dfa7f5.js +0 -1
  418. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-d1d78f0818dfa7f5.js +0 -1
  419. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-d1d78f0818dfa7f5.js +0 -1
  420. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-d1d78f0818dfa7f5.js +0 -1
  421. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-d1d78f0818dfa7f5.js +0 -1
  422. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-d1d78f0818dfa7f5.js +0 -1
  423. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-d1d78f0818dfa7f5.js +0 -1
  424. package/app/.next/static/chunks/app/api/cloud/auth/route-d1d78f0818dfa7f5.js +0 -1
  425. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-d1d78f0818dfa7f5.js +0 -1
  426. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-d1d78f0818dfa7f5.js +0 -1
  427. package/app/.next/static/chunks/app/api/cloud/models/alias/route-d1d78f0818dfa7f5.js +0 -1
  428. package/app/.next/static/chunks/app/api/combos/[id]/route-d1d78f0818dfa7f5.js +0 -1
  429. package/app/.next/static/chunks/app/api/combos/route-d1d78f0818dfa7f5.js +0 -1
  430. package/app/.next/static/chunks/app/api/init/route-d1d78f0818dfa7f5.js +0 -1
  431. package/app/.next/static/chunks/app/api/keys/[id]/route-d1d78f0818dfa7f5.js +0 -1
  432. package/app/.next/static/chunks/app/api/keys/route-d1d78f0818dfa7f5.js +0 -1
  433. package/app/.next/static/chunks/app/api/models/alias/route-d1d78f0818dfa7f5.js +0 -1
  434. package/app/.next/static/chunks/app/api/models/route-d1d78f0818dfa7f5.js +0 -1
  435. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-d1d78f0818dfa7f5.js +0 -1
  436. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-d1d78f0818dfa7f5.js +0 -1
  437. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-d1d78f0818dfa7f5.js +0 -1
  438. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-d1d78f0818dfa7f5.js +0 -1
  439. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-d1d78f0818dfa7f5.js +0 -1
  440. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-d1d78f0818dfa7f5.js +0 -1
  441. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-d1d78f0818dfa7f5.js +0 -1
  442. package/app/.next/static/chunks/app/api/pricing/route-d1d78f0818dfa7f5.js +0 -1
  443. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-d1d78f0818dfa7f5.js +0 -1
  444. package/app/.next/static/chunks/app/api/provider-nodes/route-d1d78f0818dfa7f5.js +0 -1
  445. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-d1d78f0818dfa7f5.js +0 -1
  446. package/app/.next/static/chunks/app/api/providers/[id]/models/route-d1d78f0818dfa7f5.js +0 -1
  447. package/app/.next/static/chunks/app/api/providers/[id]/route-d1d78f0818dfa7f5.js +0 -1
  448. package/app/.next/static/chunks/app/api/providers/[id]/test/route-d1d78f0818dfa7f5.js +0 -1
  449. package/app/.next/static/chunks/app/api/providers/client/route-d1d78f0818dfa7f5.js +0 -1
  450. package/app/.next/static/chunks/app/api/providers/route-d1d78f0818dfa7f5.js +0 -1
  451. package/app/.next/static/chunks/app/api/providers/test-batch/route-d1d78f0818dfa7f5.js +0 -1
  452. package/app/.next/static/chunks/app/api/providers/validate/route-d1d78f0818dfa7f5.js +0 -1
  453. package/app/.next/static/chunks/app/api/settings/require-login/route-d1d78f0818dfa7f5.js +0 -1
  454. package/app/.next/static/chunks/app/api/settings/route-d1d78f0818dfa7f5.js +0 -1
  455. package/app/.next/static/chunks/app/api/shutdown/route-d1d78f0818dfa7f5.js +0 -1
  456. package/app/.next/static/chunks/app/api/sync/cloud/route-d1d78f0818dfa7f5.js +0 -1
  457. package/app/.next/static/chunks/app/api/sync/initialize/route-d1d78f0818dfa7f5.js +0 -1
  458. package/app/.next/static/chunks/app/api/tags/route-d1d78f0818dfa7f5.js +0 -1
  459. package/app/.next/static/chunks/app/api/translator/load/route-d1d78f0818dfa7f5.js +0 -1
  460. package/app/.next/static/chunks/app/api/translator/save/route-d1d78f0818dfa7f5.js +0 -1
  461. package/app/.next/static/chunks/app/api/translator/send/route-d1d78f0818dfa7f5.js +0 -1
  462. package/app/.next/static/chunks/app/api/translator/translate/route-d1d78f0818dfa7f5.js +0 -1
  463. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-d1d78f0818dfa7f5.js +0 -1
  464. package/app/.next/static/chunks/app/api/usage/chart/route-d1d78f0818dfa7f5.js +0 -1
  465. package/app/.next/static/chunks/app/api/usage/history/route-d1d78f0818dfa7f5.js +0 -1
  466. package/app/.next/static/chunks/app/api/usage/providers/route-d1d78f0818dfa7f5.js +0 -1
  467. package/app/.next/static/chunks/app/api/usage/request-details/route-d1d78f0818dfa7f5.js +0 -1
  468. package/app/.next/static/chunks/app/api/usage/request-logs/route-d1d78f0818dfa7f5.js +0 -1
  469. package/app/.next/static/chunks/app/api/usage/stream/route-d1d78f0818dfa7f5.js +0 -1
  470. package/app/.next/static/chunks/app/api/v1/api/chat/route-d1d78f0818dfa7f5.js +0 -1
  471. package/app/.next/static/chunks/app/api/v1/chat/completions/route-d1d78f0818dfa7f5.js +0 -1
  472. package/app/.next/static/chunks/app/api/v1/embeddings/route-d1d78f0818dfa7f5.js +0 -1
  473. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-d1d78f0818dfa7f5.js +0 -1
  474. package/app/.next/static/chunks/app/api/v1/messages/route-d1d78f0818dfa7f5.js +0 -1
  475. package/app/.next/static/chunks/app/api/v1/models/route-d1d78f0818dfa7f5.js +0 -1
  476. package/app/.next/static/chunks/app/api/v1/responses/route-d1d78f0818dfa7f5.js +0 -1
  477. package/app/.next/static/chunks/app/api/v1/route-d1d78f0818dfa7f5.js +0 -1
  478. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-d1d78f0818dfa7f5.js +0 -1
  479. package/app/.next/static/chunks/app/api/v1beta/models/route-d1d78f0818dfa7f5.js +0 -1
  480. package/app/.next/static/chunks/app/page-d1d78f0818dfa7f5.js +0 -1
  481. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-d1d78f0818dfa7f5.js +0 -1
  482. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-d1d78f0818dfa7f5.js +0 -1
  483. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-d1d78f0818dfa7f5.js +0 -1
  484. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-d1d78f0818dfa7f5.js +0 -1
  485. package/app/.next/static/jWN0ATVbXrki9UzHFr5nv/_buildManifest.js +0 -1
  486. /package/app/.next/server/app/api/{sync/cloud → tunnel/disable}/route.js.nft.json +0 -0
  487. /package/app/.next/server/app/api/{sync/initialize → tunnel/enable}/route.js.nft.json +0 -0
  488. /package/app/.next/static/{jWN0ATVbXrki9UzHFr5nv → 0kBQAQeQcXjhcg1PkyrJY}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/tunnel/enable/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"87226","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16183":{"*":{"id":"90587","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"38982":{"*":{"id":"31941","name":"*","chunks":[],"async":false}},"39378":{"*":{"id":"89890","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"76653","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"5291","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"55236","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"83352","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"86739","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"42196","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"43173","name":"*","chunks":[],"async":false}},"97162":{"*":{"id":"83380","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/Working/router4/app/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":35154,"name":"*","chunks":["8729","static/chunks/8729-8e5ba4c38b294fe1.js","7177","static/chunks/app/layout-a9ae8d014d5d7102.js"],"async":false},"/Users/Working/router4/app/src/app/globals.css":{"id":51743,"name":"*","chunks":["8729","static/chunks/8729-8e5ba4c38b294fe1.js","7177","static/chunks/app/layout-a9ae8d014d5d7102.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Header.js":{"id":74891,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ModelSelectModal.js":{"id":72908,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Sidebar.js":{"id":92622,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/UsageStats.js":{"id":4809,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/combos/page.js":{"id":47295,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":97162,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/translator/page.js":{"id":69472,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/usage/page.js":{"id":38982,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":39378,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/page.js":{"id":16183,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/Working/router4/app/src/":[],"/Users/Working/router4/app/src/app/layout":[{"inlined":false,"path":"static/css/6a76c1062906da03.css"}],"/Users/Working/router4/app/src/app/page":[],"/Users/Working/router4/app/src/app/(dashboard)/layout":[{"inlined":false,"path":"static/css/599369d853c61df7.css"}],"/Users/Working/router4/app/src/app/api/tunnel/enable/route":[]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16183":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"38982":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"39378":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"97162":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var a={};a.id=3397,a.ids=[3397],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3179:(a,b,c)=>{"use strict";c.d(b,{Al:()=>t,F0:()=>v,nN:()=>x,ss:()=>w});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(55591),i=c.n(h),j=c(21820),k=c.n(j),l=c(79646),m=c(85567);let n=g().join(k().homedir(),".9router","bin"),o="cloudflared",p="win32"===k().platform(),q=p?`${o}.exe`:o,r=g().join(n,q),s={darwin:{x64:"cloudflared-darwin-amd64.tgz",arm64:"cloudflared-darwin-amd64.tgz"},win32:{x64:"cloudflared-windows-amd64.exe"},linux:{x64:"cloudflared-linux-amd64",arm64:"cloudflared-linux-arm64"}};async function t(){if(e().existsSync(n)||e().mkdirSync(n,{recursive:!0}),e().existsSync(r))return p||e().chmodSync(r,"755"),r;let a=function(){let a=k().platform(),b=k().arch(),c=s[a];if(!c)throw Error(`Unsupported platform: ${a}`);let d=c[b];if(!d)throw Error(`Unsupported architecture: ${b} for platform ${a}`);return`https://github.com/cloudflare/cloudflared/releases/latest/download/${d}`}(),b=a.endsWith(".tgz"),c=b?g().join(n,"cloudflared.tgz"):r;return await function a(b,c){return new Promise((d,f)=>{let g=e().createWriteStream(c);i().get(b,b=>{if([301,302].includes(b.statusCode)){g.close(),e().unlinkSync(c),a(b.headers.location,c).then(d).catch(f);return}if(200!==b.statusCode){g.close(),e().unlinkSync(c),f(Error(`Download failed with status ${b.statusCode}`));return}b.pipe(g),g.on("finish",()=>{g.close(()=>d(c))}),g.on("error",a=>{g.close(),e().unlinkSync(c),f(a)})}).on("error",a=>{g.close(),e().existsSync(c)&&e().unlinkSync(c),f(a)})})}(a,c),b&&((0,l.execSync)(`tar -xzf "${c}" -C "${n}"`,{stdio:"pipe"}),e().unlinkSync(c)),p||e().chmodSync(r,"755"),r}let u=null;async function v(a){let b=await t(),c=(0,l.spawn)(b,["tunnel","run","--dns-resolver-addrs","1.1.1.1:53","--token",a],{detached:!1,stdio:["ignore","pipe","pipe"]});return u=c,(0,m.xS)(c.pid),new Promise((a,b)=>{let d=0,e=setTimeout(()=>{a(c)},9e4),f=b=>{b.toString().includes("Registered tunnel connection")&&++d>=4&&(clearTimeout(e),a(c))};c.stdout.on("data",f),c.stderr.on("data",f),c.on("error",a=>{clearTimeout(e),b(a)}),c.on("exit",a=>{clearTimeout(e),0===d&&b(Error(`cloudflared exited with code ${a}`))})})}function w(){if(u){try{u.kill()}catch(a){}u=null}let a=(0,m.Cr)();if(a){try{process.kill(a)}catch(a){}(0,m.r4)()}try{(0,l.execSync)("pkill -f cloudflared 2>/dev/null || true",{stdio:"ignore"})}catch(a){}}function x(){let a=(0,m.Cr)();if(!a)return!1;try{return process.kill(a,0),!0}catch(a){return!1}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14876:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(53855);async function x(){try{let a=await (0,w.Jv)();return v.NextResponse.json(a)}catch(a){return console.error("Tunnel status error:",a),v.NextResponse.json({error:a.message},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/tunnel/status/route",pathname:"/api/tunnel/status",filename:"route",bundlePath:"app/api/tunnel/status/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/app/src/app/api/tunnel/status/route.js",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/tunnel/status/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>y.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},21820:a=>{"use strict";a.exports=require("os")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53855:(a,b,c)=>{"use strict";c.d(b,{Jv:()=>n,Rg:()=>m,cb:()=>l});var d=c(55511),e=c.n(d),f=c(85567),g=c(3179),h=c(89718);let i=process.env.TUNNEL_WORKER_URL||"https://tunnel.9router.com",j="abcdefghijklmnpqrstuvwxyz23456789";async function k(a,b={}){let c=`${i}${a}`;return(await fetch(c,{...b,headers:{"Content-Type":"application/json",...b.headers}})).json()}async function l(){let a=(0,f.C7)();if(a&&a.tunnelUrl&&(0,g.nN)())return{success:!0,tunnelUrl:a.tunnelUrl,shortId:a.shortId,alreadyRunning:!0};(0,g.ss)();let b=function(){try{let{machineIdSync:a}=c(19713),b=a();return e().createHash("sha256").update(b+"9router-tunnel-salt").digest("hex").substring(0,16)}catch(a){return e().randomUUID().replace(/-/g,"").substring(0,16)}}(),d=a?.shortId||function(){let a="";for(let b=0;b<6;b++)a+=j.charAt(Math.floor(Math.random()*j.length));return a}(),i=a?.apiKey||function(a){let b="abcdefghijklmnopqrstuvwxyz0123456789",c="";for(let a=0;a<6;a++)c+=b.charAt(Math.floor(Math.random()*b.length));let d=e().createHmac("sha256","9router-tunnel-api-key-secret").update(a+c).digest("hex").slice(0,8);return`sk-${a}-${c}-${d}`}(b);await k("/api/session/create",{method:"POST",body:JSON.stringify({apiKey:i,shortId:d})});let l=await k("/api/tunnel/create",{method:"POST",body:JSON.stringify({apiKey:i})});if(l.error)throw Error(l.error);let{token:m,hostname:n}=l;return await (0,g.F0)(m),(0,f.LZ)({shortId:d,apiKey:i,tunnelUrl:n,machineId:b}),await (0,h.Xx)({tunnelEnabled:!0,tunnelUrl:n}),{success:!0,tunnelUrl:n,shortId:d}}async function m(){let a=(0,f.C7)();if((0,g.ss)(),a?.apiKey)try{await k("/api/tunnel/delete",{method:"DELETE",body:JSON.stringify({apiKey:a.apiKey})})}catch(a){}return a&&(0,f.LZ)({shortId:a.shortId,apiKey:a.apiKey,machineId:a.machineId,tunnelUrl:null}),await (0,h.Xx)({tunnelEnabled:!1,tunnelUrl:""}),{success:!0}}async function n(){let a=(0,f.C7)(),b=(0,g.nN)();return{enabled:!0===(await (0,h.getSettings)()).tunnelEnabled&&b,tunnelUrl:a?.tunnelUrl||"",shortId:a?.shortId||"",running:b}}},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},85567:(a,b,c)=>{"use strict";c.d(b,{C7:()=>n,Cr:()=>q,LZ:()=>o,r4:()=>r,xS:()=>p});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j=g().join(i().homedir(),".9router","tunnel"),k=g().join(j,"state.json"),l=g().join(j,"cloudflared.pid");function m(){e().existsSync(j)||e().mkdirSync(j,{recursive:!0})}function n(){try{if(e().existsSync(k))return JSON.parse(e().readFileSync(k,"utf8"))}catch(a){}return null}function o(a){m(),e().writeFileSync(k,JSON.stringify(a,null,2))}function p(a){m(),e().writeFileSync(l,a.toString())}function q(){try{if(e().existsSync(l))return parseInt(e().readFileSync(l,"utf8"))}catch(a){}return null}function r(){try{e().existsSync(l)&&e().unlinkSync(l)}catch(a){}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,5270,9718],()=>b(b.s=14876));module.exports=c})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../../package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/4741.js","../../../../chunks/5270.js","../../../../chunks/6844.js","../../../../chunks/7341.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/tunnel/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"87226","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16183":{"*":{"id":"90587","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"38982":{"*":{"id":"31941","name":"*","chunks":[],"async":false}},"39378":{"*":{"id":"89890","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"76653","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"5291","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"55236","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"83352","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"86739","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"42196","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"43173","name":"*","chunks":[],"async":false}},"97162":{"*":{"id":"83380","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/Working/router4/app/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":35154,"name":"*","chunks":["8729","static/chunks/8729-8e5ba4c38b294fe1.js","7177","static/chunks/app/layout-a9ae8d014d5d7102.js"],"async":false},"/Users/Working/router4/app/src/app/globals.css":{"id":51743,"name":"*","chunks":["8729","static/chunks/8729-8e5ba4c38b294fe1.js","7177","static/chunks/app/layout-a9ae8d014d5d7102.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Header.js":{"id":74891,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ModelSelectModal.js":{"id":72908,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Sidebar.js":{"id":92622,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/shared/components/UsageStats.js":{"id":4809,"name":"*","chunks":["4335","static/chunks/c6123951-59125299ca0d7b46.js","600","static/chunks/600-3e3d52de0d15664e.js","1672","static/chunks/1672-4ed8fbaefe011b6e.js","8729","static/chunks/8729-8e5ba4c38b294fe1.js","5497","static/chunks/5497-590ec825fbd92e55.js","9305","static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js"],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/combos/page.js":{"id":47295,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":97162,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/translator/page.js":{"id":69472,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/usage/page.js":{"id":38982,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":39378,"name":"*","chunks":[],"async":false},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/providers/page.js":{"id":16183,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/Working/router4/app/src/":[],"/Users/Working/router4/app/src/app/layout":[{"inlined":false,"path":"static/css/6a76c1062906da03.css"}],"/Users/Working/router4/app/src/app/page":[],"/Users/Working/router4/app/src/app/(dashboard)/layout":[{"inlined":false,"path":"static/css/599369d853c61df7.css"}],"/Users/Working/router4/app/src/app/api/tunnel/status/route":[]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16183":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"38982":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"39378":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"97162":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=907,a.ids=[907],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},18271:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>m});var e=c(89718),f=c(87250),g=c(99675),h=c(55330),i=c(99821),j=a([h]);async function k(){try{let a=await (0,f.D1)();if(!a)return;await (0,i.syncToCloud)(a)}catch(a){console.error("[Usage API] Error syncing to cloud:",a)}}async function l(a){let b=(0,h.SB)(a.provider),c={accessToken:a.accessToken,refreshToken:a.refreshToken,expiresAt:a.tokenExpiresAt,providerSpecificData:a.providerSpecificData,copilotToken:a.providerSpecificData?.copilotToken,copilotTokenExpiresAt:a.providerSpecificData?.copilotTokenExpiresAt};if(!b.needsRefresh(c))return{connection:a,refreshed:!1};let d=await b.refreshCredentials(c,console);if(!d){if("github"===a.provider&&a.accessToken)return{connection:a,refreshed:!1};throw Error("Failed to refresh credentials. Please re-authorize the connection.")}let f={updatedAt:new Date().toISOString()};return d.accessToken&&(f.accessToken=d.accessToken),d.refreshToken&&(f.refreshToken=d.refreshToken),d.expiresIn?f.tokenExpiresAt=new Date(Date.now()+1e3*d.expiresIn).toISOString():d.expiresAt&&(f.tokenExpiresAt=d.expiresAt),(d.copilotToken||d.copilotTokenExpiresAt)&&(f.providerSpecificData={...a.providerSpecificData,copilotToken:d.copilotToken,copilotTokenExpiresAt:d.copilotTokenExpiresAt}),await (0,e.rj)(a.id,f),{connection:{...a,...f},refreshed:!0}}async function m(a,{params:b}){try{let{connectionId:a}=await b,c=await (0,e.Mc)(a);if(!c)return Response.json({error:"Connection not found"},{status:404});if("oauth"!==c.authType)return Response.json({message:"Usage not available for API key connections"});try{let a=await l(c);c=a.connection,a.refreshed&&await k()}catch(a){return console.error("[Usage API] Credential refresh failed:",a),Response.json({error:`Credential refresh failed: ${a.message}`},{status:401})}let d=await (0,g.m)(c);return Response.json(d)}catch(a){return console.error("[Usage API] Error fetching usage:",a),console.error("[Usage API] Error stack:",a.stack),Response.json({error:a.message},{status:500})}}h=(j.then?(await j)():j)[0],d()}catch(a){d(a)}})},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},54603:(a,b,c)=>{c.d(b,{Xj:()=>e});var d=c(19713);async function e(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt";try{let a=(0,d.machineIdSync)();return(await Promise.resolve().then(c.t.bind(c,55511,23))).createHash("sha256").update(a+b).digest("hex").substring(0,16)}catch(a){return console.log("Error getting machine ID:",a),crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){let b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}}},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},74548:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>y,patchFetch:()=>x,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(18271),w=a([v]);v=(w.then?(await w)():w)[0];let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/usage/[connectionId]/route",pathname:"/api/usage/[connectionId]",filename:"route",bundlePath:"app/api/usage/[connectionId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/app/src/app/api/usage/[connectionId]/route.js",nextConfigOutput:"standalone",userland:v}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function x(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function y(a,b,c){z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/usage/[connectionId]/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||z.isDev||y||(K=E,K="/index"===K?"/":K);let L=!0===z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>z.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87250:(a,b,c)=>{c.d(b,{D1:()=>e});var d=c(54603);async function e(){return await (0,d.Xj)()}},87550:a=>{a.exports=require("better-sqlite3")},94735:a=>{a.exports=require("events")},99675:(a,b,c)=>{c.d(b,{m:()=>f});var d=c(2255);let e={quotaApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",loadProjectApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",tokenUrl:"https://oauth2.googleapis.com/token",clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",userAgent:(0,d.A9)()};async function f(a){let{provider:b,accessToken:c,providerSpecificData:d}=a;switch(b){case"github":return await h(c,d);case"gemini-cli":return await j(c);case"antigravity":return await k(c);case"claude":return await n(c);case"codex":return await o(c);case"kiro":return await p(c,d);case"qwen":return await q(c,d);case"iflow":return await r(c);default:return{message:`Usage API not implemented for ${b}`}}}function g(a){if(!a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a||"string"==typeof a)return new Date(a).toISOString();return null}catch(b){return console.warn(`Failed to parse reset time: ${a}`,b),null}}async function h(a,b){try{if(!a)throw Error("No GitHub access token available. Please re-authorize the connection.");let b=await fetch("https://api.github.com/copilot_internal/user",{headers:{Authorization:`token ${a}`,Accept:"application/json","X-GitHub-Api-Version":"2022-11-28","User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.100.0","Editor-Plugin-Version":"copilot-chat/0.26.7"}});if(!b.ok){let a=await b.text();throw Error(`GitHub API error: ${a}`)}let c=await b.json();if(c.quota_snapshots){let a=c.quota_snapshots,b=g(c.quota_reset_date);return{plan:c.copilot_plan,resetDate:c.quota_reset_date,quotas:{chat:{...i(a.chat),resetAt:b},completions:{...i(a.completions),resetAt:b},premium_interactions:{...i(a.premium_interactions),resetAt:b}}}}if(c.monthly_quotas||c.limited_user_quotas){let a=c.monthly_quotas||{},b=c.limited_user_quotas||{},d=g(c.limited_user_reset_date);return{plan:c.copilot_plan||c.access_type_sku,resetDate:c.limited_user_reset_date,quotas:{chat:{used:b.chat||0,total:a.chat||0,unlimited:!1,resetAt:d},completions:{used:b.completions||0,total:a.completions||0,unlimited:!1,resetAt:d}}}}return{message:"GitHub Copilot connected. Unable to parse quota data."}}catch(a){throw Error(`Failed to fetch GitHub usage: ${a.message}`)}}function i(a){return a?{used:a.entitlement-a.remaining,total:a.entitlement,remaining:a.remaining,unlimited:a.unlimited||!1}:{used:0,total:0,unlimited:!0}}async function j(a){try{if(!(await fetch("https://cloudresourcemanager.googleapis.com/v1/projects?filter=lifecycleState:ACTIVE",{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}})).ok)return{message:"Gemini CLI uses Google Cloud quotas. Check Google Cloud Console for details."};return{message:"Gemini CLI connected. Usage tracked via Google Cloud Console."}}catch(a){return{message:"Unable to fetch Gemini usage. Check Google Cloud Console."}}}async function k(a,b){try{let b=await l(a),c=await fetch(e.quotaApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":e.userAgent,"Content-Type":"application/json"},body:JSON.stringify({...b?{project:b}:{},metadata:d.Cn,mode:1})});if(403===c.status)return{message:"Antigravity access forbidden. Check subscription."};if(!c.ok)throw Error(`Antigravity API error: ${c.status}`);let f=await c.json(),h={};if(f.models){let a=["claude-opus-4-6-thinking","claude-sonnet-4-6","gemini-3-1-pro-high","gemini-3-1-pro-low","gemini-3-pro-high","gemini-3-pro-low","gemini-3-flash","gemini-2.5-flash"];for(let[b,c]of Object.entries(f.models)){if(!c.quotaInfo||c.isInternal||!a.includes(b))continue;let d=c.quotaInfo.remainingFraction||0,e=100*d,f=Math.round(1e3*d),i=1e3-f;h[b]={used:i,total:1e3,resetAt:g(c.quotaInfo.resetTime),remainingPercentage:e,unlimited:!1,displayName:c.displayName||b}}}let i=await m(a);return{plan:i?.currentTier?.name||"Unknown",quotas:h,subscriptionInfo:i}}catch(a){return{message:`Antigravity error: ${a.message}`}}}async function l(a){try{let b=await m(a);return b?.cloudaicompanionProject||null}catch{return null}}async function m(a){try{let b=await fetch(e.loadProjectApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":e.userAgent,"Content-Type":"application/json"},body:JSON.stringify({metadata:d.Cn,mode:1})});if(!b.ok)return null;return await b.json()}catch{return null}}async function n(a){try{let b=await fetch("https://api.anthropic.com/v1/settings",{method:"GET",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}});if(b.ok){let c=await b.json();if(c.organization_id){let b=await fetch(`https://api.anthropic.com/v1/organizations/${c.organization_id}/usage`,{method:"GET",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}});if(b.ok){let a=await b.json();return{plan:c.plan||"Unknown",organization:c.organization_name,quotas:a}}}return{plan:c.plan||"Unknown",organization:c.organization_name,message:"Claude connected. Usage details require admin access."}}return{message:"Claude connected. Usage API requires admin permissions."}}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}async function o(a){try{let b=await fetch("https://chatgpt.com/backend-api/wham/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}});if(!b.ok)throw Error(`Codex API error: ${b.status}`);let c=await b.json(),d=c.rate_limit||{},e=d.primary_window||{},f=d.secondary_window||{},h=g(e.reset_at?1e3*e.reset_at:null),i=g(f.reset_at?1e3*f.reset_at:null);return{plan:c.plan_type||"unknown",limitReached:d.limit_reached||!1,quotas:{session:{used:e.used_percent||0,total:100,remaining:100-(e.used_percent||0),resetAt:h,unlimited:!1},weekly:{used:f.used_percent||0,total:100,remaining:100-(f.used_percent||0),resetAt:i,unlimited:!1}}}}catch(a){throw Error(`Failed to fetch Codex usage: ${a.message}`)}}async function p(a,b){try{let c=b?.profileArn;if(!c)return{message:"Kiro connected. Profile ARN not available for quota tracking."};let d=await fetch("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.GetUsageLimits",Accept:"application/json"},body:JSON.stringify({origin:"AI_EDITOR",profileArn:c,resourceType:"AGENTIC_REQUEST"})});if(!d.ok){let a=await d.text();throw Error(`Kiro API error (${d.status}): ${a}`)}let e=await d.json(),f=e.usageBreakdownList||[],h={},i=g(e.nextDateReset||e.resetDate);return f.forEach(a=>{let b=a.resourceType?.toLowerCase()||"unknown",c=a.currentUsageWithPrecision||0,d=a.usageLimitWithPrecision||0;if(h[b]={used:c,total:d,remaining:d-c,resetAt:i,unlimited:!1},a.freeTrialInfo){let c=a.freeTrialInfo.currentUsageWithPrecision||0,d=a.freeTrialInfo.usageLimitWithPrecision||0;h[`${b}_freetrial`]={used:c,total:d,remaining:d-c,resetAt:i,unlimited:!1}}}),{plan:e.subscriptionInfo?.subscriptionTitle||"Kiro",quotas:h}}catch(a){throw Error(`Failed to fetch Kiro usage: ${a.message}`)}}async function q(a,b){try{if(!b?.resourceUrl)return{message:"Qwen connected. No resource URL available."};return{message:"Qwen connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch Qwen usage."}}}async function r(a){try{return{message:"iFlow connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch iFlow usage."}}}},99821:(a,b,c)=>{c.r(b),c.d(b,{POST:()=>p,syncToCloud:()=>q});var d=c(45592),e=c(89718),f=c(54603),g=c(79748),h=c.n(g),i=c(33873),j=c.n(i),k=c(21820),l=c.n(k);let m=Number(process.env.CLOUD_SYNC_TIMEOUT_MS||12e3);async function n(){return await (0,e.z9)()}async function o(a,b={},c=m){let d=new AbortController,e=setTimeout(()=>d.abort(),c);try{return await fetch(a,{...b,signal:d.signal})}finally{clearTimeout(e)}}async function p(a){try{let{action:b}=await a.json(),c=await (0,f.Xj)();switch(b){case"enable":await (0,e.Xx)({cloudEnabled:!0});let g=await (0,e.getApiKeys)(),h=null;return 0===g.length&&(h=await (0,e.Iq)("Default Key",c)),r(c,h?.key,g);case"sync":{let a=await q(c);if(a.error)return d.NextResponse.json(a,{status:502});return d.NextResponse.json(a)}case"disable":return await (0,e.Xx)({cloudEnabled:!1}),s(c,a);case"check":return u();default:return d.NextResponse.json({error:"Invalid action"},{status:400})}}catch(a){return console.log("Cloud sync error:",a),d.NextResponse.json({error:a.message},{status:500})}}async function q(a,b=null){let c,d=await n();if(!d)return{error:"Cloud URL is not configured"};let f=await (0,e.getProviderConnections)(),g=await (0,e.OM)(),h=await (0,e.Uv)(),i=await (0,e.getApiKeys)();try{c=await o(`${d}/sync/${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providers:f,modelAliases:g,combos:h,apiKeys:i})})}catch(a){return{error:a?.name==="AbortError"?"Cloud sync timeout":"Cloud sync request failed"}}if(!c.ok)return console.log("Cloud sync failed:",await c.text()),{error:"Cloud sync failed"};let j=await c.json();j.data&&j.data.providers&&await v(j.data.providers);let k={success:!0,message:"Synced successfully",changes:j.changes};return b&&(k.createdKey=b),k}async function r(a,b,c){let e=await q(a,b);if(e.error)return d.NextResponse.json(e,{status:502});let f=b||c[0]?.key;if(!f)return d.NextResponse.json({...e,verified:!1,verifyError:"No API key available"});try{let b=await n(),c=await o(`${b}/${a}/v1/verify`,{method:"GET",headers:{Authorization:`Bearer ${f}`,"Content-Type":"application/json"}});if(c.ok)return d.NextResponse.json({...e,verified:!0});return d.NextResponse.json({...e,verified:!1,verifyError:`Ping failed: ${c.status}`})}catch(a){return d.NextResponse.json({...e,verified:!1,verifyError:a.message})}}async function s(a,b){let c,e=await n();if(!e)return d.NextResponse.json({error:"Cloud URL is not configured"},{status:500});try{c=await o(`${e}/sync/${a}`,{method:"DELETE"})}catch(b){let a=b?.name==="AbortError";return d.NextResponse.json({error:a?"Cloud disable timeout":"Failed to reach cloud service"},{status:502})}if(!c.ok)return console.log("Cloud disable failed:",await c.text()),d.NextResponse.json({error:"Failed to disable cloud"},{status:502});let f=b.headers.get("host")||"localhost:20128";return await t(a,f,e),d.NextResponse.json({success:!0,message:"Cloud disabled"})}async function t(a,b,c){try{let d,e=j().join(l().homedir(),".claude","settings.json"),f=`${c}/${a}`,g=`http://${b}`;try{let a=await h().readFile(e,"utf-8");d=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return;throw a}let i=d.env?.ANTHROPIC_BASE_URL;if(!i||i!==f)return;d.env.ANTHROPIC_BASE_URL=g,await h().writeFile(e,JSON.stringify(d,null,2)),console.log(`Updated Claude CLI settings: ${f} → ${g}`)}catch(a){console.log("Failed to update Claude CLI settings:",a.message)}}async function u(){let a=await n();if(!a)return d.NextResponse.json({error:"Cloud URL is not configured"},{status:400});try{let b=await o(`${a}/health`,{method:"GET"},5e3);if(b.ok)return d.NextResponse.json({success:!0,message:"Worker is running"});return d.NextResponse.json({error:`Worker responded with ${b.status}`},{status:502})}catch(b){let a=b?.name==="AbortError";return d.NextResponse.json({error:a?"Worker request timeout":"Cannot reach worker"},{status:502})}}async function v(a){for(let b of(await (0,e.getProviderConnections)())){let c=a[b.id];if(c){if(new Date(c.updatedAt||0).getTime()>new Date(b.updatedAt||0).getTime()){let a={accessToken:c.accessToken,refreshToken:c.refreshToken,expiresAt:c.expiresAt,expiresIn:c.expiresIn,providerSpecificData:c.providerSpecificData||b.providerSpecificData,testStatus:c.status||"active",lastError:c.lastError,lastErrorAt:c.lastErrorAt,errorCode:c.errorCode,rateLimitedUntil:c.rateLimitedUntil,updatedAt:c.updatedAt};await (0,e.rj)(b.id,a)}}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,5270,9718,3990,7647,3110,5330],()=>b(b.s=74548));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=907,a.ids=[907,4755],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},18271:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>j});var e=c(89718),f=c(99675),g=c(55330),h=a([g]);async function i(a){let b=(0,g.SB)(a.provider),c={accessToken:a.accessToken,refreshToken:a.refreshToken,expiresAt:a.tokenExpiresAt,providerSpecificData:a.providerSpecificData,copilotToken:a.providerSpecificData?.copilotToken,copilotTokenExpiresAt:a.providerSpecificData?.copilotTokenExpiresAt};if(!b.needsRefresh(c))return{connection:a,refreshed:!1};let d=await b.refreshCredentials(c,console);if(!d){if("github"===a.provider&&a.accessToken)return{connection:a,refreshed:!1};throw Error("Failed to refresh credentials. Please re-authorize the connection.")}let f={updatedAt:new Date().toISOString()};return d.accessToken&&(f.accessToken=d.accessToken),d.refreshToken&&(f.refreshToken=d.refreshToken),d.expiresIn?f.tokenExpiresAt=new Date(Date.now()+1e3*d.expiresIn).toISOString():d.expiresAt&&(f.tokenExpiresAt=d.expiresAt),(d.copilotToken||d.copilotTokenExpiresAt)&&(f.providerSpecificData={...a.providerSpecificData,copilotToken:d.copilotToken,copilotTokenExpiresAt:d.copilotTokenExpiresAt}),await (0,e.rj)(a.id,f),{connection:{...a,...f},refreshed:!0}}async function j(a,{params:b}){try{let{connectionId:a}=await b,c=await (0,e.Mc)(a);if(!c)return Response.json({error:"Connection not found"},{status:404});if("oauth"!==c.authType)return Response.json({message:"Usage not available for API key connections"});try{c=(await i(c)).connection}catch(a){return console.error("[Usage API] Credential refresh failed:",a),Response.json({error:`Credential refresh failed: ${a.message}`},{status:401})}let d=await (0,f.m)(c);return Response.json(d)}catch(a){return console.error("[Usage API] Error fetching usage:",a),console.error("[Usage API] Error stack:",a.stack),Response.json({error:a.message},{status:500})}}g=(h.then?(await h)():h)[0],d()}catch(a){d(a)}})},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},74548:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>y,patchFetch:()=>x,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(18271),w=a([v]);v=(w.then?(await w)():w)[0];let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/usage/[connectionId]/route",pathname:"/api/usage/[connectionId]",filename:"route",bundlePath:"app/api/usage/[connectionId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/app/src/app/api/usage/[connectionId]/route.js",nextConfigOutput:"standalone",userland:v}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function x(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function y(a,b,c){z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/usage/[connectionId]/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||z.isDev||y||(K=E,K="/index"===K?"/":K);let L=!0===z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>z.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},82996:(a,b,c)=>{c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},94735:a=>{a.exports=require("events")},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}},99675:(a,b,c)=>{c.d(b,{m:()=>f});var d=c(2255);let e={quotaApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",loadProjectApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",tokenUrl:"https://oauth2.googleapis.com/token",clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",userAgent:(0,d.A9)()};async function f(a){let{provider:b,accessToken:c,providerSpecificData:d}=a;switch(b){case"github":return await h(c,d);case"gemini-cli":return await j(c);case"antigravity":return await k(c);case"claude":return await n(c);case"codex":return await o(c);case"kiro":return await p(c,d);case"qwen":return await q(c,d);case"iflow":return await r(c);default:return{message:`Usage API not implemented for ${b}`}}}function g(a){if(!a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a||"string"==typeof a)return new Date(a).toISOString();return null}catch(b){return console.warn(`Failed to parse reset time: ${a}`,b),null}}async function h(a,b){try{if(!a)throw Error("No GitHub access token available. Please re-authorize the connection.");let b=await fetch("https://api.github.com/copilot_internal/user",{headers:{Authorization:`token ${a}`,Accept:"application/json","X-GitHub-Api-Version":"2022-11-28","User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.100.0","Editor-Plugin-Version":"copilot-chat/0.26.7"}});if(!b.ok){let a=await b.text();throw Error(`GitHub API error: ${a}`)}let c=await b.json();if(c.quota_snapshots){let a=c.quota_snapshots,b=g(c.quota_reset_date);return{plan:c.copilot_plan,resetDate:c.quota_reset_date,quotas:{chat:{...i(a.chat),resetAt:b},completions:{...i(a.completions),resetAt:b},premium_interactions:{...i(a.premium_interactions),resetAt:b}}}}if(c.monthly_quotas||c.limited_user_quotas){let a=c.monthly_quotas||{},b=c.limited_user_quotas||{},d=g(c.limited_user_reset_date);return{plan:c.copilot_plan||c.access_type_sku,resetDate:c.limited_user_reset_date,quotas:{chat:{used:b.chat||0,total:a.chat||0,unlimited:!1,resetAt:d},completions:{used:b.completions||0,total:a.completions||0,unlimited:!1,resetAt:d}}}}return{message:"GitHub Copilot connected. Unable to parse quota data."}}catch(a){throw Error(`Failed to fetch GitHub usage: ${a.message}`)}}function i(a){return a?{used:a.entitlement-a.remaining,total:a.entitlement,remaining:a.remaining,unlimited:a.unlimited||!1}:{used:0,total:0,unlimited:!0}}async function j(a){try{if(!(await fetch("https://cloudresourcemanager.googleapis.com/v1/projects?filter=lifecycleState:ACTIVE",{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}})).ok)return{message:"Gemini CLI uses Google Cloud quotas. Check Google Cloud Console for details."};return{message:"Gemini CLI connected. Usage tracked via Google Cloud Console."}}catch(a){return{message:"Unable to fetch Gemini usage. Check Google Cloud Console."}}}async function k(a,b){try{let b=await l(a),c=await fetch(e.quotaApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":e.userAgent,"Content-Type":"application/json"},body:JSON.stringify({...b?{project:b}:{},metadata:d.Cn,mode:1})});if(403===c.status)return{message:"Antigravity access forbidden. Check subscription."};if(!c.ok)throw Error(`Antigravity API error: ${c.status}`);let f=await c.json(),h={};if(f.models){let a=["claude-opus-4-6-thinking","claude-sonnet-4-6","gemini-3-1-pro-high","gemini-3-1-pro-low","gemini-3-pro-high","gemini-3-pro-low","gemini-3-flash","gemini-2.5-flash"];for(let[b,c]of Object.entries(f.models)){if(!c.quotaInfo||c.isInternal||!a.includes(b))continue;let d=c.quotaInfo.remainingFraction||0,e=100*d,f=Math.round(1e3*d),i=1e3-f;h[b]={used:i,total:1e3,resetAt:g(c.quotaInfo.resetTime),remainingPercentage:e,unlimited:!1,displayName:c.displayName||b}}}let i=await m(a);return{plan:i?.currentTier?.name||"Unknown",quotas:h,subscriptionInfo:i}}catch(a){return{message:`Antigravity error: ${a.message}`}}}async function l(a){try{let b=await m(a);return b?.cloudaicompanionProject||null}catch{return null}}async function m(a){try{let b=await fetch(e.loadProjectApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":e.userAgent,"Content-Type":"application/json"},body:JSON.stringify({metadata:d.Cn,mode:1})});if(!b.ok)return null;return await b.json()}catch{return null}}async function n(a){try{let b=await fetch("https://api.anthropic.com/v1/settings",{method:"GET",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}});if(b.ok){let c=await b.json();if(c.organization_id){let b=await fetch(`https://api.anthropic.com/v1/organizations/${c.organization_id}/usage`,{method:"GET",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}});if(b.ok){let a=await b.json();return{plan:c.plan||"Unknown",organization:c.organization_name,quotas:a}}}return{plan:c.plan||"Unknown",organization:c.organization_name,message:"Claude connected. Usage details require admin access."}}return{message:"Claude connected. Usage API requires admin permissions."}}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}async function o(a){try{let b=await fetch("https://chatgpt.com/backend-api/wham/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}});if(!b.ok)throw Error(`Codex API error: ${b.status}`);let c=await b.json(),d=c.rate_limit||{},e=d.primary_window||{},f=d.secondary_window||{},h=g(e.reset_at?1e3*e.reset_at:null),i=g(f.reset_at?1e3*f.reset_at:null);return{plan:c.plan_type||"unknown",limitReached:d.limit_reached||!1,quotas:{session:{used:e.used_percent||0,total:100,remaining:100-(e.used_percent||0),resetAt:h,unlimited:!1},weekly:{used:f.used_percent||0,total:100,remaining:100-(f.used_percent||0),resetAt:i,unlimited:!1}}}}catch(a){throw Error(`Failed to fetch Codex usage: ${a.message}`)}}async function p(a,b){try{let c=b?.profileArn;if(!c)return{message:"Kiro connected. Profile ARN not available for quota tracking."};let d=await fetch("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.GetUsageLimits",Accept:"application/json"},body:JSON.stringify({origin:"AI_EDITOR",profileArn:c,resourceType:"AGENTIC_REQUEST"})});if(!d.ok){let a=await d.text();throw Error(`Kiro API error (${d.status}): ${a}`)}let e=await d.json(),f=e.usageBreakdownList||[],h={},i=g(e.nextDateReset||e.resetDate);return f.forEach(a=>{let b=a.resourceType?.toLowerCase()||"unknown",c=a.currentUsageWithPrecision||0,d=a.usageLimitWithPrecision||0;if(h[b]={used:c,total:d,remaining:d-c,resetAt:i,unlimited:!1},a.freeTrialInfo){let c=a.freeTrialInfo.currentUsageWithPrecision||0,d=a.freeTrialInfo.usageLimitWithPrecision||0;h[`${b}_freetrial`]={used:c,total:d,remaining:d-c,resetAt:i,unlimited:!1}}}),{plan:e.subscriptionInfo?.subscriptionTitle||"Kiro",quotas:h}}catch(a){throw Error(`Failed to fetch Kiro usage: ${a.message}`)}}async function q(a,b){try{if(!b?.resourceUrl)return{message:"Qwen connected. No resource URL available."};return{message:"Qwen connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch Qwen usage."}}}async function r(a){try{return{message:"iFlow connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch iFlow usage."}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9718,3990,7647,3110,7189],()=>b(b.s=74548));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/3110.js","../../../../chunks/3990.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/5270.js","../../../../chunks/5330.js","../../../../chunks/6844.js","../../../../chunks/7341.js","../../../../chunks/7647.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/3110.js","../../../../chunks/3990.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/6844.js","../../../../chunks/7189.js","../../../../chunks/7341.js","../../../../chunks/7647.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}