@ltgiang/9router 0.4.79 → 0.4.81

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 (1376) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +14 -14
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/required-server-files.json +4 -4
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  70. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  73. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  74. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  75. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  76. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  77. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  78. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  80. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  81. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  84. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  85. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  86. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  88. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  91. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  110. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  113. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  119. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  146. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  160. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  163. package/app/.next-cli-build/server/app/api/combos/reorder/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/combos/reorder/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/combos/reorder/route_client-reference-manifest.js +1 -1
  166. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
  169. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
  172. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
  175. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  178. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
  181. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
  184. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  187. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  188. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  190. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  193. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  196. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  205. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  208. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  211. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  214. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  217. package/app/.next-cli-build/server/app/api/models/order/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/order/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/order/route_client-reference-manifest.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
  223. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  233. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  256. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  259. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  262. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  265. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  268. package/app/.next-cli-build/server/app/api/providers/[id]/connections/disabled/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/providers/[id]/connections/disabled/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/providers/[id]/connections/disabled/route_client-reference-manifest.js +1 -1
  271. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/[id]/pool/pull/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/pool/pull/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/pool/pull/route_client-reference-manifest.js +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/pool/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/pool/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/pool/route_client-reference-manifest.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  313. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  316. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  317. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  319. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  325. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  328. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
  331. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  334. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
  337. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route_client-reference-manifest.js +1 -1
  379. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +2 -2
  380. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route_client-reference-manifest.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  400. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  403. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  404. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  457. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  460. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  461. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  463. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
  466. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  467. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  468. package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
  469. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
  472. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  473. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  474. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  475. package/app/.next-cli-build/server/app/callback.html +1 -1
  476. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  477. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  478. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  480. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  481. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  482. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  483. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  485. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  486. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  489. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  490. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  492. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  495. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  496. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  499. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  500. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  502. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  503. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  505. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  506. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  508. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  510. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  512. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +7 -7
  515. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  519. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
  520. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  522. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  525. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  531. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  533. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  536. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  537. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  538. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  539. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  541. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  543. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  546. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  547. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  551. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  553. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  556. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  560. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  561. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  562. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  563. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  564. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  567. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  568. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  572. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  574. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  575. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  577. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  582. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  584. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  585. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  586. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  587. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  588. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  589. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  591. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  592. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  594. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  596. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  597. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  598. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  600. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  601. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  603. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  604. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  605. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  609. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  610. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  611. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  612. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  614. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  615. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  617. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  618. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  620. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  621. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  622. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  623. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  624. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  627. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  628. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  630. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  631. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  632. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  633. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  634. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  635. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  636. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  637. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  638. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  639. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  640. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  641. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  642. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  643. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  644. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  645. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  646. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  647. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  648. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  649. package/app/.next-cli-build/server/app/index.html +1 -1
  650. package/app/.next-cli-build/server/app/index.rsc +4 -4
  651. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  652. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  653. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  654. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  655. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  656. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  657. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  658. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  659. package/app/.next-cli-build/server/app/landing.html +1 -1
  660. package/app/.next-cli-build/server/app/landing.rsc +5 -5
  661. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +5 -5
  662. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  663. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  664. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  665. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  666. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  667. package/app/.next-cli-build/server/app/login/page.js +2 -2
  668. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  669. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  670. package/app/.next-cli-build/server/app/login.html +1 -1
  671. package/app/.next-cli-build/server/app/login.rsc +5 -5
  672. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  673. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  674. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  675. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  676. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  677. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  678. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  679. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  680. package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  681. package/app/.next-cli-build/server/app/page.js +2 -2
  682. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  683. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  684. package/app/.next-cli-build/server/app-paths-manifest.json +14 -14
  685. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  686. package/app/.next-cli-build/server/chunks/319.js +3 -3
  687. package/app/.next-cli-build/server/chunks/3196.js +1 -0
  688. package/app/.next-cli-build/server/chunks/3813.js +1 -1
  689. package/app/.next-cli-build/server/chunks/3913.js +18 -18
  690. package/app/.next-cli-build/server/chunks/4304.js +1 -1
  691. package/app/.next-cli-build/server/chunks/4372.js +1 -0
  692. package/app/.next-cli-build/server/chunks/4404.js +1 -1
  693. package/app/.next-cli-build/server/chunks/4720.js +1 -0
  694. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  695. package/app/.next-cli-build/server/chunks/5024.js +1 -0
  696. package/app/.next-cli-build/server/chunks/5852.js +1 -1
  697. package/app/.next-cli-build/server/chunks/6064.js +1 -1
  698. package/app/.next-cli-build/server/chunks/6108.js +1 -1
  699. package/app/.next-cli-build/server/chunks/7153.js +1 -1
  700. package/app/.next-cli-build/server/chunks/7341.js +1 -1
  701. package/app/.next-cli-build/server/chunks/7774.js +8 -8
  702. package/app/.next-cli-build/server/chunks/{3381.js → 7899.js} +2 -2
  703. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  704. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  705. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  706. package/app/.next-cli-build/server/chunks/914.js +3 -3
  707. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  708. package/app/.next-cli-build/server/middleware.js +5 -5
  709. package/app/.next-cli-build/server/next-font-manifest.js +1 -1
  710. package/app/.next-cli-build/server/next-font-manifest.json +1 -1
  711. package/app/.next-cli-build/server/pages/404.html +1 -1
  712. package/app/.next-cli-build/server/pages/500.html +1 -1
  713. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  714. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  715. package/app/.next-cli-build/static/chunks/1051-080896ceff7ba88d.js +64 -0
  716. package/app/.next-cli-build/static/chunks/{1321-5d8c00ea6c7c3dc7.js → 1321-48b3e6f66082983d.js} +1 -1
  717. package/app/.next-cli-build/static/chunks/6502-612e6a0c29fdfd96.js +3 -0
  718. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-dccb4480c20cb67f.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-a9ac6b258809e7fa.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-c359f496024e3673.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-a314df50240def0b.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-4ce59558e8fe3be1.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-5ef89f751912e1ef.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0518b1d85c00fe3e.js → page-432e13b0930a1e77.js} +2 -2
  725. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-4349f9f766d12c4c.js → page-0736ad13c70c1c56.js} +1 -1
  726. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-24401ae2640c4c7c.js → page-50ee3aa1bd8fa967.js} +2 -2
  727. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-42b5c10af95bdb38.js → page-f828e7a7fa3010d8.js} +1 -1
  728. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-9e6941e3a85d7c97.js → page-f587e9c9d0a62533.js} +1 -1
  729. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-92cff164200e3f2a.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-0d670718f2e33561.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-82f29d5a0908e246.js → page-535882a5b15c01fd.js} +1 -1
  732. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-c38d44575796c7c3.js → page-728ddba2783d1f16.js} +1 -1
  733. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-8e1f581c3c66272d.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-639c2e73373dce0a.js → page-5ee9e3e13d6015bb.js} +2 -2
  735. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-b0fae7cb91ea57a8.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-8824acbc5ab93904.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-5dd575f7d285740b.js → page-b3c27640638a72ce.js} +1 -1
  738. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-ab3c8b6b84d1bddf.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-33073f0abd228bfc.js → layout-3e9190b29f8110a6.js} +1 -1
  740. package/app/.next-cli-build/static/chunks/app/_not-found/page-e4d84f64a8c852f7.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/callback/page-69c80ed172191a02.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-717fc9bdbe424b20.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/landing/page-34fb5bf37abde153.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/{layout-fb90a9496b98e3d3.js → layout-aff6bda55ff6881b.js} +1 -1
  745. package/app/.next-cli-build/static/chunks/app/login/{page-756b163b5203414c.js → page-5b1e256b0ca9cc40.js} +1 -1
  746. package/app/.next-cli-build/static/chunks/{main-app-67b0151d420ab3b8.js → main-app-3057ce86fdd7f7ab.js} +1 -1
  747. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-9e6846bb98322e86.js +1 -0
  748. package/app/.next-cli-build/static/css/{454db3b478540e33.css → 0f03023a765dc337.css} +1 -1
  749. package/app/.next-cli-build/static/media/material-symbols-outlined.50fdf095.woff2 +0 -0
  750. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  751. package/app/cli/.build-home/.9router/jwt-secret +1 -1
  752. package/app/cli/.build-home/.9router/machine-id +1 -1
  753. package/app/cli/.build-home/.config/nextjs-nodejs/config.json +3 -3
  754. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  755. package/app/node_modules/baseline-browser-mapping/package.json +3 -3
  756. package/app/node_modules/bindings/bindings.js +221 -0
  757. package/app/node_modules/bindings/package.json +28 -0
  758. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  759. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  760. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  761. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  762. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  763. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  764. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  765. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  766. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  767. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  768. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  769. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  770. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  771. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  772. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  773. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  774. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  775. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  776. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  777. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  778. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  779. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  780. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  781. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  782. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  783. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  784. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  785. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  786. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  892. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  893. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  894. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  895. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  896. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  897. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  898. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  899. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  900. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  901. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  902. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  903. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  904. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  905. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  906. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  907. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  908. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  909. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  910. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  911. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  912. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  913. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  914. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  915. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  916. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  917. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  918. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  919. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  920. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  921. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  922. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  923. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  924. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  925. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  926. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  927. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  928. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  929. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  930. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  931. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  932. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  933. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  934. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  935. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  936. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  937. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  938. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  939. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  940. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  941. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  942. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  943. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  944. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  945. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  946. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  947. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  948. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  949. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  950. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  951. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  952. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  953. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  954. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  955. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  956. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  957. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  958. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  959. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  960. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  961. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  962. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  963. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  964. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  965. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  966. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  967. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  968. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  969. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  970. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  971. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  972. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  973. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  974. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  975. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  976. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  977. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  978. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  979. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  980. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  981. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  982. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  983. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  984. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  985. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  986. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  987. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  988. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  989. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  990. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  991. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  992. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  993. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  994. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  995. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  996. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  997. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  998. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  999. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  1000. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  1001. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  1002. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  1003. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  1004. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  1005. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  1006. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  1007. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  1008. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  1009. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  1010. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  1011. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  1012. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  1013. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  1014. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  1015. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  1016. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  1017. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  1018. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  1019. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  1020. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  1021. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  1022. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  1023. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  1024. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  1025. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  1026. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  1027. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  1028. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  1029. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  1030. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  1031. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  1032. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  1033. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  1034. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  1035. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  1036. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  1037. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  1038. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  1039. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  1040. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  1041. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  1042. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  1043. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  1044. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  1045. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  1046. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  1047. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  1048. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  1049. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  1050. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  1051. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  1052. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  1053. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  1054. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  1055. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  1056. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  1057. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  1058. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  1059. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  1060. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  1061. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  1062. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  1063. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  1064. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  1065. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  1066. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  1067. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  1068. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  1069. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  1070. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  1071. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  1072. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  1073. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  1074. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  1075. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  1076. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  1077. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  1078. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  1079. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  1080. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  1081. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  1082. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  1083. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  1084. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  1085. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  1086. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  1087. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  1088. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  1089. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  1090. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  1091. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  1092. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  1093. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  1094. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  1095. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  1096. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  1097. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  1098. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  1099. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  1100. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  1101. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  1102. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  1103. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  1104. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  1105. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  1106. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  1107. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  1108. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  1109. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  1110. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  1111. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  1112. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  1113. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  1114. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  1115. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  1116. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  1117. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  1118. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  1119. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  1120. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  1121. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  1122. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  1123. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  1124. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  1125. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  1126. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  1127. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  1128. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  1129. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  1130. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  1131. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  1132. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  1133. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  1134. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  1135. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  1136. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  1137. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  1138. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  1139. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  1140. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  1141. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  1142. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  1143. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  1144. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  1145. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  1146. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  1147. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  1148. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  1149. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  1150. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  1151. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  1152. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  1153. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  1154. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  1155. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  1156. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  1157. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  1158. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  1159. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  1160. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  1161. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  1162. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  1163. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  1164. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  1165. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  1166. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  1167. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  1168. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  1169. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  1170. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  1171. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  1172. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  1173. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  1174. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  1175. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  1176. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  1177. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  1178. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  1179. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  1180. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  1181. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  1182. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  1183. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  1184. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  1185. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  1186. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  1187. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  1188. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  1189. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  1190. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  1191. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  1192. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  1193. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  1194. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  1195. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  1196. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  1197. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  1198. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  1199. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  1200. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  1201. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  1202. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  1203. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  1204. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  1205. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  1206. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  1207. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  1208. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  1209. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  1210. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  1211. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  1212. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  1213. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  1214. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  1215. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  1216. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  1217. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  1218. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  1219. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  1220. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  1221. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  1222. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  1223. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  1224. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  1225. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  1226. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  1227. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  1228. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  1229. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  1230. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  1231. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  1232. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  1233. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  1234. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  1235. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  1236. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  1237. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  1238. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  1239. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  1240. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  1241. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  1242. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  1243. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  1244. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  1245. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  1246. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  1247. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  1248. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  1249. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  1250. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  1251. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  1252. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  1253. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  1254. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  1255. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  1256. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  1257. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  1258. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  1259. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  1260. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  1261. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  1262. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  1263. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  1264. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  1265. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  1266. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  1267. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  1268. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  1269. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  1270. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  1271. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  1272. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  1273. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  1274. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  1275. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  1276. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  1277. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  1278. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  1279. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  1280. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  1281. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  1282. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  1283. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  1284. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  1285. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  1286. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  1287. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  1288. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  1289. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  1290. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  1291. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1292. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1293. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1294. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1295. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1296. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1297. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1298. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1299. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1300. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1301. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1302. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1303. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1304. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1305. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1306. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1307. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1308. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1309. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1310. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1311. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1312. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1313. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1314. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1315. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1316. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1317. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1318. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1319. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1320. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1321. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1322. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1323. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1324. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1325. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1326. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1327. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1328. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1329. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1330. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1331. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1332. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1333. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1334. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1335. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1336. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1337. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1338. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1339. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1340. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1341. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1342. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1343. package/app/node_modules/caniuse-lite/package.json +1 -1
  1344. package/app/node_modules/file-uri-to-path/index.js +66 -0
  1345. package/app/node_modules/file-uri-to-path/package.json +32 -0
  1346. package/app/package.json +1 -1
  1347. package/app/server.js +1 -1
  1348. package/package.json +1 -1
  1349. package/app/.next-cli-build/server/chunks/1140.js +0 -1
  1350. package/app/.next-cli-build/server/chunks/5010.js +0 -1
  1351. package/app/.next-cli-build/static/chunks/1051-200f4cd85d329ee1.js +0 -64
  1352. package/app/.next-cli-build/static/chunks/914-573e927dd0d28804.js +0 -3
  1353. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-801aedab57fcaa26.js +0 -1
  1354. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-6a96211331520ca2.js +0 -1
  1355. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-3b7ac33715ed9443.js +0 -1
  1356. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-3e3894c3190056ff.js +0 -1
  1357. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-7bfbaeb3710b77a8.js +0 -1
  1358. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-1fe617aa782e4160.js +0 -1
  1359. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-18b2cd1c6220a6e4.js +0 -1
  1360. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-fac32d8209fbc1c3.js +0 -1
  1361. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-9578f3d76fbaa373.js +0 -1
  1362. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-7d8ba7acdca3b1c6.js +0 -1
  1363. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-44646bac9ec2d23d.js +0 -1
  1364. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-f8ecb5734644f39b.js +0 -1
  1365. package/app/.next-cli-build/static/chunks/app/_not-found/page-66e88a1e31434866.js +0 -1
  1366. package/app/.next-cli-build/static/chunks/app/callback/page-211adc2e5176e1d8.js +0 -1
  1367. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-32954986dfd50f55.js +0 -1
  1368. package/app/.next-cli-build/static/chunks/app/landing/page-c17fc6c02f90dc29.js +0 -1
  1369. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-185d86f74560bed6.js +0 -1
  1370. package/app/.next-cli-build/static/media/material-symbols-outlined.a9f35393.woff2 +0 -0
  1371. package/app/cli/.build-home/.9router/db/backups/upgrade-0.4.74-to-0.4.75-0.4.75-20260607-112616/data.sqlite +0 -0
  1372. package/app/cli/.build-home/.9router/db/backups/upgrade-0.4.75-to-0.4.76-0.4.76-20260608-012630/data.sqlite +0 -0
  1373. package/app/cli/.build-home/.9router/db/backups/upgrade-0.4.76-to-0.4.77-0.4.77-20260616-084008/data.sqlite +0 -0
  1374. package/app/cli/.build-home/.9router/db/backups/upgrade-0.4.77-to-0.4.78-0.4.78-20260616-091300/data.sqlite +0 -0
  1375. /package/app/.next-cli-build/static/{kS9AHbrigcLJlCrIJgeZV → g9K5MbWNgLVJw3cx8SwXw}/_buildManifest.js +0 -0
  1376. /package/app/.next-cli-build/static/{kS9AHbrigcLJlCrIJgeZV → g9K5MbWNgLVJw3cx8SwXw}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- exports.id=3381,exports.ids=[3381],exports.modules={13998:(a,b,c)=>{Promise.resolve().then(c.bind(c,51747))},43173:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(50377);let j=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],k=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"}];function l({machineId:a}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)(null),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(!0),[C,D]=(0,e.useState)(!0),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!0),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)("full"),[M,N]=(0,e.useState)(!0),[O,P]=(0,e.useState)(!1),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(""),[U,V]=(0,e.useState)(""),[W,X]=(0,e.useState)(!1),[Y,Z]=(0,e.useState)(""),[$,_]=(0,e.useState)(null),[aa,ab]=(0,e.useState)(!1),[ac,ad]=(0,e.useState)(!1),[ae,af]=(0,e.useState)(!1),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(""),[ak,al]=(0,e.useState)(!1),[am,an]=(0,e.useState)(""),[ao,ap]=(0,e.useState)(null),[aq,ar]=(0,e.useState)(""),[as,at]=(0,e.useState)(""),[au,av]=(0,e.useState)(null),[aw,ax]=(0,e.useState)(!1),[ay,az]=(0,e.useState)([]),[aA,aB]=(0,e.useState)(""),[aC,aD]=(0,e.useState)(!1),[aE,aF]=(0,e.useState)(!1),[aG,aH]=(0,e.useState)(!1),aI=(0,e.useRef)(null);(0,e.useRef)(0),(0,e.useRef)(0),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1);let[aJ,aK]=(0,e.useState)(!1),[aL,aM]=(0,e.useState)(!1),[aN,aO]=(0,e.useState)(new Set),{copied:aP,copy:aQ}=(0,i.C)(),aR=!A||!C,aS=A?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,e.useCallback)((a,b,c,d,e,f)=>{b.current?(c.current=0,d(!0),e.current||(e.current=!0,f(!0))):(c.current+=1,c.current>=5&&d(!1))},[]);let aT=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({tunnelDashboardAccess:a})})).ok&&F(a)}catch(a){console.log("Error updating tunnelDashboardAccess:",a)}},aU=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireApiKey:a})})).ok&&z(a)}catch(a){console.log("Error updating requireApiKey:",a)}},aV=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:a})})).ok&&H(a)}catch(a){console.log("Error updating rtkEnabled:",a)}},aW=async a=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}catch(a){console.log("Error updating setting:",a)}},aX=async()=>{try{let a=await fetch("/api/keys"),b=await a.json();a.ok&&c(b.keys||[])}catch(a){console.log("Error fetching data:",a)}finally{g(!1)}},aY=async(...a)=>{X(!0),Z("Waiting for tunnel ready...");let b=a.filter(Boolean).map(a=>`${a}/api/health`),c=Date.now();for(;Date.now()-c<3e5;){if(await new Promise(a=>setTimeout(a,2e3)),await Promise.any(b.map(async a=>{if((await fetch(a,{mode:"cors",cache:"no-store"})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return P(!0),X(!1),Z(""),!0;if((Date.now()-c)%1e4<2e3)try{let a=await fetch("/api/tunnel/status");if(a.ok){let b=await a.json();if(!b.tunnel?.enabled)return _({type:"error",message:"Tunnel process stopped unexpectedly."}),X(!1),Z(""),!1}}catch{}}return _({type:"error",message:"Tunnel created but not reachable. Please try again."}),X(!1),Z(""),!1},aZ=async()=>{ab(!1),X(!0),_(null),Z("Creating tunnel...");let a=!0;(async()=>{for(;a;){try{let b=await fetch("/api/tunnel/status");if(b.ok){let c=await b.json();c.download?.downloading?Z(`Downloading cloudflared... ${c.download.progress}%`):a&&Z("Creating tunnel...")}}catch{}await new Promise(a=>setTimeout(a,1e3))}})();try{let b=await fetch("/api/tunnel/enable",{method:"POST"});a=!1;let c=await b.json();if(!b.ok)return void _({type:"error",message:c.error||"Failed to enable tunnel"});let d=c.tunnelUrl;if(!d)return void _({type:"error",message:"No tunnel URL returned"});T(d),V(c.publicUrl||""),await aY(c.publicUrl,d)}catch(a){_({type:"error",message:a.message})}finally{a=!1,X(!1),Z("")}},a$=async()=>{X(!0),_(null);try{let a=await fetch("/api/tunnel/disable",{method:"POST"}),b=await a.json();a.ok?(P(!1),T(""),ad(!1),_({type:"success",message:"Tunnel disabled"})):_({type:"error",message:b.error||"Failed to disable tunnel"})}catch(a){_({type:"error",message:a.message})}finally{X(!1)}},a_=async()=>{av(null);try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok){let b=await a.json();return av(b.installed),b}}catch{}return av(!1),{installed:!1}},a0=async()=>{ax(!0),ap(null),az([]);try{let a=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:aA})});aB("");let b=a.body.getReader(),c=new TextDecoder,d="";for(;;){let{done:a,value:e}=await b.read();if(a)break;let f=(d+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(d=f.pop()||"",f)){let b=a.split("\n"),c="progress",d=null;for(let a of b)if(a.startsWith("event: ")&&(c=a.slice(7).trim()),a.startsWith("data: "))try{d=JSON.parse(a.slice(6))}catch{}if(d)if("progress"===c)az(a=>[...a.slice(-50),d.message]);else if("done"===c){av(!0),ax(!1),aF(!1),a4();return}else"error"===c&&ap({type:"error",message:d.error||"Install failed"})}}}catch(a){ap({type:"error",message:a.message})}finally{ax(!1)}},a1=async a=>{an("Waiting for Tailscale ready...");let b=`${a}/api/health`,c=Date.now();for(;Date.now()-c<3e5;){await new Promise(a=>setTimeout(a,2e3));try{let a=await fetch(b,{mode:"no-cors",cache:"no-store"});if(a.ok||"opaque"===a.type)return!0}catch{}}return!1},a2=(a,b)=>{ar(a),at(b)},a3=()=>{ar(""),at("")},a4=async()=>{aF(!1),aD(!0),al(!0),ap(null),an("Connecting..."),a3();try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.needsLogin&&b.authUrl){a2(b.authUrl,"Open Login Page"),an('Login required — click "Open Login Page" to continue');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok&&(await a.json()).loggedIn){a3(),an("Starting funnel...");let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."})}else b.funnelNotEnabled&&b.enableUrl?await a5(b.enableUrl):ap({type:"error",message:b.error||"Failed to start funnel"});return}}catch{}}a3(),ap({type:"error",message:"Login timed out. Please try again."});return}if(b.funnelNotEnabled&&b.enableUrl)return void await a5(b.enableUrl);ap({type:"error",message:b.error||"Failed to connect"})}catch(a){ap({type:"error",message:a.message})}finally{al(!1),aD(!1),an(""),a3()}},a5=async a=>{a2(a,"Open Funnel Settings"),an('Click "Open Funnel Settings" to enable Funnel...');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){a3(),aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.funnelNotEnabled)continue;if(b.error){a3(),ap({type:"error",message:b.error});return}}catch{}}a3(),ap({type:"error",message:"Timed out waiting for Funnel to be enabled."})},a6=async()=>{al(!0),ap(null);try{let a=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),b=await a.json();a.ok?(af(!1),aj(""),aH(!1),ap({type:"success",message:"Tailscale disabled"})):ap({type:"error",message:b.error||"Failed to disable Tailscale"})}catch(a){ap({type:"error",message:a.message})}finally{al(!1)}},a7=async()=>{ap(null),az([]);let a=await a_();a?.installed&&a?.hasCachedPassword?a4():aF(!0)},a8=async()=>{if(s.trim())try{let a=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:s})}),b=await a.json();a.ok&&(v(b.key),await aX(),t(""),r(!1))}catch(a){console.log("Error creating key:",a)}},a9=async a=>{x({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{x(null);try{(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&(c(b.filter(b=>b.id!==a)),aO(b=>{let c=new Set(b);return c.delete(a),c}))}catch(a){console.log("Error deleting key:",a)}}})},ba=async(a,b)=>{try{(await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&c(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error toggling key:",a)}},[bb,bc]=(0,e.useState)("/v1");return f?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(h.Qv,{}),(0,d.jsx)(h.Qv,{})]}):(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)(h.Zp,{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(m,{label:"Local",url:bb,copyId:"local_url",copied:aP,onCopy:aQ}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${O?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),O&&!W&&Q?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${U||S}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aQ(`${U||S}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===aP?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>ad(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!O||W||Q?W?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),Y||"Creating tunnel..."]}),(0,d.jsx)("button",{onClick:()=>{X(!1),Z("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):$?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),$.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>ab(!0),children:"Enable"})]}):M?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,d.jsx)("button",{onClick:()=>N(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{aR?_({type:"error",message:`Security required: ${aS}`}):y?ab(!0):_({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aJ?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,d.jsx)("button",{onClick:()=>ad(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${ae?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tailscale"}),ae&&!ak&&ag?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${ai}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aQ(`${ai}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===aP?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>aH(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!ae||ak||ag?ak||aC?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),am||"Connecting..."]}),aq&&(0,d.jsx)(h.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(aq,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:as||"Open"}),(0,d.jsx)("button",{onClick:()=>{al(!1),aD(!1),an(""),a3()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ao?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ao.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:a7,children:"Enable"})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{aR?ap({type:"error",message:`Security required: ${aS}`}):a7()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aL?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,d.jsx)("button",{onClick:()=>aH(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),aR&&!O&&!ae&&(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(p,{message:aS,action:{label:"Open settings",href:"/dashboard/profile"}})}),(O||ae)&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!y&&(0,d.jsx)(p,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!A||!C)&&(0,d.jsx)(p,{message:A?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:A?"Change password":"Enable",href:"/dashboard/profile"}})]}),(O||ae)&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,d.jsx)(h.lM,{checked:E,onChange:()=>aT(!E)}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,d.jsx)(o,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked."})]})]})]}),(0,d.jsxs)(h.Zp,{id:"rtk",children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"bolt"}),"Token Saver"]})}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-4 border-b border-border gap-4",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress tool output"," ",(0,d.jsx)("a",{href:"https://github.com/rtk-ai/rtk",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(RTK)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"git/grep/ls/tree/logs → 60-90% fewer input tokens"})]}),(0,d.jsx)(h.lM,{checked:G,onChange:()=>aV(!G)})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-4 gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress LLM output"," ",(0,d.jsx)("a",{href:"https://github.com/JuliusBrussee/caveman",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Caveman)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[I&&(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:k.map(a=>(0,d.jsx)("button",{onClick:()=>{var b;L(b=a.id),aW({cavemanLevel:b})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${K===a.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:a.desc,children:a.label},a.id))}),(0,d.jsx)(h.lM,{checked:I,onChange:()=>{var a;J(a=!I),aW({cavemanEnabled:a})}})]})]})]}),(0,d.jsxs)(h.Zp,{id:"require-api-key",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>r(!0),children:"Create Key"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,d.jsx)(h.lM,{checked:y,onChange:()=>aU(!y)})]}),0===b.length?(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,d.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>r(!0),children:"Create Key"})]}):(0,d.jsx)("div",{className:"flex flex-col",children:b.map(a=>{var b;return(0,d.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono",children:aN.has(a.id)?a.key:(b=a.key)?b.length>8?b.slice(0,8)+"...":b:""}),(0,d.jsx)("button",{onClick:()=>{var b;return b=a.id,void aO(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:aN.has(a.id)?"Hide key":"Show key",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aN.has(a.id)?"visibility_off":"visibility"})}),(0,d.jsx)("button",{onClick:()=>aQ(a.key,a.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aP===a.id?"check":"content_copy"})})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(a.createdAt).toLocaleDateString()]}),!1===a.isActive&&(0,d.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(h.lM,{size:"sm",checked:a.isActive??!0,onChange:b=>{a.isActive&&!b?x({title:"Pause API Key",message:`Pause API key "${a.name}"?
1
+ exports.id=7899,exports.ids=[7899],exports.modules={11346:(a,b,c)=>{Promise.resolve().then(c.bind(c,51747))},43173:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(50377);let j=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],k=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"}];function l({machineId:a}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)(null),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(!0),[C,D]=(0,e.useState)(!0),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!0),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)("full"),[M,N]=(0,e.useState)(!0),[O,P]=(0,e.useState)(!1),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(""),[U,V]=(0,e.useState)(""),[W,X]=(0,e.useState)(!1),[Y,Z]=(0,e.useState)(""),[$,_]=(0,e.useState)(null),[aa,ab]=(0,e.useState)(!1),[ac,ad]=(0,e.useState)(!1),[ae,af]=(0,e.useState)(!1),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(""),[ak,al]=(0,e.useState)(!1),[am,an]=(0,e.useState)(""),[ao,ap]=(0,e.useState)(null),[aq,ar]=(0,e.useState)(""),[as,at]=(0,e.useState)(""),[au,av]=(0,e.useState)(null),[aw,ax]=(0,e.useState)(!1),[ay,az]=(0,e.useState)([]),[aA,aB]=(0,e.useState)(""),[aC,aD]=(0,e.useState)(!1),[aE,aF]=(0,e.useState)(!1),[aG,aH]=(0,e.useState)(!1),aI=(0,e.useRef)(null);(0,e.useRef)(0),(0,e.useRef)(0),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1);let[aJ,aK]=(0,e.useState)(!1),[aL,aM]=(0,e.useState)(!1),[aN,aO]=(0,e.useState)(new Set),{copied:aP,copy:aQ}=(0,i.C)(),aR=!A||!C,aS=A?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,e.useCallback)((a,b,c,d,e,f)=>{b.current?(c.current=0,d(!0),e.current||(e.current=!0,f(!0))):(c.current+=1,c.current>=5&&d(!1))},[]);let aT=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({tunnelDashboardAccess:a})})).ok&&F(a)}catch(a){console.log("Error updating tunnelDashboardAccess:",a)}},aU=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireApiKey:a})})).ok&&z(a)}catch(a){console.log("Error updating requireApiKey:",a)}},aV=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:a})})).ok&&H(a)}catch(a){console.log("Error updating rtkEnabled:",a)}},aW=async a=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}catch(a){console.log("Error updating setting:",a)}},aX=async()=>{try{let a=await fetch("/api/keys"),b=await a.json();a.ok&&c(b.keys||[])}catch(a){console.log("Error fetching data:",a)}finally{g(!1)}},aY=async(...a)=>{X(!0),Z("Waiting for tunnel ready...");let b=a.filter(Boolean).map(a=>`${a}/api/health`),c=Date.now();for(;Date.now()-c<3e5;){if(await new Promise(a=>setTimeout(a,2e3)),await Promise.any(b.map(async a=>{if((await fetch(a,{mode:"cors",cache:"no-store"})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return P(!0),X(!1),Z(""),!0;if((Date.now()-c)%1e4<2e3)try{let a=await fetch("/api/tunnel/status");if(a.ok){let b=await a.json();if(!b.tunnel?.enabled)return _({type:"error",message:"Tunnel process stopped unexpectedly."}),X(!1),Z(""),!1}}catch{}}return _({type:"error",message:"Tunnel created but not reachable. Please try again."}),X(!1),Z(""),!1},aZ=async()=>{ab(!1),X(!0),_(null),Z("Creating tunnel...");let a=!0;(async()=>{for(;a;){try{let b=await fetch("/api/tunnel/status");if(b.ok){let c=await b.json();c.download?.downloading?Z(`Downloading cloudflared... ${c.download.progress}%`):a&&Z("Creating tunnel...")}}catch{}await new Promise(a=>setTimeout(a,1e3))}})();try{let b=await fetch("/api/tunnel/enable",{method:"POST"});a=!1;let c=await b.json();if(!b.ok)return void _({type:"error",message:c.error||"Failed to enable tunnel"});let d=c.tunnelUrl;if(!d)return void _({type:"error",message:"No tunnel URL returned"});T(d),V(c.publicUrl||""),await aY(c.publicUrl,d)}catch(a){_({type:"error",message:a.message})}finally{a=!1,X(!1),Z("")}},a$=async()=>{X(!0),_(null);try{let a=await fetch("/api/tunnel/disable",{method:"POST"}),b=await a.json();a.ok?(P(!1),T(""),ad(!1),_({type:"success",message:"Tunnel disabled"})):_({type:"error",message:b.error||"Failed to disable tunnel"})}catch(a){_({type:"error",message:a.message})}finally{X(!1)}},a_=async()=>{av(null);try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok){let b=await a.json();return av(b.installed),b}}catch{}return av(!1),{installed:!1}},a0=async()=>{ax(!0),ap(null),az([]);try{let a=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:aA})});aB("");let b=a.body.getReader(),c=new TextDecoder,d="";for(;;){let{done:a,value:e}=await b.read();if(a)break;let f=(d+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(d=f.pop()||"",f)){let b=a.split("\n"),c="progress",d=null;for(let a of b)if(a.startsWith("event: ")&&(c=a.slice(7).trim()),a.startsWith("data: "))try{d=JSON.parse(a.slice(6))}catch{}if(d)if("progress"===c)az(a=>[...a.slice(-50),d.message]);else if("done"===c){av(!0),ax(!1),aF(!1),a4();return}else"error"===c&&ap({type:"error",message:d.error||"Install failed"})}}}catch(a){ap({type:"error",message:a.message})}finally{ax(!1)}},a1=async a=>{an("Waiting for Tailscale ready...");let b=`${a}/api/health`,c=Date.now();for(;Date.now()-c<3e5;){await new Promise(a=>setTimeout(a,2e3));try{let a=await fetch(b,{mode:"no-cors",cache:"no-store"});if(a.ok||"opaque"===a.type)return!0}catch{}}return!1},a2=(a,b)=>{ar(a),at(b)},a3=()=>{ar(""),at("")},a4=async()=>{aF(!1),aD(!0),al(!0),ap(null),an("Connecting..."),a3();try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.needsLogin&&b.authUrl){a2(b.authUrl,"Open Login Page"),an('Login required — click "Open Login Page" to continue');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok&&(await a.json()).loggedIn){a3(),an("Starting funnel...");let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."})}else b.funnelNotEnabled&&b.enableUrl?await a5(b.enableUrl):ap({type:"error",message:b.error||"Failed to start funnel"});return}}catch{}}a3(),ap({type:"error",message:"Login timed out. Please try again."});return}if(b.funnelNotEnabled&&b.enableUrl)return void await a5(b.enableUrl);ap({type:"error",message:b.error||"Failed to connect"})}catch(a){ap({type:"error",message:a.message})}finally{al(!1),aD(!1),an(""),a3()}},a5=async a=>{a2(a,"Open Funnel Settings"),an('Click "Open Funnel Settings" to enable Funnel...');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){a3(),aj(b.tunnelUrl||"");let a=await a1(b.tunnelUrl);af(!0),ap(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.funnelNotEnabled)continue;if(b.error){a3(),ap({type:"error",message:b.error});return}}catch{}}a3(),ap({type:"error",message:"Timed out waiting for Funnel to be enabled."})},a6=async()=>{al(!0),ap(null);try{let a=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),b=await a.json();a.ok?(af(!1),aj(""),aH(!1),ap({type:"success",message:"Tailscale disabled"})):ap({type:"error",message:b.error||"Failed to disable Tailscale"})}catch(a){ap({type:"error",message:a.message})}finally{al(!1)}},a7=async()=>{ap(null),az([]);let a=await a_();a?.installed&&a?.hasCachedPassword?a4():aF(!0)},a8=async()=>{if(s.trim())try{let a=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:s})}),b=await a.json();a.ok&&(v(b.key),await aX(),t(""),r(!1))}catch(a){console.log("Error creating key:",a)}},a9=async a=>{x({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{x(null);try{(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&(c(b.filter(b=>b.id!==a)),aO(b=>{let c=new Set(b);return c.delete(a),c}))}catch(a){console.log("Error deleting key:",a)}}})},ba=async(a,b)=>{try{(await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&c(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error toggling key:",a)}},[bb,bc]=(0,e.useState)("/v1");return f?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(h.Qv,{}),(0,d.jsx)(h.Qv,{})]}):(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)(h.Zp,{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(m,{label:"Local",url:bb,copyId:"local_url",copied:aP,onCopy:aQ}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${O?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),O&&!W&&Q?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${U||S}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aQ(`${U||S}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===aP?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>ad(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!O||W||Q?W?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),Y||"Creating tunnel..."]}),(0,d.jsx)("button",{onClick:()=>{X(!1),Z("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):$?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),$.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>ab(!0),children:"Enable"})]}):M?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,d.jsx)("button",{onClick:()=>N(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{aR?_({type:"error",message:`Security required: ${aS}`}):y?ab(!0):_({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aJ?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,d.jsx)("button",{onClick:()=>ad(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${ae?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tailscale"}),ae&&!ak&&ag?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${ai}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aQ(`${ai}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===aP?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>aH(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!ae||ak||ag?ak||aC?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),am||"Connecting..."]}),aq&&(0,d.jsx)(h.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(aq,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:as||"Open"}),(0,d.jsx)("button",{onClick:()=>{al(!1),aD(!1),an(""),a3()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ao?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ao.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:a7,children:"Enable"})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{aR?ap({type:"error",message:`Security required: ${aS}`}):a7()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aL?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,d.jsx)("button",{onClick:()=>aH(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),aR&&!O&&!ae&&(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(p,{message:aS,action:{label:"Open settings",href:"/dashboard/profile"}})}),(O||ae)&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!y&&(0,d.jsx)(p,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!A||!C)&&(0,d.jsx)(p,{message:A?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:A?"Change password":"Enable",href:"/dashboard/profile"}})]}),(O||ae)&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,d.jsx)(h.lM,{checked:E,onChange:()=>aT(!E)}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,d.jsx)(o,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked."})]})]})]}),(0,d.jsxs)(h.Zp,{id:"rtk",children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"bolt"}),"Token Saver"]})}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-4 border-b border-border gap-4",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress tool output"," ",(0,d.jsx)("a",{href:"https://github.com/rtk-ai/rtk",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(RTK)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"git/grep/ls/tree/logs → 60-90% fewer input tokens"})]}),(0,d.jsx)(h.lM,{checked:G,onChange:()=>aV(!G)})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-4 gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress LLM output"," ",(0,d.jsx)("a",{href:"https://github.com/JuliusBrussee/caveman",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Caveman)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[I&&(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:k.map(a=>(0,d.jsx)("button",{onClick:()=>{var b;L(b=a.id),aW({cavemanLevel:b})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${K===a.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:a.desc,children:a.label},a.id))}),(0,d.jsx)(h.lM,{checked:I,onChange:()=>{var a;J(a=!I),aW({cavemanEnabled:a})}})]})]})]}),(0,d.jsxs)(h.Zp,{id:"require-api-key",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>r(!0),children:"Create Key"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,d.jsx)(h.lM,{checked:y,onChange:()=>aU(!y)})]}),0===b.length?(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,d.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>r(!0),children:"Create Key"})]}):(0,d.jsx)("div",{className:"flex flex-col",children:b.map(a=>{var b;return(0,d.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono",children:aN.has(a.id)?a.key:(b=a.key)?b.length>8?b.slice(0,8)+"...":b:""}),(0,d.jsx)("button",{onClick:()=>{var b;return b=a.id,void aO(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:aN.has(a.id)?"Hide key":"Show key",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aN.has(a.id)?"visibility_off":"visibility"})}),(0,d.jsx)("button",{onClick:()=>aQ(a.key,a.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aP===a.id?"check":"content_copy"})})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(a.createdAt).toLocaleDateString()]}),!1===a.isActive&&(0,d.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(h.lM,{size:"sm",checked:a.isActive??!0,onChange:b=>{a.isActive&&!b?x({title:"Pause API Key",message:`Pause API key "${a.name}"?
2
2
 
3
- This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{x(null),ba(a.id,b)}}):ba(a.id,b)},title:a.isActive?"Pause key":"Resume key"}),(0,d.jsx)("button",{onClick:()=>a9(a.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},a.id)})})]}),(0,d.jsx)(h.aF,{isOpen:q,title:"Create API Key",onClose:()=>{r(!1),t("")},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(h.pd,{label:"Key Name",value:s,onChange:a=>t(a.target.value),placeholder:"Production Key"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a8,fullWidth:!0,disabled:!s.trim(),children:"Create"}),(0,d.jsx)(h.$n,{onClick:()=>{r(!1),t("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:!!u,title:"API Key Created",onClose:()=>v(null),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,d.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,d.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.pd,{value:u||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)(h.$n,{variant:"secondary",icon:"created_key"===aP?"check":"content_copy",onClick:()=>aQ(u,"created_key"),children:"created_key"===aP?"Copied!":"Copy"})]}),(0,d.jsx)(h.$n,{onClick:()=>v(null),fullWidth:!0,children:"Done"})]})}),(0,d.jsx)(h.aF,{isOpen:aa,title:"Enable Tunnel",onClose:()=>ab(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local 9Router to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-3",children:j.map(a=>(0,d.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:a.icon}),(0,d.jsx)("p",{className:"text-xs font-semibold",children:a.title}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:a.desc})]},a.title))}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:aZ,fullWidth:!0,children:"Start Tunnel"}),(0,d.jsx)(h.$n,{onClick:()=>ab(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:ac,title:"Disable Tunnel",onClose:()=>!W&&ad(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a$,fullWidth:!0,disabled:W,variant:"danger",children:W?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>ad(!1),variant:"ghost",fullWidth:!0,disabled:W,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:aE,title:"Tailscale Funnel",onClose:()=>{aw||(aF(!1),aB(""),ap(null))},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[null===au&&(0,d.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===au&&!aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a0,fullWidth:!0,children:"Install Tailscale"}),(0,d.jsx)(h.$n,{onClick:()=>aF(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),ay.length>0&&(0,d.jsx)("div",{ref:aI,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:ay.map((a,b)=>(0,d.jsx)("div",{children:a},b))})]}),!0===au&&!aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>a4(),fullWidth:!0,children:"Connect"}),(0,d.jsx)(h.$n,{onClick:()=>aF(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),ao&&(0,d.jsx)(n,{status:ao})]})}),(0,d.jsx)(h.aF,{isOpen:aG,title:"Disable Tailscale",onClose:()=>!ak&&aH(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a6,fullWidth:!0,disabled:ak,variant:"danger",children:ak?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>aH(!1),variant:"ghost",fullWidth:!0,disabled:ak,children:"Cancel"})]})]})}),(0,d.jsx)(h.uo,{isOpen:!!w,onClose:()=>x(null),onConfirm:w?.onConfirm,title:w?.title||"Confirm",message:w?.message,variant:"danger"})]})}function m({label:a,url:b,copyId:c,copied:e,onCopy:f,badge:g,actions:i}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${"CF"===g||"TS"===g?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:a}),(0,d.jsx)(h.pd,{value:b,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>f(b,c),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e===c?"check":"content_copy"})}),i]})}function n({status:a,className:b=""}){return(0,d.jsx)("div",{className:`p-2 rounded text-sm ${b} ${"success"===a.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===a.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===a.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:a.message.split(/(https?:\/\/[^\s]+)/g).map((a,b)=>/^https?:\/\//.test(a)?(0,d.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:a},b):a)})}function o({text:a}){return(0,d.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,d.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:a})]})}function p({message:a,action:b}){return(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-xs flex-1",children:a}),b&&(0,d.jsx)("a",{href:b.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:b.href.startsWith("#")?a=>{a.preventDefault(),document.getElementById(b.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:b.label})]})}l.propTypes={machineId:g().string.isRequired}},51747:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/ltgiang2/work/9router/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/ltgiang2/work/9router/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js","default")},77046:(a,b,c)=>{Promise.resolve().then(c.bind(c,43173))}};
3
+ This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{x(null),ba(a.id,b)}}):ba(a.id,b)},title:a.isActive?"Pause key":"Resume key"}),(0,d.jsx)("button",{onClick:()=>a9(a.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},a.id)})})]}),(0,d.jsx)(h.aF,{isOpen:q,title:"Create API Key",onClose:()=>{r(!1),t("")},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(h.pd,{label:"Key Name",value:s,onChange:a=>t(a.target.value),placeholder:"Production Key"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a8,fullWidth:!0,disabled:!s.trim(),children:"Create"}),(0,d.jsx)(h.$n,{onClick:()=>{r(!1),t("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:!!u,title:"API Key Created",onClose:()=>v(null),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,d.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,d.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.pd,{value:u||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)(h.$n,{variant:"secondary",icon:"created_key"===aP?"check":"content_copy",onClick:()=>aQ(u,"created_key"),children:"created_key"===aP?"Copied!":"Copy"})]}),(0,d.jsx)(h.$n,{onClick:()=>v(null),fullWidth:!0,children:"Done"})]})}),(0,d.jsx)(h.aF,{isOpen:aa,title:"Enable Tunnel",onClose:()=>ab(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local 9Router to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-3",children:j.map(a=>(0,d.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:a.icon}),(0,d.jsx)("p",{className:"text-xs font-semibold",children:a.title}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:a.desc})]},a.title))}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:aZ,fullWidth:!0,children:"Start Tunnel"}),(0,d.jsx)(h.$n,{onClick:()=>ab(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:ac,title:"Disable Tunnel",onClose:()=>!W&&ad(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a$,fullWidth:!0,disabled:W,variant:"danger",children:W?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>ad(!1),variant:"ghost",fullWidth:!0,disabled:W,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:aE,title:"Tailscale Funnel",onClose:()=>{aw||(aF(!1),aB(""),ap(null))},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[null===au&&(0,d.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===au&&!aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a0,fullWidth:!0,children:"Install Tailscale"}),(0,d.jsx)(h.$n,{onClick:()=>aF(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),ay.length>0&&(0,d.jsx)("div",{ref:aI,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:ay.map((a,b)=>(0,d.jsx)("div",{children:a},b))})]}),!0===au&&!aw&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>a4(),fullWidth:!0,children:"Connect"}),(0,d.jsx)(h.$n,{onClick:()=>aF(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),ao&&(0,d.jsx)(n,{status:ao})]})}),(0,d.jsx)(h.aF,{isOpen:aG,title:"Disable Tailscale",onClose:()=>!ak&&aH(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a6,fullWidth:!0,disabled:ak,variant:"danger",children:ak?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>aH(!1),variant:"ghost",fullWidth:!0,disabled:ak,children:"Cancel"})]})]})}),(0,d.jsx)(h.uo,{isOpen:!!w,onClose:()=>x(null),onConfirm:w?.onConfirm,title:w?.title||"Confirm",message:w?.message,variant:"danger"})]})}function m({label:a,url:b,copyId:c,copied:e,onCopy:f,badge:g,actions:i}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${"CF"===g||"TS"===g?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:a}),(0,d.jsx)(h.pd,{value:b,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>f(b,c),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e===c?"check":"content_copy"})}),i]})}function n({status:a,className:b=""}){return(0,d.jsx)("div",{className:`p-2 rounded text-sm ${b} ${"success"===a.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===a.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===a.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:a.message.split(/(https?:\/\/[^\s]+)/g).map((a,b)=>/^https?:\/\//.test(a)?(0,d.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:a},b):a)})}function o({text:a}){return(0,d.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,d.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:a})]})}function p({message:a,action:b}){return(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-xs flex-1",children:a}),b&&(0,d.jsx)("a",{href:b.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:b.href.startsWith("#")?a=>{a.preventDefault(),document.getElementById(b.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:b.label})]})}l.propTypes={machineId:g().string.isRequired}},51747:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/letruonggiang/work/9router/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/letruonggiang/work/9router/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js","default")},58202:(a,b,c)=>{Promise.resolve().then(c.bind(c,43173))}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=7965,exports.ids=[7965],exports.modules={57965:(a,b,c)=>{c.d(b,{createNodeSqliteAdapter:()=>e});var d=c(76040);async function e(a){let b=process.emit;process.emit=function(a,c,...d){return!("warning"===a&&c?.name==="ExperimentalWarning"&&/SQLite/i.test(c.message||""))&&b.call(process,a,c,...d)};let e=new(await Promise.resolve().then(c.t.bind(c,80099,23))).DatabaseSync(a);e.exec(d.oG);let f=new Map;function g(a){let b=f.get(a);return b||(b=e.prepare(a),f.set(a,b)),b}let h=setInterval(()=>{try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},6e4);function i(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}try{f.clear()}catch{}try{e.close()}catch{}}"function"==typeof h.unref&&h.unref();let j=()=>i();return process.once("beforeExit",j),process.once("SIGINT",()=>{j(),process.exit(0)}),process.once("SIGTERM",()=>{j(),process.exit(0)}),{driver:"node:sqlite",run(a,b=[]){let c=g(a).run(...b);return{changes:Number(c.changes??0),lastInsertRowid:Number(c.lastInsertRowid??0)}},get:(a,b=[])=>g(a).get(...b),all:(a,b=[])=>g(a).all(...b),exec:a=>e.exec(a),transaction(a){let b=`sp_${Math.random().toString(36).slice(2)}`;e.exec(`SAVEPOINT ${b}`);try{let c=a();return e.exec(`RELEASE ${b}`),c}catch(a){try{e.exec(`ROLLBACK TO ${b}`),e.exec(`RELEASE ${b}`)}catch{}throw a}},checkpoint(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},close(){clearInterval(h),i()},raw:e}}},76040:(a,b,c)=>{c.d(b,{CG:()=>e,oG:()=>d,zE:()=>f});let d=`
1
+ "use strict";exports.id=7965,exports.ids=[7965],exports.modules={57965:(a,b,c)=>{c.d(b,{createNodeSqliteAdapter:()=>e});var d=c(76040);async function e(a){let b=process.emit;process.emit=function(a,c,...d){return!("warning"===a&&c?.name==="ExperimentalWarning"&&/SQLite/i.test(c.message||""))&&b.call(process,a,c,...d)};let e=new(await Promise.resolve().then(c.t.bind(c,79868,23))).DatabaseSync(a);e.exec(d.oG);let f=new Map;function g(a){let b=f.get(a);return b||(b=e.prepare(a),f.set(a,b)),b}let h=setInterval(()=>{try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},6e4);function i(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}try{f.clear()}catch{}try{e.close()}catch{}}"function"==typeof h.unref&&h.unref();let j=()=>i();return process.once("beforeExit",j),process.once("SIGINT",()=>{j(),process.exit(0)}),process.once("SIGTERM",()=>{j(),process.exit(0)}),{driver:"node:sqlite",run(a,b=[]){let c=g(a).run(...b);return{changes:Number(c.changes??0),lastInsertRowid:Number(c.lastInsertRowid??0)}},get:(a,b=[])=>g(a).get(...b),all:(a,b=[])=>g(a).all(...b),exec:a=>e.exec(a),transaction(a){let b=`sp_${Math.random().toString(36).slice(2)}`;e.exec(`SAVEPOINT ${b}`);try{let c=a();return e.exec(`RELEASE ${b}`),c}catch(a){try{e.exec(`ROLLBACK TO ${b}`),e.exec(`RELEASE ${b}`)}catch{}throw a}},checkpoint(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},close(){clearInterval(h),i()},raw:e}}},76040:(a,b,c)=>{c.d(b,{CG:()=>e,oG:()=>d,zE:()=>f});let d=`
2
2
  PRAGMA journal_mode = WAL;
3
3
  PRAGMA synchronous = NORMAL;
4
4
  PRAGMA temp_store = MEMORY;
@@ -6,4 +6,4 @@ PRAGMA mmap_size = 30000000;
6
6
  PRAGMA cache_size = -64000;
7
7
  PRAGMA foreign_keys = ON;
8
8
  PRAGMA busy_timeout = 5000;
9
- `,e={_meta:{columns:{key:"TEXT PRIMARY KEY",value:"TEXT NOT NULL"}},settings:{columns:{id:"INTEGER PRIMARY KEY CHECK (id = 1)",data:"TEXT NOT NULL"}},providerConnections:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",authType:"TEXT NOT NULL",name:"TEXT",email:"TEXT",priority:"INTEGER",isActive:"INTEGER DEFAULT 1",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pc_provider ON providerConnections(provider)","CREATE INDEX IF NOT EXISTS idx_pc_provider_active ON providerConnections(provider, isActive)","CREATE INDEX IF NOT EXISTS idx_pc_priority ON providerConnections(provider, priority)"]},providerNodes:{columns:{id:"TEXT PRIMARY KEY",type:"TEXT",name:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pn_type ON providerNodes(type)"]},proxyPools:{columns:{id:"TEXT PRIMARY KEY",isActive:"INTEGER DEFAULT 1",testStatus:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pp_active ON proxyPools(isActive)","CREATE INDEX IF NOT EXISTS idx_pp_status ON proxyPools(testStatus)"]},apiKeys:{columns:{id:"TEXT PRIMARY KEY",key:"TEXT UNIQUE NOT NULL",name:"TEXT",machineId:"TEXT",isActive:"INTEGER DEFAULT 1",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_ak_key ON apiKeys(key)"]},combos:{columns:{id:"TEXT PRIMARY KEY",name:"TEXT UNIQUE NOT NULL",kind:"TEXT",models:"TEXT NOT NULL",sortOrder:"INTEGER DEFAULT 0",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_combo_name ON combos(name)"]},kv:{columns:{scope:"TEXT NOT NULL",key:"TEXT NOT NULL",value:"TEXT NOT NULL"},primaryKey:"PRIMARY KEY (scope, key)",indexes:["CREATE INDEX IF NOT EXISTS idx_kv_scope ON kv(scope)"]},usageHistory:{columns:{id:"INTEGER PRIMARY KEY AUTOINCREMENT",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",apiKey:"TEXT",endpoint:"TEXT",promptTokens:"INTEGER DEFAULT 0",completionTokens:"INTEGER DEFAULT 0",cost:"REAL DEFAULT 0",status:"TEXT",tokens:"TEXT",meta:"TEXT"},indexes:["CREATE INDEX IF NOT EXISTS idx_uh_ts ON usageHistory(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_uh_provider ON usageHistory(provider)","CREATE INDEX IF NOT EXISTS idx_uh_model ON usageHistory(model)","CREATE INDEX IF NOT EXISTS idx_uh_conn ON usageHistory(connectionId)"]},usageDaily:{columns:{dateKey:"TEXT PRIMARY KEY",data:"TEXT NOT NULL"}},keyPool:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",name:"TEXT",key:"TEXT NOT NULL",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_kp_provider ON keyPool(provider)","CREATE UNIQUE INDEX IF NOT EXISTS idx_kp_provider_key ON keyPool(provider, key)"]},requestDetails:{columns:{id:"TEXT PRIMARY KEY",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",status:"TEXT",data:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_rd_ts ON requestDetails(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_rd_provider ON requestDetails(provider)","CREATE INDEX IF NOT EXISTS idx_rd_model ON requestDetails(model)","CREATE INDEX IF NOT EXISTS idx_rd_conn ON requestDetails(connectionId)"]}};function f(a,b){let c=Object.entries(b.columns).map(([a,b])=>`${a} ${b}`);return b.primaryKey&&c.push(b.primaryKey),`CREATE TABLE IF NOT EXISTS ${a} (${c.join(", ")})`}},88520:(a,b,c)=>{c.d(b,{createNodeSqliteAdapter:()=>e});var d=c(63775);async function e(a){let b=process.emit;process.emit=function(a,c,...d){return!("warning"===a&&c?.name==="ExperimentalWarning"&&/SQLite/i.test(c.message||""))&&b.call(process,a,c,...d)};let e=new(await Promise.resolve().then(c.t.bind(c,80099,23))).DatabaseSync(a);e.exec(d.oG);let f=new Map;function g(a){let b=f.get(a);return b||(b=e.prepare(a),f.set(a,b)),b}let h=setInterval(()=>{try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},6e4);function i(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}try{f.clear()}catch{}try{e.close()}catch{}}"function"==typeof h.unref&&h.unref();let j=()=>i();return process.once("beforeExit",j),process.once("SIGINT",()=>{j(),process.exit(0)}),process.once("SIGTERM",()=>{j(),process.exit(0)}),{driver:"node:sqlite",run(a,b=[]){let c=g(a).run(...b);return{changes:Number(c.changes??0),lastInsertRowid:Number(c.lastInsertRowid??0)}},get:(a,b=[])=>g(a).get(...b),all:(a,b=[])=>g(a).all(...b),exec:a=>e.exec(a),transaction(a){let b=`sp_${Math.random().toString(36).slice(2)}`;e.exec(`SAVEPOINT ${b}`);try{let c=a();return e.exec(`RELEASE ${b}`),c}catch(a){try{e.exec(`ROLLBACK TO ${b}`),e.exec(`RELEASE ${b}`)}catch{}throw a}},checkpoint(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},close(){clearInterval(h),i()},raw:e}}}};
9
+ `,e={_meta:{columns:{key:"TEXT PRIMARY KEY",value:"TEXT NOT NULL"}},settings:{columns:{id:"INTEGER PRIMARY KEY CHECK (id = 1)",data:"TEXT NOT NULL"}},providerConnections:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",authType:"TEXT NOT NULL",name:"TEXT",email:"TEXT",priority:"INTEGER",isActive:"INTEGER DEFAULT 1",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pc_provider ON providerConnections(provider)","CREATE INDEX IF NOT EXISTS idx_pc_provider_active ON providerConnections(provider, isActive)","CREATE INDEX IF NOT EXISTS idx_pc_priority ON providerConnections(provider, priority)"]},providerNodes:{columns:{id:"TEXT PRIMARY KEY",type:"TEXT",name:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pn_type ON providerNodes(type)"]},proxyPools:{columns:{id:"TEXT PRIMARY KEY",isActive:"INTEGER DEFAULT 1",testStatus:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pp_active ON proxyPools(isActive)","CREATE INDEX IF NOT EXISTS idx_pp_status ON proxyPools(testStatus)"]},apiKeys:{columns:{id:"TEXT PRIMARY KEY",key:"TEXT UNIQUE NOT NULL",name:"TEXT",machineId:"TEXT",isActive:"INTEGER DEFAULT 1",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_ak_key ON apiKeys(key)"]},combos:{columns:{id:"TEXT PRIMARY KEY",name:"TEXT UNIQUE NOT NULL",kind:"TEXT",models:"TEXT NOT NULL",sortOrder:"INTEGER DEFAULT 0",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_combo_name ON combos(name)"]},kv:{columns:{scope:"TEXT NOT NULL",key:"TEXT NOT NULL",value:"TEXT NOT NULL"},primaryKey:"PRIMARY KEY (scope, key)",indexes:["CREATE INDEX IF NOT EXISTS idx_kv_scope ON kv(scope)"]},usageHistory:{columns:{id:"INTEGER PRIMARY KEY AUTOINCREMENT",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",apiKey:"TEXT",endpoint:"TEXT",promptTokens:"INTEGER DEFAULT 0",completionTokens:"INTEGER DEFAULT 0",cost:"REAL DEFAULT 0",status:"TEXT",tokens:"TEXT",meta:"TEXT"},indexes:["CREATE INDEX IF NOT EXISTS idx_uh_ts ON usageHistory(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_uh_provider ON usageHistory(provider)","CREATE INDEX IF NOT EXISTS idx_uh_model ON usageHistory(model)","CREATE INDEX IF NOT EXISTS idx_uh_conn ON usageHistory(connectionId)"]},usageDaily:{columns:{dateKey:"TEXT PRIMARY KEY",data:"TEXT NOT NULL"}},keyPool:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",name:"TEXT",key:"TEXT NOT NULL",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_kp_provider ON keyPool(provider)","CREATE UNIQUE INDEX IF NOT EXISTS idx_kp_provider_key ON keyPool(provider, key)"]},requestDetails:{columns:{id:"TEXT PRIMARY KEY",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",status:"TEXT",data:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_rd_ts ON requestDetails(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_rd_provider ON requestDetails(provider)","CREATE INDEX IF NOT EXISTS idx_rd_model ON requestDetails(model)","CREATE INDEX IF NOT EXISTS idx_rd_conn ON requestDetails(connectionId)"]}};function f(a,b){let c=Object.entries(b.columns).map(([a,b])=>`${a} ${b}`);return b.primaryKey&&c.push(b.primaryKey),`CREATE TABLE IF NOT EXISTS ${a} (${c.join(", ")})`}},88520:(a,b,c)=>{c.d(b,{createNodeSqliteAdapter:()=>e});var d=c(63775);async function e(a){let b=process.emit;process.emit=function(a,c,...d){return!("warning"===a&&c?.name==="ExperimentalWarning"&&/SQLite/i.test(c.message||""))&&b.call(process,a,c,...d)};let e=new(await Promise.resolve().then(c.t.bind(c,79868,23))).DatabaseSync(a);e.exec(d.oG);let f=new Map;function g(a){let b=f.get(a);return b||(b=e.prepare(a),f.set(a,b)),b}let h=setInterval(()=>{try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},6e4);function i(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}try{f.clear()}catch{}try{e.close()}catch{}}"function"==typeof h.unref&&h.unref();let j=()=>i();return process.once("beforeExit",j),process.once("SIGINT",()=>{j(),process.exit(0)}),process.once("SIGTERM",()=>{j(),process.exit(0)}),{driver:"node:sqlite",run(a,b=[]){let c=g(a).run(...b);return{changes:Number(c.changes??0),lastInsertRowid:Number(c.lastInsertRowid??0)}},get:(a,b=[])=>g(a).get(...b),all:(a,b=[])=>g(a).all(...b),exec:a=>e.exec(a),transaction(a){let b=`sp_${Math.random().toString(36).slice(2)}`;e.exec(`SAVEPOINT ${b}`);try{let c=a();return e.exec(`RELEASE ${b}`),c}catch(a){try{e.exec(`ROLLBACK TO ${b}`),e.exec(`RELEASE ${b}`)}catch{}throw a}},checkpoint(){try{e.exec("PRAGMA wal_checkpoint(TRUNCATE)")}catch{}},close(){clearInterval(h),i()},raw:e}}}};
@@ -50,4 +50,4 @@ ${e.length} files in ${g.length} dirs:
50
50
  `,b.slice(0,10)))h+=` ${c}
51
51
  `;b.length>10&&(h+=` +${b.length-10}
52
52
  `),h+="\n"}return g.length>20&&(h+=`+${g.length-20} more dirs
53
- `),h.replace(/\n+$/,"")}r.filterName="search-list";let s=/^Result of search in '[^']*' \(total (\d+) files?\):/,t=/^diff --git /m,u=/^@@ /m,v=/^On branch |^nothing to commit|^Changes (not |to be )|^Untracked files:/m,w=/^[ MADRCU?!][ MADRCU?!] \S/m,x=/^(npm (warn|error|ERR!)|yarn (warn|error)|\s*Compiling\s+\S+|\s*Downloading\s+\S+|added \d+ package|\[ERROR\]|BUILD (SUCCESS|FAILED)|\s*Finished\s+|Successfully (installed|built)|ERROR:)/im,y=/[├└]──|│ /,z=/^[-dlbcps][rwx-]{9}/m,A=/^total \d+$/m;function B(a){let b=a.indexOf(":");if(-1===b)return!1;let c=a.indexOf(":",b+1);if(-1===c)return!1;let d=a.slice(b+1,c);return/^\d+$/.test(d)}function C(a){let b=a.trim();return!(0===b.length||b.includes(":"))&&(b.startsWith(".")||b.startsWith("/")||b.includes("/"))}function D(a,b){if(!b||!a)return null;if(a.conversationState){var c=a;let b={bytesBefore:0,bytesAfter:0,hits:[]};try{let a=c.conversationState,d=[...Array.isArray(a?.history)?a.history:[]];for(let c of(a?.currentMessage&&d.push(a.currentMessage),d)){let a=c?.userInputMessage?.userInputMessageContext?.toolResults;if(Array.isArray(a)){for(let c of a)if("error"!==c.status&&Array.isArray(c.content))for(let a of c.content)a&&"string"==typeof a.text&&(a.text=E(a.text,b,"kiro-tool-result"))}}}catch(a){return console.warn("[RTK] compressKiroFormat error:",a.message),null}return b}let d=Array.isArray(a.messages)?a.messages:Array.isArray(a.input)?a.input:null;if(!d)return null;let e={bytesBefore:0,bytesAfter:0,hits:[]};try{for(let a=0;a<d.length;a++){let b=d[a];if(b){if("function_call_output"===b.type){if("string"==typeof b.output)b.output=E(b.output,e,"openai-responses-string");else if(Array.isArray(b.output))for(let a=0;a<b.output.length;a++){let c=b.output[a];c&&"input_text"===c.type&&"string"==typeof c.text&&(c.text=E(c.text,e,"openai-responses-array"))}continue}if("tool"===b.role&&"string"==typeof b.content){b.content=E(b.content,e,"openai-tool");continue}if(Array.isArray(b.content)){if("tool"===b.role){for(let a=0;a<b.content.length;a++){let c=b.content[a];c&&"text"===c.type&&"string"==typeof c.text&&(c.text=E(c.text,e,"openai-tool-array"))}continue}for(let a=0;a<b.content.length;a++){let c=b.content[a];if(c&&"tool_result"===c.type&&!0!==c.is_error){if("string"==typeof c.content)c.content=E(c.content,e,"claude-string");else if(Array.isArray(c.content))for(let a=0;a<c.content.length;a++){let b=c.content[a];b&&"text"===b.type&&"string"==typeof b.text&&(b.text=E(b.text,e,"claude-array"))}}}}}}}catch(a){return console.warn("[RTK] compressMessages error:",a.message),null}return e}function E(a,b,c){let d=a.length;if(b.bytesBefore+=d,d<500||d>0xa00000)return b.bytesAfter+=d,a;let g=function(a){var b,c;let d,g,l=a.length>1024?a.slice(0,1024):a;if(t.test(l)||u.test(l))return e;if(v.test(l))return f;if(x.test(l))return h;if(!((d=l.split("\n").filter(a=>a.trim())).length<3)&&d.filter(a=>w.test(a)).length/d.length>=.6)return f;let D=l.split("\n"),E=D.filter(a=>a.trim().length>0);return E.slice(0,5).some(B)?i:E.length>=3&&E.every(C)?j:y.test(l)?n:A.test(l)||(b=l,g=new RegExp((c=z).source,c.flags.includes("g")?c.flags:c.flags+"g"),(b.match(g)||[]).length>=3)?m:s.test(l)?r:D.length>=250&&function(a){let b=0,c=0;for(let d of a.slice(0,100))0!==d.length&&(c++,q.test(d)&&b++);return!(c<5)&&b/c>=.7}(D)?p:E.length>=5?k:a.split("\n").length>=250?o:null}(a);if(!g)return b.bytesAfter+=d,a;let l=function(a,b){if("function"!=typeof a)return b;try{let c=a(b);if("string"!=typeof c)return b;return c}catch(d){let c=a.filterName||a.name||"anonymous";return console.warn(`[rtk] warning: filter '${c}' panicked — passing through raw output: ${d?.message||d}`),b}}(g,a);return!l||0===l.length||l.length>=d?(b.bytesAfter+=d,a):(b.bytesAfter+=l.length,b.hits.push({shape:c,filter:g.filterName||g.name,saved:d-l.length}),l)}function F(a){if(!a||!a.hits||0===a.hits.length)return null;let b=a.bytesBefore-a.bytesAfter,c=a.bytesBefore>0?(b/a.bytesBefore*100).toFixed(1):"0",d=Array.from(new Set(a.hits.map(a=>a.filter))).join(",");return`[RTK] saved ${b}B / ${a.bytesBefore}B (${c}%) via [${d}] hits=${a.hits.length}`}},81626:(a,b,c)=>{function d(a,b){let c;if(!a.trim())return;let d=a.match(/^event:\s*(.+)$/m),e=a.match(/^data:\s*(.+)$/m);if(!d||!e)return;let f=d[1].trim(),g=e[1].trim();if("[DONE]"!==g){try{c=JSON.parse(g)}catch{return}"response.created"===f?(b.responseId=c.response?.id||b.responseId,b.created=c.response?.created_at||b.created):"response.output_item.done"===f?b.items.set(c.output_index??0,c.item):"response.completed"===f?(b.status="completed",c.response?.usage&&(b.usage.input_tokens=c.response.usage.input_tokens||0,b.usage.output_tokens=c.response.usage.output_tokens||0,b.usage.total_tokens=c.response.usage.total_tokens||0)):"response.failed"===f&&(b.status="failed")}}c.d(b,{I:()=>n,F:()=>m});let e={input_tokens:0,output_tokens:0,total_tokens:0};async function f(a){if(!a||"function"!=typeof a.getReader)return{id:`resp_${Date.now()}`,object:"response",created_at:Math.floor(Date.now()/1e3),status:"failed",output:[],usage:{...e}};let b=a.getReader(),c=new TextDecoder,f="",g={responseId:"",created:Math.floor(Date.now()/1e3),status:"in_progress",usage:{...e},items:new Map};try{for(;;){let{done:a,value:e}=await b.read();if(a)break;let h=(f+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(f=h.pop()||"",h))d(a,g)}f.trim()&&d(f,g)}finally{b.releaseLock()}let h=[],i=g.items.size>0?Math.max(...g.items.keys()):-1;for(let a=0;a<=i;a++)h.push(g.items.get(a)||{type:"message",content:[],role:"assistant"});return{id:g.responseId||`resp_${Date.now()}_${Math.random().toString(36).slice(2,8)}`,object:"response",created_at:g.created,status:g.status||"completed",output:h,usage:g.usage}}var g=c(43659),h=c(41004),i=c(14170),j=c(86171),k=c(47370);function l(a){if(!a?.content||!Array.isArray(a.content))return"";let b=a.content.find(a=>"output_text"===a.type);if("string"==typeof b?.text)return b.text;let c=a.content.find(a=>"string"==typeof a.text);return"string"==typeof c?.text?c.text:""}function m(a,b){let c=[];for(let b of String(a||"").split("\n")){let a=b.trim();if(!a.startsWith("data:"))continue;let d=a.slice(5).trim();if(d&&"[DONE]"!==d)try{c.push(JSON.parse(d))}catch{}}if(0===c.length)return null;let d=c[0],e=[],f=[],g=new Map,h="stop",i=null;for(let a of c){let b=a?.choices?.[0],c=b?.delta||{};if("string"==typeof c.content&&c.content.length>0&&e.push(c.content),"string"==typeof c.reasoning_content&&c.reasoning_content.length>0&&f.push(c.reasoning_content),b?.finish_reason&&(h=b.finish_reason),a?.usage&&"object"==typeof a.usage&&(i=a.usage),Array.isArray(c.tool_calls))for(let a of c.tool_calls){let b=a.index??0;g.has(b)||g.set(b,{id:a.id||"",type:"function",function:{name:"",arguments:""}});let c=g.get(b);a.id&&(c.id=a.id),a.function?.name&&(c.function.name+=a.function.name),a.function?.arguments&&(c.function.arguments+=a.function.arguments)}}let j={role:"assistant",content:e.join("")||(g.size>0?null:"")};f.length>0&&(j.reasoning_content=f.join("")),g.size>0&&(j.tool_calls=[...g.entries()].sort((a,b)=>a[0]-b[0]).map(([,a])=>a));let k={id:d.id||`chatcmpl-${Date.now()}`,object:"chat.completion",created:d.created||Math.floor(Date.now()/1e3),model:d.model||b||"unknown",choices:[{index:0,message:j,finish_reason:h}]};return i&&(k.usage=i),k}async function n({providerResponse:a,sourceFormat:b,provider:c,model:d,body:e,stream:o,translatedBody:p,finalBody:q,requestStartTime:r,connectionId:s,apiKey:t,clientRawRequest:u,onRequestSuccess:v,trackDone:w,appendLog:x}){let y=a.headers.get("content-type")||"";if(!(y.includes("text/event-stream")||""===y&&"codex"===c))return null;w();let z={provider:c,model:d,connectionId:s,request:(0,j.Fo)(e,o),providerRequest:q||p||null};if("codex"===c||b===i.h.OPENAI_RESPONSES)try{let e,g=await f(a.body);v&&await v();let h=g.usage||{};x({tokens:h,status:"200 OK"}),(0,j.qr)({provider:c,model:d,tokens:h,connectionId:s,apiKey:t,endpoint:u?.endpoint});let{msgItem:m,textContent:n}=function(a){if(!Array.isArray(a))return{msgItem:null,textContent:null};let b=a.filter(a=>a?.type==="message");if(0===b.length)return{msgItem:null,textContent:null};for(let a=b.length-1;a>=0;a--){let c=l(b[a]);if(c.length>0)return{msgItem:b[a],textContent:c}}let c=b[b.length-1];return{msgItem:c,textContent:l(c)}}(g.output),o=Date.now()-r;if((0,k.ox)((0,j.$R)({...z,latency:{ttft:o,total:o},tokens:{prompt_tokens:h.input_tokens||0,completion_tokens:h.output_tokens||0},response:{content:n,thinking:null,finish_reason:g.status||"unknown"},status:"success"},{endpoint:u?.endpoint||null})).catch(()=>{}),b===i.h.OPENAI_RESPONSES)return{success:!0,response:new Response(JSON.stringify(g),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})};let p=h.input_tokens||0,q=h.output_tokens||0,w=(g.output||[]).filter(a=>"function_call"===a.type).map((a,b)=>({id:a.call_id||`call_${a.name}_${Date.now()}_${b}`,type:"function",function:{name:a.name,arguments:"string"==typeof a.arguments?a.arguments:JSON.stringify(a.arguments||{})}})),y=w.length>0;if(b===i.h.ANTIGRAVITY||b===i.h.GEMINI||b===i.h.GEMINI_CLI)e={response:{candidates:[{content:{role:"model",parts:[{text:n||""}]},finishReason:"STOP",index:0}],usageMetadata:{promptTokenCount:p,candidatesTokenCount:q,totalTokenCount:p+q},modelVersion:d,responseId:g.id||`resp_${Date.now()}`}};else{let a={role:"assistant",content:n||(y?null:"")};y&&(a.tool_calls=w);let b=y?"tool_calls":"completed"===g.status?"stop":g.status||"stop";e={id:g.id||`chatcmpl-${Date.now()}`,object:"chat.completion",created:g.created_at||Math.floor(Date.now()/1e3),model:g.model||d,choices:[{index:0,message:a,finish_reason:b}],usage:{prompt_tokens:p,completion_tokens:q,total_tokens:p+q}}}return{success:!0,response:new Response(JSON.stringify(e),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(a){return console.error("[ChatCore] Responses API SSE→JSON failed:",a),(0,g.A1)(h.gx.BAD_GATEWAY,"Failed to convert streaming response to JSON")}try{let b=await a.text(),e=m(b,d);if(!e)return(0,g.A1)(h.gx.BAD_GATEWAY,"Invalid SSE response for non-streaming request");v&&await v();let f=e.usage||{};x({tokens:f,status:"200 OK"}),(0,j.qr)({provider:c,model:d,tokens:f,connectionId:s,apiKey:t,endpoint:u?.endpoint});let i=Date.now()-r;if((0,k.ox)((0,j.$R)({...z,latency:{ttft:i,total:i},tokens:f,response:{content:e.choices?.[0]?.message?.content||null,thinking:e.choices?.[0]?.message?.reasoning_content||null,finish_reason:e.choices?.[0]?.finish_reason||"unknown"},status:"success"},{endpoint:u?.endpoint||null})).catch(()=>{}),e?.choices)for(let a of e.choices)a?.message?.reasoning_content&&a.message.content&&delete a.message.reasoning_content;return{success:!0,response:new Response(JSON.stringify(e),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(a){return console.error("[ChatCore] Chat Completions SSE→JSON failed:",a),(0,g.A1)(h.gx.BAD_GATEWAY,"Failed to convert streaming response to JSON")}}},86171:(a,b,c)=>{c.d(b,{$R:()=>i,Fo:()=>g,MK:()=>h,qr:()=>j});var d=c(47370),e=c(71857);let f=["temperature","top_p","top_k","max_tokens","max_completion_tokens","thinking","reasoning","enable_thinking","presence_penalty","frequency_penalty","seed","stop","tools","tool_choice","response_format","prediction","store","metadata","n","logprobs","top_logprobs","logit_bias","user","parallel_tool_calls"];function g(a,b){let c={messages:a.messages||[],model:a.model,stream:b};for(let b of f)void 0!==a[b]&&(c[b]=a[b]);return c}function h(a){if(!a||"object"!=typeof a)return null;if(a.usage?.input_tokens!==void 0)return{prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens};if(a.usage?.prompt_tokens!==void 0)return{prompt_tokens:a.usage.prompt_tokens||0,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens};let b=a.usageMetadata||a.response?.usageMetadata;return b?{prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,reasoning_tokens:b.thoughtsTokenCount}:!0===a.done&&"number"==typeof a.prompt_eval_count?{prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0}:null}function i(a,b={}){return{provider:a.provider||"unknown",model:a.model||"unknown",connectionId:a.connectionId||void 0,timestamp:new Date().toISOString(),latency:a.latency||{ttft:0,total:0},tokens:a.tokens||{prompt_tokens:0,completion_tokens:0},request:a.request,providerRequest:a.providerRequest||null,providerResponse:a.providerResponse||null,response:a.response||{},status:a.status||"success",...b}}function j({provider:a,model:b,tokens:c,connectionId:f,apiKey:g,endpoint:h,label:i="USAGE"}){if(!c||"object"!=typeof c)return;let k=c.input_tokens??c.prompt_tokens??0,l=c.output_tokens??c.completion_tokens??0;if(0===k&&0===l)return;let m=new Date(Date.now()+252e5),n=`${String(m.getUTCHours()).padStart(2,"0")}:${String(m.getUTCMinutes()).padStart(2,"0")}:${String(m.getUTCSeconds()).padStart(2,"0")}`,o=f?` | account=${f.slice(0,8)}...`:"";console.log(`${e.lm.green}[${n}] 📊 [${i}] ${a.toUpperCase()} | in=${k} | out=${l}${o}${e.lm.reset}`);let p={prompt_tokens:c.prompt_tokens??c.input_tokens??0,completion_tokens:c.completion_tokens??c.output_tokens??0};(0,d.sZ)({provider:a||"unknown",model:b||"unknown",tokens:p,timestamp:new Date().toISOString(),connectionId:f||void 0,apiKey:g||void 0,endpoint:h||null}).catch(()=>{})}},92500:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{w:()=>A});var e=c(57647),f=c(33110),g=c(14170),h=c(71857),i=c(59657),j=c(8590),k=c(71336),l=c(44404),m=c(43659),n=c(41004),o=c(27349),p=c(47370),q=c(55330),r=c(86171),s=c(81626),t=c(5016),u=c(20623),v=c(324),w=c(14724),x=c(60125),y=c(77256),z=a([q]);async function A({body:a,modelInfo:b,credentials:c,log:d,onCredentialsRefreshed:z,onRequestSuccess:B,onDisconnect:C,clientRawRequest:D,connectionId:E,userAgent:F,apiKey:G,ccFilterNaming:H,rtkEnabled:I,cavemanEnabled:J,cavemanLevel:K,sourceFormatOverride:L,providerThinking:M}){let N,O,P,Q,R,S,{provider:T,model:U}=b,V=Date.now(),W=L||(0,e.Tz)(a),X=(0,o.c)(a,U,F,H);if(X)return X;let Y=l.Xg[T]||T,Z=(0,l.ux)(Y,U)||(0,e.jJ)(T),$=(0,l.cY)(Y,U);if(M?.mode&&"auto"!==M.mode){let b=M.mode;"on"!==b||a.thinking?"off"!==b||a.thinking?a.reasoning_effort||(a={...a,reasoning_effort:b}):a={...a,thinking:{type:"disabled"}}:(console.log("Injecting provider-level thinking config override: on"),a={...a,thinking:{type:"enabled",budget_tokens:1e4}})}let _=!0===a.stream||W===g.h.ANTIGRAVITY||W===g.h.GEMINI||W===g.h.GEMINI_CLI,aa="openai"===T||"codex"===T||"commandcode"===T,ab=!!aa||!1!==a.stream,ac=(0,v.J)(D?.headers||{},a);"deepseek-tui"===ac&&!0!==a.stream&&(ab=!1);let ad=D?.headers?.accept||"",ae=ad.includes("application/json"),af=ad.includes("text/event-stream");ae&&!af&&!0!==a.stream&&(ab=!1);let ag=await (0,k.q7)(W,Z,U);D&&ag.logClientRawRequest(D.endpoint,D.body,D.headers),ag.logRawRequest(a),d?.debug?.("FORMAT",`${W} → ${Z} | stream=${ab}`);let ah=(0,v.J)(D?.headers||{},a),ai=(0,v.Q)(ah,T);if(ai)d?.debug?.("PASSTHROUGH",`${ah} → ${T} | native lossless`),N={...a,model:U};else{if(!(N=(0,f.GH)(W,Z,U,a,ab,c,T,ag,$,E,ah)))return(0,p.uw)(U,T,E,!1,!0),(0,m.A1)(n.gx.BAD_REQUEST,`Failed to translate request for ${W} → ${Z}`);O=N._toolNameMap,delete N._toolNameMap,N.model=U}if("claude"===ah&&Array.isArray(N.tools)){let{tools:a,stripped:b}=(0,w.F)(N.tools);b.length>0&&(N.tools=a,d?.debug?.("TOOLDEDUP",`stripped ${b.length}: ${b.slice(0,3).join(", ")}${b.length>3?"...":""}`))}let aj=ai?W:Z,ak=(0,y.B)(N,I),al=(0,y.f)(ak);al&&console.log(al),J&&K&&((0,x.p)(N,aj,K),d?.debug?.("CAVEMAN",`${K} | ${aj}`));let am=(0,q.SB)(T);(0,p.uw)(U,T,E,!0),(0,p.E5)({model:U,provider:T,connectionId:E,status:"PENDING"}).catch(()=>{});let an=N.messages?.length||N.input?.length||N.contents?.length||N.request?.contents?.length||0;d?.debug?.("REQUEST",`${T.toUpperCase()} | ${U} | ${an} msgs`);let ao=(0,i.jd)({onDisconnect:a=>{(0,p.uw)(U,T,E,!1),C&&C(a)},onError:()=>(0,p.uw)(U,T,E,!1),log:d,provider:T,model:U}),ap={connectionProxyEnabled:c?.providerSpecificData?.connectionProxyEnabled===!0,connectionProxyUrl:c?.providerSpecificData?.connectionProxyUrl||"",connectionNoProxy:c?.providerSpecificData?.connectionNoProxy||"",vercelRelayUrl:c?.providerSpecificData?.vercelRelayUrl||"",strictProxy:c?.providerSpecificData?.strictProxy===!0};if(ap.vercelRelayUrl){let a=c?.connectionName||c?.connectionId||"unknown",b=c?.providerSpecificData?.connectionProxyPoolId||"none";d?.info?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${a} | pool=${b} | vercel-relay=${ap.vercelRelayUrl}`)}else if(ap.connectionProxyEnabled&&ap.connectionProxyUrl){let a=ap.connectionProxyUrl;try{let b=new URL(ap.connectionProxyUrl),c=b.hostname||"",d=b.port?`:${b.port}`:"",e=b.protocol||"http:";a=`${e}//${c}${d}`}catch{}let b=c?.providerSpecificData?.connectionProxyPoolId||"none",e=c?.connectionName||c?.connectionId||"unknown";d?.info?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${e} | pool=${b} | url=${a}`)}if(ap.connectionProxyEnabled&&ap.connectionNoProxy){let a=c?.connectionName||c?.connectionId||"unknown";d?.debug?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${a} | no_proxy=${ap.connectionNoProxy}`)}try{let a=await am.execute({model:U,body:N,stream:ab,credentials:c,signal:ao.signal,log:d,proxyOptions:ap});P=a.response,Q=a.url,R=a.headers,S=a.transformedBody,ag.logTargetRequest(Q,R,S)}catch(c){if((0,p.uw)(U,T,E,!1,!0),(0,p.E5)({model:U,provider:T,connectionId:E,status:`FAILED ${"AbortError"===c.name?499:n.gx.BAD_GATEWAY}`}).catch(()=>{}),(0,p.ox)((0,r.$R)({provider:T,model:U,connectionId:E,latency:{ttft:0,total:Date.now()-V},tokens:{prompt_tokens:0,completion_tokens:0},request:(0,r.Fo)(a,ab),providerRequest:N||null,response:{error:c.message||String(c),status:"AbortError"===c.name?499:502,thinking:null},status:"error"})).catch(()=>{}),"AbortError"===c.name)return ao.handleError(c),(0,m.A1)(499,"Request aborted");let b=(0,m.lR)(c,T,U,n.gx.BAD_GATEWAY);return console.log(`${h.lm.red}[ERROR] ${b}${h.lm.reset}`),(0,m.A1)(n.gx.BAD_GATEWAY,b)}if(!am.noAuth&&(P.status===n.gx.UNAUTHORIZED||P.status===n.gx.FORBIDDEN))try{let a=await (0,j.qZ)(()=>am.refreshCredentials(c,d),3,d);if(a?.accessToken||a?.copilotToken){if(d?.info?.("TOKEN",`${T.toUpperCase()} | refreshed`),Object.assign(c,a),z)try{await z(a)}catch(a){d?.warn?.("TOKEN",`onCredentialsRefreshed failed: ${a.message}`)}try{let a=await am.execute({model:U,body:N,stream:ab,credentials:c,signal:ao.signal,log:d,proxyOptions:ap});a.response.ok&&(P=a.response,Q=a.url)}catch{d?.warn?.("TOKEN",`${T.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${T.toUpperCase()} | refresh failed`)}catch(a){d?.warn?.("TOKEN",`${T.toUpperCase()} | refresh threw: ${a.message}`)}if(!P.ok){(0,p.uw)(U,T,E,!1,!0);let{statusCode:b,message:c,resetsAtMs:d}=await (0,m.zL)(P,am);(0,p.E5)({model:U,provider:T,connectionId:E,status:`FAILED ${b}`}).catch(()=>{}),(0,p.ox)((0,r.$R)({provider:T,model:U,connectionId:E,latency:{ttft:0,total:Date.now()-V},tokens:{prompt_tokens:0,completion_tokens:0},request:(0,r.Fo)(a,ab),providerRequest:S||N||null,response:{error:c,status:b,thinking:null},status:"error"})).catch(()=>{});let e=(0,m.lR)(Error(c),T,U,b);return console.log(`${h.lm.red}[ERROR] ${e}${h.lm.reset}`),ag.logError(Error(c),S||N),(0,m.A1)(b,e,d)}let aq={provider:T,model:U,body:a,stream:ab,translatedBody:N,finalBody:S,requestStartTime:V,connectionId:E,apiKey:G,clientRawRequest:D,onRequestSuccess:B},ar=a=>(0,p.E5)({model:U,provider:T,connectionId:E,...a}).catch(()=>{}),as=()=>(0,p.uw)(U,T,E,!1);if(!_&&aa){let a=await (0,s.I)({...aq,providerResponse:P,sourceFormat:W,trackDone:as,appendLog:ar});if(a)return ao.handleComplete(),a}if(!ab){let a=await (0,t.N)({...aq,providerResponse:P,sourceFormat:W,targetFormat:Z,reqLogger:ag,toolNameMap:O,trackDone:as,appendLog:ar});return ao.handleComplete(),a}let{onStreamComplete:at}=(0,u.$)({...aq});return(0,u.M)({...aq,providerResponse:P,sourceFormat:W,targetFormat:Z,userAgent:F,reqLogger:ag,toolNameMap:O,streamController:ao,onStreamComplete:at})}q=(z.then?(await z)():z)[0],d()}catch(a){d(a)}})}};
53
+ `),h.replace(/\n+$/,"")}r.filterName="search-list";let s=/^Result of search in '[^']*' \(total (\d+) files?\):/,t=/^diff --git /m,u=/^@@ /m,v=/^On branch |^nothing to commit|^Changes (not |to be )|^Untracked files:/m,w=/^[ MADRCU?!][ MADRCU?!] \S/m,x=/^(npm (warn|error|ERR!)|yarn (warn|error)|\s*Compiling\s+\S+|\s*Downloading\s+\S+|added \d+ package|\[ERROR\]|BUILD (SUCCESS|FAILED)|\s*Finished\s+|Successfully (installed|built)|ERROR:)/im,y=/[├└]──|│ /,z=/^[-dlbcps][rwx-]{9}/m,A=/^total \d+$/m;function B(a){let b=a.indexOf(":");if(-1===b)return!1;let c=a.indexOf(":",b+1);if(-1===c)return!1;let d=a.slice(b+1,c);return/^\d+$/.test(d)}function C(a){let b=a.trim();return!(0===b.length||b.includes(":"))&&(b.startsWith(".")||b.startsWith("/")||b.includes("/"))}function D(a,b){if(!b||!a)return null;if(a.conversationState){var c=a;let b={bytesBefore:0,bytesAfter:0,hits:[]};try{let a=c.conversationState,d=[...Array.isArray(a?.history)?a.history:[]];for(let c of(a?.currentMessage&&d.push(a.currentMessage),d)){let a=c?.userInputMessage?.userInputMessageContext?.toolResults;if(Array.isArray(a)){for(let c of a)if("error"!==c.status&&Array.isArray(c.content))for(let a of c.content)a&&"string"==typeof a.text&&(a.text=E(a.text,b,"kiro-tool-result"))}}}catch(a){return console.warn("[RTK] compressKiroFormat error:",a.message),null}return b}let d=Array.isArray(a.messages)?a.messages:Array.isArray(a.input)?a.input:null;if(!d)return null;let e={bytesBefore:0,bytesAfter:0,hits:[]};try{for(let a=0;a<d.length;a++){let b=d[a];if(b){if("function_call_output"===b.type){if("string"==typeof b.output)b.output=E(b.output,e,"openai-responses-string");else if(Array.isArray(b.output))for(let a=0;a<b.output.length;a++){let c=b.output[a];c&&"input_text"===c.type&&"string"==typeof c.text&&(c.text=E(c.text,e,"openai-responses-array"))}continue}if("tool"===b.role&&"string"==typeof b.content){b.content=E(b.content,e,"openai-tool");continue}if(Array.isArray(b.content)){if("tool"===b.role){for(let a=0;a<b.content.length;a++){let c=b.content[a];c&&"text"===c.type&&"string"==typeof c.text&&(c.text=E(c.text,e,"openai-tool-array"))}continue}for(let a=0;a<b.content.length;a++){let c=b.content[a];if(c&&"tool_result"===c.type&&!0!==c.is_error){if("string"==typeof c.content)c.content=E(c.content,e,"claude-string");else if(Array.isArray(c.content))for(let a=0;a<c.content.length;a++){let b=c.content[a];b&&"text"===b.type&&"string"==typeof b.text&&(b.text=E(b.text,e,"claude-array"))}}}}}}}catch(a){return console.warn("[RTK] compressMessages error:",a.message),null}return e}function E(a,b,c){let d=a.length;if(b.bytesBefore+=d,d<500||d>0xa00000)return b.bytesAfter+=d,a;let g=function(a){var b,c;let d,g,l=a.length>1024?a.slice(0,1024):a;if(t.test(l)||u.test(l))return e;if(v.test(l))return f;if(x.test(l))return h;if(!((d=l.split("\n").filter(a=>a.trim())).length<3)&&d.filter(a=>w.test(a)).length/d.length>=.6)return f;let D=l.split("\n"),E=D.filter(a=>a.trim().length>0);return E.slice(0,5).some(B)?i:E.length>=3&&E.every(C)?j:y.test(l)?n:A.test(l)||(b=l,g=new RegExp((c=z).source,c.flags.includes("g")?c.flags:c.flags+"g"),(b.match(g)||[]).length>=3)?m:s.test(l)?r:D.length>=250&&function(a){let b=0,c=0;for(let d of a.slice(0,100))0!==d.length&&(c++,q.test(d)&&b++);return!(c<5)&&b/c>=.7}(D)?p:E.length>=5?k:a.split("\n").length>=250?o:null}(a);if(!g)return b.bytesAfter+=d,a;let l=function(a,b){if("function"!=typeof a)return b;try{let c=a(b);if("string"!=typeof c)return b;return c}catch(d){let c=a.filterName||a.name||"anonymous";return console.warn(`[rtk] warning: filter '${c}' panicked — passing through raw output: ${d?.message||d}`),b}}(g,a);return!l||0===l.length||l.length>=d?(b.bytesAfter+=d,a):(b.bytesAfter+=l.length,b.hits.push({shape:c,filter:g.filterName||g.name,saved:d-l.length}),l)}function F(a){if(!a||!a.hits||0===a.hits.length)return null;let b=a.bytesBefore-a.bytesAfter,c=a.bytesBefore>0?(b/a.bytesBefore*100).toFixed(1):"0",d=Array.from(new Set(a.hits.map(a=>a.filter))).join(",");return`[RTK] saved ${b}B / ${a.bytesBefore}B (${c}%) via [${d}] hits=${a.hits.length}`}},81626:(a,b,c)=>{function d(a,b){let c;if(!a.trim())return;let d=a.match(/^event:\s*(.+)$/m),e=a.match(/^data:\s*(.+)$/m);if(!d||!e)return;let f=d[1].trim(),g=e[1].trim();if("[DONE]"!==g){try{c=JSON.parse(g)}catch{return}"response.created"===f?(b.responseId=c.response?.id||b.responseId,b.created=c.response?.created_at||b.created):"response.output_item.done"===f?b.items.set(c.output_index??0,c.item):"response.completed"===f?(b.status="completed",c.response?.usage&&(b.usage.input_tokens=c.response.usage.input_tokens||0,b.usage.output_tokens=c.response.usage.output_tokens||0,b.usage.total_tokens=c.response.usage.total_tokens||0)):"response.failed"===f&&(b.status="failed")}}c.d(b,{I:()=>n,F:()=>m});let e={input_tokens:0,output_tokens:0,total_tokens:0};async function f(a){if(!a||"function"!=typeof a.getReader)return{id:`resp_${Date.now()}`,object:"response",created_at:Math.floor(Date.now()/1e3),status:"failed",output:[],usage:{...e}};let b=a.getReader(),c=new TextDecoder,f="",g={responseId:"",created:Math.floor(Date.now()/1e3),status:"in_progress",usage:{...e},items:new Map};try{for(;;){let{done:a,value:e}=await b.read();if(a)break;let h=(f+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(f=h.pop()||"",h))d(a,g)}f.trim()&&d(f,g)}finally{b.releaseLock()}let h=[],i=g.items.size>0?Math.max(...g.items.keys()):-1;for(let a=0;a<=i;a++)h.push(g.items.get(a)||{type:"message",content:[],role:"assistant"});return{id:g.responseId||`resp_${Date.now()}_${Math.random().toString(36).slice(2,8)}`,object:"response",created_at:g.created,status:g.status||"completed",output:h,usage:g.usage}}var g=c(43659),h=c(41004),i=c(14170),j=c(86171),k=c(47370);function l(a){if(!a?.content||!Array.isArray(a.content))return"";let b=a.content.find(a=>"output_text"===a.type);if("string"==typeof b?.text)return b.text;let c=a.content.find(a=>"string"==typeof a.text);return"string"==typeof c?.text?c.text:""}function m(a,b){let c=[];for(let b of String(a||"").split("\n")){let a=b.trim();if(!a.startsWith("data:"))continue;let d=a.slice(5).trim();if(d&&"[DONE]"!==d)try{c.push(JSON.parse(d))}catch{}}if(0===c.length)return null;let d=c[0],e=[],f=[],g=new Map,h="stop",i=null;for(let a of c){let b=a?.choices?.[0],c=b?.delta||{};if("string"==typeof c.content&&c.content.length>0&&e.push(c.content),"string"==typeof c.reasoning_content&&c.reasoning_content.length>0&&f.push(c.reasoning_content),b?.finish_reason&&(h=b.finish_reason),a?.usage&&"object"==typeof a.usage&&(i=a.usage),Array.isArray(c.tool_calls))for(let a of c.tool_calls){let b=a.index??0;g.has(b)||g.set(b,{id:a.id||"",type:"function",function:{name:"",arguments:""}});let c=g.get(b);a.id&&(c.id=a.id),a.function?.name&&(c.function.name+=a.function.name),a.function?.arguments&&(c.function.arguments+=a.function.arguments)}}let j={role:"assistant",content:e.join("")||(g.size>0?null:"")};f.length>0&&(j.reasoning_content=f.join("")),g.size>0&&(j.tool_calls=[...g.entries()].sort((a,b)=>a[0]-b[0]).map(([,a])=>a));let k={id:d.id||`chatcmpl-${Date.now()}`,object:"chat.completion",created:d.created||Math.floor(Date.now()/1e3),model:d.model||b||"unknown",choices:[{index:0,message:j,finish_reason:h}]};return i&&(k.usage=i),k}async function n({providerResponse:a,sourceFormat:b,provider:c,model:d,body:e,stream:o,translatedBody:p,finalBody:q,requestStartTime:r,connectionId:s,apiKey:t,clientRawRequest:u,onRequestSuccess:v,trackDone:w,appendLog:x}){let y=a.headers.get("content-type")||"";if(!(y.includes("text/event-stream")||""===y&&"codex"===c))return null;w();let z={provider:c,model:d,connectionId:s,request:(0,j.Fo)(e,o),providerRequest:q||p||null};if("codex"===c||b===i.h.OPENAI_RESPONSES)try{let e,g=await f(a.body);v&&await v();let h=g.usage||{};x({tokens:h,status:"200 OK"}),(0,j.qr)({provider:c,model:d,tokens:h,connectionId:s,apiKey:t,endpoint:u?.endpoint});let{msgItem:m,textContent:n}=function(a){if(!Array.isArray(a))return{msgItem:null,textContent:null};let b=a.filter(a=>a?.type==="message");if(0===b.length)return{msgItem:null,textContent:null};for(let a=b.length-1;a>=0;a--){let c=l(b[a]);if(c.length>0)return{msgItem:b[a],textContent:c}}let c=b[b.length-1];return{msgItem:c,textContent:l(c)}}(g.output),o=Date.now()-r;if((0,k.ox)((0,j.$R)({...z,latency:{ttft:o,total:o},tokens:{prompt_tokens:h.input_tokens||0,completion_tokens:h.output_tokens||0},response:{content:n,thinking:null,finish_reason:g.status||"unknown"},status:"success"},{endpoint:u?.endpoint||null})).catch(()=>{}),b===i.h.OPENAI_RESPONSES)return{success:!0,response:new Response(JSON.stringify(g),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})};let p=h.input_tokens||0,q=h.output_tokens||0,w=(g.output||[]).filter(a=>"function_call"===a.type).map((a,b)=>({id:a.call_id||`call_${a.name}_${Date.now()}_${b}`,type:"function",function:{name:a.name,arguments:"string"==typeof a.arguments?a.arguments:JSON.stringify(a.arguments||{})}})),y=w.length>0;if(b===i.h.ANTIGRAVITY||b===i.h.GEMINI||b===i.h.GEMINI_CLI)e={response:{candidates:[{content:{role:"model",parts:[{text:n||""}]},finishReason:"STOP",index:0}],usageMetadata:{promptTokenCount:p,candidatesTokenCount:q,totalTokenCount:p+q},modelVersion:d,responseId:g.id||`resp_${Date.now()}`}};else{let a={role:"assistant",content:n||(y?null:"")};y&&(a.tool_calls=w);let b=y?"tool_calls":"completed"===g.status?"stop":g.status||"stop";e={id:g.id||`chatcmpl-${Date.now()}`,object:"chat.completion",created:g.created_at||Math.floor(Date.now()/1e3),model:g.model||d,choices:[{index:0,message:a,finish_reason:b}],usage:{prompt_tokens:p,completion_tokens:q,total_tokens:p+q}}}return{success:!0,response:new Response(JSON.stringify(e),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(a){return console.error("[ChatCore] Responses API SSE→JSON failed:",a),(0,g.A1)(h.gx.BAD_GATEWAY,"Failed to convert streaming response to JSON")}try{let b=await a.text(),e=m(b,d);if(!e)return(0,g.A1)(h.gx.BAD_GATEWAY,"Invalid SSE response for non-streaming request");v&&await v();let f=e.usage||{};x({tokens:f,status:"200 OK"}),(0,j.qr)({provider:c,model:d,tokens:f,connectionId:s,apiKey:t,endpoint:u?.endpoint});let i=Date.now()-r;if((0,k.ox)((0,j.$R)({...z,latency:{ttft:i,total:i},tokens:f,response:{content:e.choices?.[0]?.message?.content||null,thinking:e.choices?.[0]?.message?.reasoning_content||null,finish_reason:e.choices?.[0]?.finish_reason||"unknown"},status:"success"},{endpoint:u?.endpoint||null})).catch(()=>{}),e?.choices)for(let a of e.choices)a?.message?.reasoning_content&&a.message.content&&delete a.message.reasoning_content;return{success:!0,response:new Response(JSON.stringify(e),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(a){return console.error("[ChatCore] Chat Completions SSE→JSON failed:",a),(0,g.A1)(h.gx.BAD_GATEWAY,"Failed to convert streaming response to JSON")}}},86171:(a,b,c)=>{c.d(b,{$R:()=>i,Fo:()=>g,MK:()=>h,qr:()=>j});var d=c(47370),e=c(71857);let f=["temperature","top_p","top_k","max_tokens","max_completion_tokens","thinking","reasoning","enable_thinking","presence_penalty","frequency_penalty","seed","stop","tools","tool_choice","response_format","prediction","store","metadata","n","logprobs","top_logprobs","logit_bias","user","parallel_tool_calls"];function g(a,b){let c={messages:a.messages||[],model:a.model,stream:b};for(let b of f)void 0!==a[b]&&(c[b]=a[b]);return c}function h(a){if(!a||"object"!=typeof a)return null;if(a.usage?.input_tokens!==void 0)return{prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens};if(a.usage?.prompt_tokens!==void 0)return{prompt_tokens:a.usage.prompt_tokens||0,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens};let b=a.usageMetadata||a.response?.usageMetadata;return b?{prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,reasoning_tokens:b.thoughtsTokenCount}:!0===a.done&&"number"==typeof a.prompt_eval_count?{prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0}:null}function i(a,b={}){return{provider:a.provider||"unknown",model:a.model||"unknown",connectionId:a.connectionId||void 0,timestamp:new Date().toISOString(),latency:a.latency||{ttft:0,total:0},tokens:a.tokens||{prompt_tokens:0,completion_tokens:0},request:a.request,providerRequest:a.providerRequest||null,providerResponse:a.providerResponse||null,response:a.response||{},status:a.status||"success",...b}}function j({provider:a,model:b,tokens:c,connectionId:f,apiKey:g,endpoint:h,label:i="USAGE"}){if(!c||"object"!=typeof c)return;let k=c.input_tokens??c.prompt_tokens??0,l=c.output_tokens??c.completion_tokens??0;if(0===k&&0===l)return;let m=new Date(Date.now()+252e5),n=`${String(m.getUTCHours()).padStart(2,"0")}:${String(m.getUTCMinutes()).padStart(2,"0")}:${String(m.getUTCSeconds()).padStart(2,"0")}`,o=f?` | account=${f.slice(0,8)}...`:"";console.log(`${e.lm.green}[${n}] 📊 [${i}] ${a.toUpperCase()} | in=${k} | out=${l}${o}${e.lm.reset}`);let p={prompt_tokens:c.prompt_tokens??c.input_tokens??0,completion_tokens:c.completion_tokens??c.output_tokens??0};(0,d.sZ)({provider:a||"unknown",model:b||"unknown",tokens:p,timestamp:new Date().toISOString(),connectionId:f||void 0,apiKey:g||void 0,endpoint:h||null}).catch(()=>{})}},92500:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{w:()=>A});var e=c(57647),f=c(33110),g=c(14170),h=c(71857),i=c(59657),j=c(8590),k=c(71336),l=c(44404),m=c(43659),n=c(41004),o=c(27349),p=c(47370),q=c(55330),r=c(86171),s=c(81626),t=c(5016),u=c(20623),v=c(324),w=c(14724),x=c(60125),y=c(77256),z=a([q]);async function A({body:a,modelInfo:b,credentials:c,log:d,onCredentialsRefreshed:z,onRequestSuccess:B,onDisconnect:C,clientRawRequest:D,connectionId:E,userAgent:F,apiKey:G,ccFilterNaming:H,rtkEnabled:I,cavemanEnabled:J,cavemanLevel:K,sourceFormatOverride:L,providerThinking:M}){let N,O,P,Q,R,S,{provider:T,model:U}=b,V=Date.now(),W=L||(0,e.Tz)(a),X=(0,o.c)(a,U,F,H);if(X)return X;let Y=l.PROVIDER_ID_TO_ALIAS[T]||T,Z=(0,l.ux)(Y,U)||(0,e.jJ)(T),$=(0,l.cY)(Y,U);if(M?.mode&&"auto"!==M.mode){let b=M.mode;"on"!==b||a.thinking?"off"!==b||a.thinking?a.reasoning_effort||(a={...a,reasoning_effort:b}):a={...a,thinking:{type:"disabled"}}:(console.log("Injecting provider-level thinking config override: on"),a={...a,thinking:{type:"enabled",budget_tokens:1e4}})}let _=!0===a.stream||W===g.h.ANTIGRAVITY||W===g.h.GEMINI||W===g.h.GEMINI_CLI,aa="openai"===T||"codex"===T||"commandcode"===T,ab=!!aa||!1!==a.stream,ac=(0,v.J)(D?.headers||{},a);"deepseek-tui"===ac&&!0!==a.stream&&(ab=!1);let ad=D?.headers?.accept||"",ae=ad.includes("application/json"),af=ad.includes("text/event-stream");ae&&!af&&!0!==a.stream&&(ab=!1);let ag=await (0,k.q7)(W,Z,U);D&&ag.logClientRawRequest(D.endpoint,D.body,D.headers),ag.logRawRequest(a),d?.debug?.("FORMAT",`${W} → ${Z} | stream=${ab}`);let ah=(0,v.J)(D?.headers||{},a),ai=(0,v.Q)(ah,T);if(ai)d?.debug?.("PASSTHROUGH",`${ah} → ${T} | native lossless`),N={...a,model:U};else{if(!(N=(0,f.GH)(W,Z,U,a,ab,c,T,ag,$,E,ah)))return(0,p.uw)(U,T,E,!1,!0),(0,m.A1)(n.gx.BAD_REQUEST,`Failed to translate request for ${W} → ${Z}`);O=N._toolNameMap,delete N._toolNameMap,N.model=U}if("claude"===ah&&Array.isArray(N.tools)){let{tools:a,stripped:b}=(0,w.F)(N.tools);b.length>0&&(N.tools=a,d?.debug?.("TOOLDEDUP",`stripped ${b.length}: ${b.slice(0,3).join(", ")}${b.length>3?"...":""}`))}let aj=ai?W:Z,ak=(0,y.B)(N,I),al=(0,y.f)(ak);al&&console.log(al),J&&K&&((0,x.p)(N,aj,K),d?.debug?.("CAVEMAN",`${K} | ${aj}`));let am=(0,q.SB)(T);(0,p.uw)(U,T,E,!0),(0,p.E5)({model:U,provider:T,connectionId:E,status:"PENDING"}).catch(()=>{});let an=N.messages?.length||N.input?.length||N.contents?.length||N.request?.contents?.length||0;d?.debug?.("REQUEST",`${T.toUpperCase()} | ${U} | ${an} msgs`);let ao=(0,i.jd)({onDisconnect:a=>{(0,p.uw)(U,T,E,!1),C&&C(a)},onError:()=>(0,p.uw)(U,T,E,!1),log:d,provider:T,model:U}),ap={connectionProxyEnabled:c?.providerSpecificData?.connectionProxyEnabled===!0,connectionProxyUrl:c?.providerSpecificData?.connectionProxyUrl||"",connectionNoProxy:c?.providerSpecificData?.connectionNoProxy||"",vercelRelayUrl:c?.providerSpecificData?.vercelRelayUrl||"",strictProxy:c?.providerSpecificData?.strictProxy===!0};if(ap.vercelRelayUrl){let a=c?.connectionName||c?.connectionId||"unknown",b=c?.providerSpecificData?.connectionProxyPoolId||"none";d?.info?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${a} | pool=${b} | vercel-relay=${ap.vercelRelayUrl}`)}else if(ap.connectionProxyEnabled&&ap.connectionProxyUrl){let a=ap.connectionProxyUrl;try{let b=new URL(ap.connectionProxyUrl),c=b.hostname||"",d=b.port?`:${b.port}`:"",e=b.protocol||"http:";a=`${e}//${c}${d}`}catch{}let b=c?.providerSpecificData?.connectionProxyPoolId||"none",e=c?.connectionName||c?.connectionId||"unknown";d?.info?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${e} | pool=${b} | url=${a}`)}if(ap.connectionProxyEnabled&&ap.connectionNoProxy){let a=c?.connectionName||c?.connectionId||"unknown";d?.debug?.("PROXY",`${T.toUpperCase()} | ${U} | conn=${a} | no_proxy=${ap.connectionNoProxy}`)}try{let a=await am.execute({model:U,body:N,stream:ab,credentials:c,signal:ao.signal,log:d,proxyOptions:ap});P=a.response,Q=a.url,R=a.headers,S=a.transformedBody,ag.logTargetRequest(Q,R,S)}catch(c){if((0,p.uw)(U,T,E,!1,!0),(0,p.E5)({model:U,provider:T,connectionId:E,status:`FAILED ${"AbortError"===c.name?499:n.gx.BAD_GATEWAY}`}).catch(()=>{}),(0,p.ox)((0,r.$R)({provider:T,model:U,connectionId:E,latency:{ttft:0,total:Date.now()-V},tokens:{prompt_tokens:0,completion_tokens:0},request:(0,r.Fo)(a,ab),providerRequest:N||null,response:{error:c.message||String(c),status:"AbortError"===c.name?499:502,thinking:null},status:"error"})).catch(()=>{}),"AbortError"===c.name)return ao.handleError(c),(0,m.A1)(499,"Request aborted");let b=(0,m.lR)(c,T,U,n.gx.BAD_GATEWAY);return console.log(`${h.lm.red}[ERROR] ${b}${h.lm.reset}`),(0,m.A1)(n.gx.BAD_GATEWAY,b)}if(!am.noAuth&&(P.status===n.gx.UNAUTHORIZED||P.status===n.gx.FORBIDDEN))try{let a=await (0,j.qZ)(()=>am.refreshCredentials(c,d),3,d);if(a?.accessToken||a?.copilotToken){if(d?.info?.("TOKEN",`${T.toUpperCase()} | refreshed`),Object.assign(c,a),z)try{await z(a)}catch(a){d?.warn?.("TOKEN",`onCredentialsRefreshed failed: ${a.message}`)}try{let a=await am.execute({model:U,body:N,stream:ab,credentials:c,signal:ao.signal,log:d,proxyOptions:ap});a.response.ok&&(P=a.response,Q=a.url)}catch{d?.warn?.("TOKEN",`${T.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${T.toUpperCase()} | refresh failed`)}catch(a){d?.warn?.("TOKEN",`${T.toUpperCase()} | refresh threw: ${a.message}`)}if(!P.ok){(0,p.uw)(U,T,E,!1,!0);let{statusCode:b,message:c,resetsAtMs:d}=await (0,m.zL)(P,am);(0,p.E5)({model:U,provider:T,connectionId:E,status:`FAILED ${b}`}).catch(()=>{}),(0,p.ox)((0,r.$R)({provider:T,model:U,connectionId:E,latency:{ttft:0,total:Date.now()-V},tokens:{prompt_tokens:0,completion_tokens:0},request:(0,r.Fo)(a,ab),providerRequest:S||N||null,response:{error:c,status:b,thinking:null},status:"error"})).catch(()=>{});let e=(0,m.lR)(Error(c),T,U,b);return console.log(`${h.lm.red}[ERROR] ${e}${h.lm.reset}`),ag.logError(Error(c),S||N),(0,m.A1)(b,e,d)}let aq={provider:T,model:U,body:a,stream:ab,translatedBody:N,finalBody:S,requestStartTime:V,connectionId:E,apiKey:G,clientRawRequest:D,onRequestSuccess:B},ar=a=>(0,p.E5)({model:U,provider:T,connectionId:E,...a}).catch(()=>{}),as=()=>(0,p.uw)(U,T,E,!1);if(!_&&aa){let a=await (0,s.I)({...aq,providerResponse:P,sourceFormat:W,trackDone:as,appendLog:ar});if(a)return ao.handleComplete(),a}if(!ab){let a=await (0,t.N)({...aq,providerResponse:P,sourceFormat:W,targetFormat:Z,reqLogger:ag,toolNameMap:O,trackDone:as,appendLog:ar});return ao.handleComplete(),a}let{onStreamComplete:at}=(0,u.$)({...aq});return(0,u.M)({...aq,providerResponse:P,sourceFormat:W,targetFormat:Z,userAgent:F,reqLogger:ag,toolNameMap:O,streamController:ao,onStreamComplete:at})}q=(z.then?(await z)():z)[0],d()}catch(a){d(a)}})}};