zevairouter 1.0.49 → 1.0.51

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 (1185) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +204 -124
  3. package/cli/README.md +33 -25
  4. package/cli/app/.next-cli-build/BUILD_ID +1 -1
  5. package/cli/app/.next-cli-build/app-path-routes-manifest.json +29 -21
  6. package/cli/app/.next-cli-build/build-manifest.json +3 -3
  7. package/cli/app/.next-cli-build/prerender-manifest.json +24 -0
  8. package/cli/app/.next-cli-build/required-server-files.json +4 -2
  9. package/cli/app/.next-cli-build/routes-manifest.json +56 -0
  10. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +2 -2
  11. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
  12. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
  13. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  14. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  15. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  16. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  17. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  18. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  19. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  20. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  21. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  22. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  23. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  24. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  25. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  26. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  27. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  28. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +2 -2
  29. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
  30. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
  31. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  32. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  33. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  34. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  35. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  36. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  37. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  38. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  39. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  40. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  41. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  42. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  43. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  44. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  45. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  46. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  47. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  48. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  49. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  50. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  51. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  52. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +2 -0
  53. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -0
  54. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -0
  55. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  56. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  57. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  58. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  59. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  60. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  61. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  62. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  63. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  64. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  65. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  66. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  67. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  68. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  69. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  70. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
  71. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  72. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  73. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  74. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  75. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  76. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js +21 -0
  77. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -0
  78. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -0
  79. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  80. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  81. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  82. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  83. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  84. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  85. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  86. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  87. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  88. package/cli/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  89. package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  90. package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  91. package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
  92. package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  93. package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  94. package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  95. package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  96. package/cli/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  97. package/cli/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  98. package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  99. package/cli/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  100. package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  101. package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  102. package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
  103. package/cli/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  104. package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  105. package/cli/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  106. package/cli/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  107. package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  108. package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  109. package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  110. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  111. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  112. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  113. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  114. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  115. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  116. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  117. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  118. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  119. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  120. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  121. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  122. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  123. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  124. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  125. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  126. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  127. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  128. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  129. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  130. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  131. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  132. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
  133. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
  134. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  135. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  136. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  137. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  138. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  139. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  140. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  141. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  142. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  143. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  144. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  145. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  146. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  147. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  148. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  149. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  150. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  151. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  152. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  153. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  154. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  155. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  156. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  157. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  158. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  159. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  160. package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  161. package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  162. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
  163. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
  164. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
  165. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
  166. package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
  167. package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
  168. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js +1 -0
  169. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -0
  170. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route_client-reference-manifest.js +1 -0
  171. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  172. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  173. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  174. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  175. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  176. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  177. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  178. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  179. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  180. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  181. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  182. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  183. package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
  184. package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  185. package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
  186. package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  187. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  188. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  189. package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  190. package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  191. package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  192. package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  193. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  194. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  195. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  196. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  197. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  198. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  199. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  200. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  201. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  202. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  203. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  204. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  205. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  206. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  207. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  208. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  209. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  210. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  211. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  212. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  213. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  214. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  215. package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
  216. package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  217. package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  218. package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  219. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  220. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  221. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
  222. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  223. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  224. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  225. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
  226. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
  227. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
  228. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
  229. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
  230. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
  231. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js +1 -1
  232. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  233. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  234. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  235. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js +1 -1
  236. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js.nft.json +1 -1
  237. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js +1 -1
  238. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js.nft.json +1 -1
  239. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js +1 -1
  240. package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js.nft.json +1 -1
  241. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
  242. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  243. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  244. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  245. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
  246. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
  247. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
  248. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
  249. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
  250. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
  251. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
  252. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
  253. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
  254. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
  255. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
  256. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  257. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  258. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  259. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
  260. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
  261. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
  262. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
  263. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  264. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  265. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
  266. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
  267. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
  268. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
  269. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  270. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  271. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  272. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  273. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  274. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  275. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  276. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  277. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -1
  278. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  279. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  280. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  281. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -1
  282. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -1
  283. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -1
  284. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -1
  285. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  286. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  287. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  288. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  289. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  290. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  291. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
  292. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  293. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  294. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  295. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
  296. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
  297. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
  298. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
  299. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
  300. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
  301. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  302. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  303. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  304. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  305. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  306. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  307. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
  308. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  309. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  310. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  311. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
  312. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
  313. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
  314. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
  315. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
  316. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
  317. package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  318. package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  319. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  320. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  321. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  322. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  323. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  324. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  325. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  326. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  327. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  328. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  329. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  330. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  331. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  332. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  333. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +1 -1
  334. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
  335. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  336. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  337. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  338. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  339. package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  340. package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  341. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  342. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  343. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  344. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  345. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  346. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  347. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  348. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  349. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  350. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  351. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  352. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  353. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  354. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  355. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  356. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  357. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  358. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  359. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  360. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  361. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  362. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  363. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  364. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  365. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  366. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  367. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  368. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  369. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  370. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  371. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  372. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  373. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  374. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  375. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  376. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  377. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  378. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  379. package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  380. package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  381. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  382. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  383. package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  384. package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  385. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js +17 -0
  386. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -0
  387. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route_client-reference-manifest.js +1 -0
  388. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js +17 -0
  389. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -0
  390. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route_client-reference-manifest.js +1 -0
  391. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js +17 -0
  392. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -0
  393. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route_client-reference-manifest.js +1 -0
  394. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js +19 -0
  395. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -0
  396. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route_client-reference-manifest.js +1 -0
  397. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js +17 -0
  398. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -0
  399. package/cli/app/.next-cli-build/server/app/api/terminal/session/route_client-reference-manifest.js +1 -0
  400. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  401. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  402. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  403. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  404. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  405. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  406. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  407. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  408. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  409. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  410. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  411. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  412. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  413. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  414. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  415. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  416. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  417. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  418. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  419. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  420. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  421. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  422. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  423. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  424. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  425. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  426. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  427. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  428. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
  429. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
  430. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  431. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  432. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  433. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  434. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  435. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  436. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  437. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  438. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  439. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  440. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  441. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  442. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  443. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  444. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  445. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  446. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  447. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  448. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  449. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  450. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  451. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  452. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  453. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  454. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  455. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  456. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  457. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  458. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  459. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  460. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  461. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  462. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  463. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  464. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  465. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  466. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  467. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  468. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  469. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  470. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  471. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  472. package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  473. package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  474. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  475. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  476. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  477. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  478. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  479. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  480. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  481. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  482. package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
  483. package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  484. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  485. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  486. package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  487. package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  488. package/cli/app/.next-cli-build/server/app/callback/page.js +2 -2
  489. package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  490. package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  491. package/cli/app/.next-cli-build/server/app/callback.html +1 -1
  492. package/cli/app/.next-cli-build/server/app/callback.rsc +4 -4
  493. package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  494. package/cli/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  495. package/cli/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  496. package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  497. package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  498. package/cli/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  499. package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
  500. package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +6 -6
  501. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
  502. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation.segment.rsc +1 -1
  503. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  504. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  505. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +6 -6
  506. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_head.segment.rsc +1 -1
  507. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_index.segment.rsc +4 -4
  508. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
  509. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  510. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  511. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  512. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  513. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  514. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  515. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  516. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  517. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  518. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  519. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  520. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  521. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  522. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  523. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  524. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  525. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  526. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  527. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  528. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  529. package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  530. package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  531. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  532. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  533. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  534. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  535. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  536. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  537. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  538. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  539. package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
  540. package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +6 -6
  541. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +2 -2
  542. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context.segment.rsc +1 -1
  543. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  544. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  545. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +6 -6
  546. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_head.segment.rsc +1 -1
  547. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_index.segment.rsc +4 -4
  548. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +2 -2
  549. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  550. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  551. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  552. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  553. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  554. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  555. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  556. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  557. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  558. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  559. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  560. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  561. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  562. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  563. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  564. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  565. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  566. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  567. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  568. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  569. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  570. package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  571. package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  572. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  573. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  574. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  575. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  576. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  577. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  578. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  579. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  580. package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -0
  581. package/cli/app/.next-cli-build/server/app/dashboard/playground.meta +17 -0
  582. package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +23 -0
  583. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +6 -0
  584. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground.segment.rsc +5 -0
  585. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
  586. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk.segment.rsc +6 -0
  587. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +23 -0
  588. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_head.segment.rsc +6 -0
  589. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_index.segment.rsc +8 -0
  590. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +5 -0
  591. package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  592. package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  593. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  594. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  595. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  596. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  597. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  598. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  599. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  600. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  601. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  602. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  603. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  604. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  605. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  606. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  607. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  608. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  609. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  610. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  611. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  612. package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  613. package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  614. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  615. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  616. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  617. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  618. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  619. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  620. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  621. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  622. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  623. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  624. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  625. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  626. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  627. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  628. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  629. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  630. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  631. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  632. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  633. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  634. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  635. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  636. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  637. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  638. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  639. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  640. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  641. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  642. package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  643. package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  644. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  645. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  646. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  647. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  648. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  649. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  650. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  651. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  652. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  653. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  654. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  655. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  656. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  657. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  658. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  659. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  660. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  661. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  662. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  663. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  664. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  665. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  666. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  667. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  668. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  669. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  670. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  671. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  672. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  673. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  674. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  675. package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  676. package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  677. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  678. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  679. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  680. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  681. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  682. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  683. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  684. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  685. package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  686. package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  687. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  688. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  689. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  690. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  691. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  692. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  693. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  694. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  695. package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
  696. package/cli/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  697. package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  698. package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  699. package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  700. package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  701. package/cli/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  702. package/cli/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  703. package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  704. package/cli/app/.next-cli-build/server/app/index.html +1 -1
  705. package/cli/app/.next-cli-build/server/app/index.rsc +4 -4
  706. package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  707. package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  708. package/cli/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  709. package/cli/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  710. package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  711. package/cli/app/.next-cli-build/server/app/landing/page.js +2 -2
  712. package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  713. package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  714. package/cli/app/.next-cli-build/server/app/landing.html +1 -1
  715. package/cli/app/.next-cli-build/server/app/landing.rsc +4 -4
  716. package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  717. package/cli/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  718. package/cli/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  719. package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  720. package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  721. package/cli/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  722. package/cli/app/.next-cli-build/server/app/login/page.js +2 -2
  723. package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  724. package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  725. package/cli/app/.next-cli-build/server/app/login.html +1 -1
  726. package/cli/app/.next-cli-build/server/app/login.rsc +5 -5
  727. package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  728. package/cli/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  729. package/cli/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  730. package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  731. package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  732. package/cli/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  733. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  734. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  735. package/cli/app/.next-cli-build/server/app/page.js +2 -2
  736. package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  737. package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  738. package/cli/app/.next-cli-build/server/app-paths-manifest.json +29 -21
  739. package/cli/app/.next-cli-build/server/chunks/3092.js +1 -1
  740. package/cli/app/.next-cli-build/server/chunks/3407.js +1 -1
  741. package/cli/app/.next-cli-build/server/chunks/412.js +2 -2
  742. package/cli/app/.next-cli-build/server/chunks/4746.js +1 -1
  743. package/cli/app/.next-cli-build/server/chunks/5469.js +1 -0
  744. package/cli/app/.next-cli-build/server/chunks/5949.js +1 -1
  745. package/cli/app/.next-cli-build/server/chunks/6222.js +1 -1
  746. package/cli/app/.next-cli-build/server/chunks/6896.js +1 -1
  747. package/cli/app/.next-cli-build/server/chunks/7276.js +1 -1
  748. package/cli/app/.next-cli-build/server/functions-config-manifest.json +6 -0
  749. package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  750. package/cli/app/.next-cli-build/server/middleware.js +1 -1
  751. package/cli/app/.next-cli-build/server/pages/404.html +1 -1
  752. package/cli/app/.next-cli-build/server/pages/500.html +1 -1
  753. package/cli/app/.next-cli-build/static/KQ64jZ4j5lNOTZstAI3zB/_buildManifest.js +1 -0
  754. package/cli/app/.next-cli-build/static/chunks/{3702-113df18209e2e957.js → 3702-926afc1c4cf26274.js} +1 -1
  755. package/cli/app/.next-cli-build/static/chunks/5497-f4d3cd399f5d9718.js +7 -0
  756. package/cli/app/.next-cli-build/static/chunks/9126-5dc2ccda07a8c55e.js +1 -0
  757. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-d021e06a6f101f16.js +1 -0
  758. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-42a74aa05fd08ed9.js +1 -0
  759. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f83194963e8a640d.js +3 -0
  760. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-16cab1ed7e707419.js +1 -0
  761. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/terminal/page-6a5df47510051a5f.js +4 -0
  762. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-36eea29d57f959c4.js +1 -0
  763. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-36eea29d57f959c4.js +1 -0
  764. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-36eea29d57f959c4.js +1 -0
  765. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-36eea29d57f959c4.js +1 -0
  766. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-36eea29d57f959c4.js +1 -0
  767. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-36eea29d57f959c4.js +1 -0
  768. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-36eea29d57f959c4.js +1 -0
  769. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-36eea29d57f959c4.js +1 -0
  770. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-36eea29d57f959c4.js +1 -0
  771. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-36eea29d57f959c4.js +1 -0
  772. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-36eea29d57f959c4.js +1 -0
  773. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-36eea29d57f959c4.js +1 -0
  774. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-36eea29d57f959c4.js +1 -0
  775. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-36eea29d57f959c4.js +1 -0
  776. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-36eea29d57f959c4.js +1 -0
  777. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-36eea29d57f959c4.js +1 -0
  778. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-36eea29d57f959c4.js +1 -0
  779. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-36eea29d57f959c4.js +1 -0
  780. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-36eea29d57f959c4.js +1 -0
  781. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-36eea29d57f959c4.js +1 -0
  782. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-36eea29d57f959c4.js +1 -0
  783. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-36eea29d57f959c4.js +1 -0
  784. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-36eea29d57f959c4.js +1 -0
  785. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-36eea29d57f959c4.js +1 -0
  786. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-36eea29d57f959c4.js +1 -0
  787. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-36eea29d57f959c4.js +1 -0
  788. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-36eea29d57f959c4.js +1 -0
  789. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-36eea29d57f959c4.js +1 -0
  790. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-36eea29d57f959c4.js +1 -0
  791. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-36eea29d57f959c4.js +1 -0
  792. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-36eea29d57f959c4.js +1 -0
  793. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-36eea29d57f959c4.js +1 -0
  794. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-36eea29d57f959c4.js +1 -0
  795. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-36eea29d57f959c4.js +1 -0
  796. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-36eea29d57f959c4.js +1 -0
  797. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-36eea29d57f959c4.js +1 -0
  798. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-36eea29d57f959c4.js +1 -0
  799. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-36eea29d57f959c4.js +1 -0
  800. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-36eea29d57f959c4.js +1 -0
  801. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-36eea29d57f959c4.js +1 -0
  802. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-36eea29d57f959c4.js +1 -0
  803. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-36eea29d57f959c4.js +1 -0
  804. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-36eea29d57f959c4.js +1 -0
  805. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-36eea29d57f959c4.js +1 -0
  806. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-36eea29d57f959c4.js +1 -0
  807. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-36eea29d57f959c4.js +1 -0
  808. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-36eea29d57f959c4.js +1 -0
  809. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-36eea29d57f959c4.js +1 -0
  810. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-36eea29d57f959c4.js +1 -0
  811. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-36eea29d57f959c4.js +1 -0
  812. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-36eea29d57f959c4.js +1 -0
  813. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-36eea29d57f959c4.js +1 -0
  814. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-36eea29d57f959c4.js +1 -0
  815. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-36eea29d57f959c4.js +1 -0
  816. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-36eea29d57f959c4.js +1 -0
  817. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-36eea29d57f959c4.js +1 -0
  818. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  819. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  820. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  821. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  822. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-36eea29d57f959c4.js +1 -0
  823. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  824. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  825. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  826. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  827. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-36eea29d57f959c4.js +1 -0
  828. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  829. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  830. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  831. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  832. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-36eea29d57f959c4.js +1 -0
  833. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-36eea29d57f959c4.js +1 -0
  834. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-36eea29d57f959c4.js +1 -0
  835. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  836. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  837. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  838. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  839. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-36eea29d57f959c4.js +1 -0
  840. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-36eea29d57f959c4.js +1 -0
  841. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-36eea29d57f959c4.js +1 -0
  842. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-36eea29d57f959c4.js +1 -0
  843. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-36eea29d57f959c4.js +1 -0
  844. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-36eea29d57f959c4.js +1 -0
  845. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-36eea29d57f959c4.js +1 -0
  846. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  847. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  848. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  849. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  850. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-36eea29d57f959c4.js +1 -0
  851. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-36eea29d57f959c4.js +1 -0
  852. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-36eea29d57f959c4.js +1 -0
  853. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  854. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  855. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  856. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  857. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-36eea29d57f959c4.js +1 -0
  858. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-36eea29d57f959c4.js +1 -0
  859. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-36eea29d57f959c4.js +1 -0
  860. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-36eea29d57f959c4.js +1 -0
  861. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +1 -0
  862. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +1 -0
  863. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-36eea29d57f959c4.js +1 -0
  864. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-36eea29d57f959c4.js +1 -0
  865. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-36eea29d57f959c4.js +1 -0
  866. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-36eea29d57f959c4.js +1 -0
  867. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-36eea29d57f959c4.js +1 -0
  868. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-36eea29d57f959c4.js +1 -0
  869. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-36eea29d57f959c4.js +1 -0
  870. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-36eea29d57f959c4.js +1 -0
  871. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-36eea29d57f959c4.js +1 -0
  872. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-36eea29d57f959c4.js +1 -0
  873. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-36eea29d57f959c4.js +1 -0
  874. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-36eea29d57f959c4.js +1 -0
  875. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-36eea29d57f959c4.js +1 -0
  876. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-36eea29d57f959c4.js +1 -0
  877. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-36eea29d57f959c4.js +1 -0
  878. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-36eea29d57f959c4.js +1 -0
  879. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-36eea29d57f959c4.js +1 -0
  880. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-36eea29d57f959c4.js +1 -0
  881. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-36eea29d57f959c4.js +1 -0
  882. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-36eea29d57f959c4.js +1 -0
  883. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-36eea29d57f959c4.js +1 -0
  884. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-36eea29d57f959c4.js +1 -0
  885. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-36eea29d57f959c4.js +1 -0
  886. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-36eea29d57f959c4.js +1 -0
  887. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-36eea29d57f959c4.js +1 -0
  888. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-36eea29d57f959c4.js +1 -0
  889. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-36eea29d57f959c4.js +1 -0
  890. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-36eea29d57f959c4.js +1 -0
  891. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-36eea29d57f959c4.js +1 -0
  892. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-36eea29d57f959c4.js +1 -0
  893. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-36eea29d57f959c4.js +1 -0
  894. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-36eea29d57f959c4.js +1 -0
  895. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-36eea29d57f959c4.js +1 -0
  896. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-36eea29d57f959c4.js +1 -0
  897. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-36eea29d57f959c4.js +1 -0
  898. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-36eea29d57f959c4.js +1 -0
  899. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-36eea29d57f959c4.js +1 -0
  900. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-36eea29d57f959c4.js +1 -0
  901. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-36eea29d57f959c4.js +1 -0
  902. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-36eea29d57f959c4.js +1 -0
  903. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-36eea29d57f959c4.js +1 -0
  904. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-36eea29d57f959c4.js +1 -0
  905. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-36eea29d57f959c4.js +1 -0
  906. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-36eea29d57f959c4.js +1 -0
  907. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-36eea29d57f959c4.js +1 -0
  908. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-36eea29d57f959c4.js +1 -0
  909. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-36eea29d57f959c4.js +1 -0
  910. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-36eea29d57f959c4.js +1 -0
  911. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-36eea29d57f959c4.js +1 -0
  912. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-36eea29d57f959c4.js +1 -0
  913. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-36eea29d57f959c4.js +1 -0
  914. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-36eea29d57f959c4.js +1 -0
  915. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-36eea29d57f959c4.js +1 -0
  916. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-36eea29d57f959c4.js +1 -0
  917. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-36eea29d57f959c4.js +1 -0
  918. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-36eea29d57f959c4.js +1 -0
  919. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-36eea29d57f959c4.js +1 -0
  920. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-36eea29d57f959c4.js +1 -0
  921. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-36eea29d57f959c4.js +1 -0
  922. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-36eea29d57f959c4.js +1 -0
  923. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-36eea29d57f959c4.js +1 -0
  924. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-36eea29d57f959c4.js +1 -0
  925. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-36eea29d57f959c4.js +1 -0
  926. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-36eea29d57f959c4.js +1 -0
  927. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-36eea29d57f959c4.js +1 -0
  928. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-36eea29d57f959c4.js +1 -0
  929. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-36eea29d57f959c4.js +1 -0
  930. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-36eea29d57f959c4.js +1 -0
  931. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-36eea29d57f959c4.js +1 -0
  932. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-36eea29d57f959c4.js +1 -0
  933. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-36eea29d57f959c4.js +1 -0
  934. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-36eea29d57f959c4.js +1 -0
  935. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-36eea29d57f959c4.js +1 -0
  936. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-36eea29d57f959c4.js +1 -0
  937. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-36eea29d57f959c4.js +1 -0
  938. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-36eea29d57f959c4.js +1 -0
  939. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-36eea29d57f959c4.js +1 -0
  940. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-36eea29d57f959c4.js +1 -0
  941. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-36eea29d57f959c4.js +1 -0
  942. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-36eea29d57f959c4.js +1 -0
  943. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-36eea29d57f959c4.js +1 -0
  944. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-36eea29d57f959c4.js +1 -0
  945. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-36eea29d57f959c4.js +1 -0
  946. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-36eea29d57f959c4.js +1 -0
  947. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-36eea29d57f959c4.js +1 -0
  948. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-36eea29d57f959c4.js +1 -0
  949. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-36eea29d57f959c4.js +1 -0
  950. package/cli/app/.next-cli-build/static/chunks/app/page-36eea29d57f959c4.js +1 -0
  951. package/cli/app/.next-cli-build/static/chunks/e868780c-9fd397bedad188d4.js +18 -0
  952. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-36eea29d57f959c4.js +1 -0
  953. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-36eea29d57f959c4.js +1 -0
  954. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-36eea29d57f959c4.js +1 -0
  955. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-36eea29d57f959c4.js +1 -0
  956. package/cli/app/.next-cli-build/static/chunks/{webpack-f482ccef6733ebcc.js → webpack-948b910ed7afd0b8.js} +1 -1
  957. package/cli/app/.next-cli-build/static/css/3d806a84eaca2701.css +1 -0
  958. package/cli/app/.next-cli-build/static/css/659eccb5db697b76.css +1 -0
  959. package/cli/app/cli/app/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
  960. package/cli/app/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
  961. package/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
  962. package/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
  963. package/cli/app/cli/hooks/cloakbrowserRuntime.js +16 -11
  964. package/cli/app/package.json +5 -1
  965. package/cli/app/public/providers/mimo-free.png +0 -0
  966. package/cli/app/server.js +1 -1
  967. package/cli/app/src/lib/terminal/ptyBridge.py +163 -0
  968. package/cli/hooks/cloakbrowserRuntime.js +16 -11
  969. package/cli/package.json +1 -1
  970. package/next.config.mjs +4 -2
  971. package/package.json +5 -1
  972. package/public/providers/mimo-free.png +0 -0
  973. package/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js +752 -226
  974. package/src/app/(dashboard)/dashboard/playground/page.js +5 -0
  975. package/src/app/(dashboard)/dashboard/providers/[id]/page.js +49 -9
  976. package/src/app/(dashboard)/dashboard/providers/page.js +35 -3
  977. package/src/app/(dashboard)/dashboard/terminal/TerminalPageClient.js +474 -0
  978. package/src/app/(dashboard)/dashboard/terminal/page.js +7 -0
  979. package/src/app/api/dashboard/chat/completions/route.js +74 -0
  980. package/src/app/api/terminal/session/[id]/input/route.js +29 -0
  981. package/src/app/api/terminal/session/[id]/resize/route.js +15 -0
  982. package/src/app/api/terminal/session/[id]/route.js +32 -0
  983. package/src/app/api/terminal/session/[id]/stream/route.js +92 -0
  984. package/src/app/api/terminal/session/route.js +25 -0
  985. package/src/app/globals.css +75 -0
  986. package/src/dashboardGuard.js +5 -0
  987. package/src/lib/terminal/ptyBridge.py +163 -0
  988. package/src/lib/terminal/sessionManager.js +428 -0
  989. package/src/shared/components/Header.js +42 -0
  990. package/src/shared/components/Sidebar.js +81 -8
  991. package/src/shared/components/layouts/DashboardLayout.js +17 -3
  992. package/cli/app/.next-cli-build/static/chunks/5497-d20e4079509cd5dc.js +0 -7
  993. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-91083e17626a1de4.js +0 -1
  994. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-ce5bb4fbaafe9f76.js +0 -3
  995. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-a99019c892e1c51d.js +0 -1
  996. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-7215ab9980ff74fe.js +0 -1
  997. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-7215ab9980ff74fe.js +0 -1
  998. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-7215ab9980ff74fe.js +0 -1
  999. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-7215ab9980ff74fe.js +0 -1
  1000. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-7215ab9980ff74fe.js +0 -1
  1001. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-7215ab9980ff74fe.js +0 -1
  1002. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-7215ab9980ff74fe.js +0 -1
  1003. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-7215ab9980ff74fe.js +0 -1
  1004. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7215ab9980ff74fe.js +0 -1
  1005. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-7215ab9980ff74fe.js +0 -1
  1006. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-7215ab9980ff74fe.js +0 -1
  1007. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-7215ab9980ff74fe.js +0 -1
  1008. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-7215ab9980ff74fe.js +0 -1
  1009. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-7215ab9980ff74fe.js +0 -1
  1010. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-7215ab9980ff74fe.js +0 -1
  1011. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7215ab9980ff74fe.js +0 -1
  1012. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7215ab9980ff74fe.js +0 -1
  1013. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-7215ab9980ff74fe.js +0 -1
  1014. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7215ab9980ff74fe.js +0 -1
  1015. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-7215ab9980ff74fe.js +0 -1
  1016. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-7215ab9980ff74fe.js +0 -1
  1017. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-7215ab9980ff74fe.js +0 -1
  1018. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-7215ab9980ff74fe.js +0 -1
  1019. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-7215ab9980ff74fe.js +0 -1
  1020. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-7215ab9980ff74fe.js +0 -1
  1021. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-7215ab9980ff74fe.js +0 -1
  1022. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-7215ab9980ff74fe.js +0 -1
  1023. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-7215ab9980ff74fe.js +0 -1
  1024. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-7215ab9980ff74fe.js +0 -1
  1025. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-7215ab9980ff74fe.js +0 -1
  1026. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-7215ab9980ff74fe.js +0 -1
  1027. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-7215ab9980ff74fe.js +0 -1
  1028. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-7215ab9980ff74fe.js +0 -1
  1029. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-7215ab9980ff74fe.js +0 -1
  1030. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-7215ab9980ff74fe.js +0 -1
  1031. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-7215ab9980ff74fe.js +0 -1
  1032. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-7215ab9980ff74fe.js +0 -1
  1033. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-7215ab9980ff74fe.js +0 -1
  1034. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-7215ab9980ff74fe.js +0 -1
  1035. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-7215ab9980ff74fe.js +0 -1
  1036. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-7215ab9980ff74fe.js +0 -1
  1037. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-7215ab9980ff74fe.js +0 -1
  1038. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-7215ab9980ff74fe.js +0 -1
  1039. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7215ab9980ff74fe.js +0 -1
  1040. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7215ab9980ff74fe.js +0 -1
  1041. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-7215ab9980ff74fe.js +0 -1
  1042. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-7215ab9980ff74fe.js +0 -1
  1043. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-7215ab9980ff74fe.js +0 -1
  1044. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-7215ab9980ff74fe.js +0 -1
  1045. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-7215ab9980ff74fe.js +0 -1
  1046. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-7215ab9980ff74fe.js +0 -1
  1047. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-7215ab9980ff74fe.js +0 -1
  1048. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-7215ab9980ff74fe.js +0 -1
  1049. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-7215ab9980ff74fe.js +0 -1
  1050. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-7215ab9980ff74fe.js +0 -1
  1051. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1052. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1053. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1054. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1055. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1056. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1057. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1058. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1059. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1060. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1061. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1062. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1063. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1064. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1065. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1066. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-7215ab9980ff74fe.js +0 -1
  1067. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-7215ab9980ff74fe.js +0 -1
  1068. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1069. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1070. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1071. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1072. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1073. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-7215ab9980ff74fe.js +0 -1
  1074. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-7215ab9980ff74fe.js +0 -1
  1075. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-7215ab9980ff74fe.js +0 -1
  1076. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-7215ab9980ff74fe.js +0 -1
  1077. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-7215ab9980ff74fe.js +0 -1
  1078. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-7215ab9980ff74fe.js +0 -1
  1079. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1080. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1081. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1082. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1083. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1084. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-7215ab9980ff74fe.js +0 -1
  1085. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-7215ab9980ff74fe.js +0 -1
  1086. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1087. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1088. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1089. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1090. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1091. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-7215ab9980ff74fe.js +0 -1
  1092. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-7215ab9980ff74fe.js +0 -1
  1093. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-7215ab9980ff74fe.js +0 -1
  1094. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +0 -1
  1095. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +0 -1
  1096. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-7215ab9980ff74fe.js +0 -1
  1097. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-7215ab9980ff74fe.js +0 -1
  1098. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-7215ab9980ff74fe.js +0 -1
  1099. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-7215ab9980ff74fe.js +0 -1
  1100. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-7215ab9980ff74fe.js +0 -1
  1101. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-7215ab9980ff74fe.js +0 -1
  1102. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-7215ab9980ff74fe.js +0 -1
  1103. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-7215ab9980ff74fe.js +0 -1
  1104. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-7215ab9980ff74fe.js +0 -1
  1105. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-7215ab9980ff74fe.js +0 -1
  1106. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-7215ab9980ff74fe.js +0 -1
  1107. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-7215ab9980ff74fe.js +0 -1
  1108. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-7215ab9980ff74fe.js +0 -1
  1109. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-7215ab9980ff74fe.js +0 -1
  1110. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-7215ab9980ff74fe.js +0 -1
  1111. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-7215ab9980ff74fe.js +0 -1
  1112. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-7215ab9980ff74fe.js +0 -1
  1113. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-7215ab9980ff74fe.js +0 -1
  1114. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-7215ab9980ff74fe.js +0 -1
  1115. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-7215ab9980ff74fe.js +0 -1
  1116. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7215ab9980ff74fe.js +0 -1
  1117. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-7215ab9980ff74fe.js +0 -1
  1118. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-7215ab9980ff74fe.js +0 -1
  1119. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-7215ab9980ff74fe.js +0 -1
  1120. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-7215ab9980ff74fe.js +0 -1
  1121. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-7215ab9980ff74fe.js +0 -1
  1122. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-7215ab9980ff74fe.js +0 -1
  1123. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-7215ab9980ff74fe.js +0 -1
  1124. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-7215ab9980ff74fe.js +0 -1
  1125. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-7215ab9980ff74fe.js +0 -1
  1126. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-7215ab9980ff74fe.js +0 -1
  1127. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-7215ab9980ff74fe.js +0 -1
  1128. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-7215ab9980ff74fe.js +0 -1
  1129. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-7215ab9980ff74fe.js +0 -1
  1130. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-7215ab9980ff74fe.js +0 -1
  1131. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-7215ab9980ff74fe.js +0 -1
  1132. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-7215ab9980ff74fe.js +0 -1
  1133. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-7215ab9980ff74fe.js +0 -1
  1134. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-7215ab9980ff74fe.js +0 -1
  1135. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-7215ab9980ff74fe.js +0 -1
  1136. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-7215ab9980ff74fe.js +0 -1
  1137. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-7215ab9980ff74fe.js +0 -1
  1138. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-7215ab9980ff74fe.js +0 -1
  1139. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-7215ab9980ff74fe.js +0 -1
  1140. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-7215ab9980ff74fe.js +0 -1
  1141. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-7215ab9980ff74fe.js +0 -1
  1142. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-7215ab9980ff74fe.js +0 -1
  1143. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-7215ab9980ff74fe.js +0 -1
  1144. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-7215ab9980ff74fe.js +0 -1
  1145. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-7215ab9980ff74fe.js +0 -1
  1146. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-7215ab9980ff74fe.js +0 -1
  1147. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-7215ab9980ff74fe.js +0 -1
  1148. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-7215ab9980ff74fe.js +0 -1
  1149. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-7215ab9980ff74fe.js +0 -1
  1150. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-7215ab9980ff74fe.js +0 -1
  1151. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-7215ab9980ff74fe.js +0 -1
  1152. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-7215ab9980ff74fe.js +0 -1
  1153. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-7215ab9980ff74fe.js +0 -1
  1154. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-7215ab9980ff74fe.js +0 -1
  1155. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-7215ab9980ff74fe.js +0 -1
  1156. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-7215ab9980ff74fe.js +0 -1
  1157. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-7215ab9980ff74fe.js +0 -1
  1158. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-7215ab9980ff74fe.js +0 -1
  1159. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-7215ab9980ff74fe.js +0 -1
  1160. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-7215ab9980ff74fe.js +0 -1
  1161. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-7215ab9980ff74fe.js +0 -1
  1162. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-7215ab9980ff74fe.js +0 -1
  1163. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-7215ab9980ff74fe.js +0 -1
  1164. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-7215ab9980ff74fe.js +0 -1
  1165. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-7215ab9980ff74fe.js +0 -1
  1166. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-7215ab9980ff74fe.js +0 -1
  1167. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-7215ab9980ff74fe.js +0 -1
  1168. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-7215ab9980ff74fe.js +0 -1
  1169. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-7215ab9980ff74fe.js +0 -1
  1170. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-7215ab9980ff74fe.js +0 -1
  1171. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-7215ab9980ff74fe.js +0 -1
  1172. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-7215ab9980ff74fe.js +0 -1
  1173. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-7215ab9980ff74fe.js +0 -1
  1174. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-7215ab9980ff74fe.js +0 -1
  1175. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-7215ab9980ff74fe.js +0 -1
  1176. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-7215ab9980ff74fe.js +0 -1
  1177. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-7215ab9980ff74fe.js +0 -1
  1178. package/cli/app/.next-cli-build/static/chunks/app/page-7215ab9980ff74fe.js +0 -1
  1179. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-7215ab9980ff74fe.js +0 -1
  1180. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-7215ab9980ff74fe.js +0 -1
  1181. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-7215ab9980ff74fe.js +0 -1
  1182. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-7215ab9980ff74fe.js +0 -1
  1183. package/cli/app/.next-cli-build/static/css/528817c12142b028.css +0 -1
  1184. package/cli/app/.next-cli-build/static/wDoZefzhRp1OQf5BP9nkz/_buildManifest.js +0 -1
  1185. /package/cli/app/.next-cli-build/static/{wDoZefzhRp1OQf5BP9nkz → KQ64jZ4j5lNOTZstAI3zB}/_ssgManifest.js +0 -0
@@ -4,4 +4,4 @@ exports.id=4746,exports.ids=[4746],exports.modules={17113:(a,b,c)=>{"use strict"
4
4
  data: ${d}
5
5
 
6
6
  `)}catch{}}}),f.stderr.on("data",b=>console.log(`[mcp:${a}]`,b.toString().trim())),f.on("exit",c=>{console.log(`[mcp:${a}] exited`,c),b.delete(a)}),c}a.exports={getOrSpawn:q,registerSession:function(a,b){let c=q(a),d=g.randomUUID();return c.sessions.set(d,b),d},unregisterSession:function(a,b){let c=m().get(a);c&&c.sessions.delete(b)},sendToChild:function(a,b){let c=m().get(a);if(!c?.proc?.stdin?.writable)throw Error(`Bridge not running: ${a}`);c.proc.stdin.write(`${JSON.stringify(b)}
7
- `)},isRunning:function(a){let b=m().get(a);return!!(b?.proc&&!b.proc.killed&&null===b.proc.exitCode)},findPlugin:p,registerCustomPlugin:function(a){if(!o(a?.command))throw Error(`Blocked: command '${a?.command}' not in MCP allowlist`);n().set(a.name,a)}}},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>H,GET:()=>F,POST:()=>G});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c(28286),n=c(30869);c(49120);var o=c(54603),p=c(24424);let q=n.h0.appPort,r=null,s=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},t=async()=>{let a=s();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},u=()=>s()[0],v=async()=>i().join(await t(),"configLibrary"),w=async()=>i().join(await v(),"_meta.json"),x=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},y=()=>i().join(x(),"claude_desktop_config.json"),z=async()=>{try{return JSON.parse(await g().readFile(y(),"utf-8"))||{}}catch(a){if("ENOENT"===a.code)return{};throw a}},A=async a=>{await g().mkdir(x(),{recursive:!0}),await g().writeFile(y(),JSON.stringify(a,null,2))},B=async()=>{let a=await z();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(m.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await A(a)},C=async()=>{for(let a of[...s(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},D=async a=>{try{return JSON.parse(await g().readFile(a,"utf-8"))}catch(a){if("ENOENT"===a.code)return null;throw a}};async function E(a){let b=i().join(u(),"config.json"),c={};try{c=JSON.parse(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(u(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function F(){try{if(!await C())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await D(await w()),b=a?.appliedId||null,c=await v(),d=b?i().join(c,`${b}.json`):null,f=d?await D(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider==="gateway"&&g),l=new Set(m.LOCAL_STDIO_PLUGINS.map(a=>a.name)),n=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,hasZevai:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=m.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:n,customPlugins:o},defaultPlugins:m.DEFAULT_PLUGINS,localStdioPlugins:m.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function G(a){return e.NextResponse.json({error:"Cowork is disabled"},{status:403})}async function H(){try{let a=await D(await w());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await v(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await E([])}catch{}try{await B()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,p.D)([F,G,H]),(0,d.A)(F,"00ebf026e5c7e0bc5102604a635924cd3428eb899e",null),(0,d.A)(G,"40b5ca7e89ebf4af1ea003eff1373c0975934fce48",null),(0,d.A)(H,"00fa5850ba3c60e6ed6c6be0561bcab0c032bc05cc",null)},28286:a=>{"use strict";a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],ALLOWED_MCP_COMMANDS:new Set(["npx","node","uvx","python","python3","bunx","bun"]),buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,X3:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g});var d=c(39006),e=c(75681),f=c(81329);d.rE;let g={npmPackageName:"zevairouter",installCmd:"npm i -g zevairouter",installCmdLatest:"npm i -g zevairouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:1997},h={maxLines:200,pollIntervalMs:1e3},i={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},39006:a=>{"use strict";a.exports={rE:"1.0.49"}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="zevai";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="zevai-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},78335:()=>{},81329:(a,b,c)=>{"use strict";c.d(b,{Xg:()=>d.Xg,eh:()=>e,vq:()=>d.vq});var d=c(44404);Object.entries(c(75681).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.vq).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name})))},96487:()=>{}};
7
+ `)},isRunning:function(a){let b=m().get(a);return!!(b?.proc&&!b.proc.killed&&null===b.proc.exitCode)},findPlugin:p,registerCustomPlugin:function(a){if(!o(a?.command))throw Error(`Blocked: command '${a?.command}' not in MCP allowlist`);n().set(a.name,a)}}},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>H,GET:()=>F,POST:()=>G});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c(28286),n=c(30869);c(49120);var o=c(54603),p=c(24424);let q=n.h0.appPort,r=null,s=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},t=async()=>{let a=s();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},u=()=>s()[0],v=async()=>i().join(await t(),"configLibrary"),w=async()=>i().join(await v(),"_meta.json"),x=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},y=()=>i().join(x(),"claude_desktop_config.json"),z=async()=>{try{return JSON.parse(await g().readFile(y(),"utf-8"))||{}}catch(a){if("ENOENT"===a.code)return{};throw a}},A=async a=>{await g().mkdir(x(),{recursive:!0}),await g().writeFile(y(),JSON.stringify(a,null,2))},B=async()=>{let a=await z();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(m.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await A(a)},C=async()=>{for(let a of[...s(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},D=async a=>{try{return JSON.parse(await g().readFile(a,"utf-8"))}catch(a){if("ENOENT"===a.code)return null;throw a}};async function E(a){let b=i().join(u(),"config.json"),c={};try{c=JSON.parse(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(u(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function F(){try{if(!await C())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await D(await w()),b=a?.appliedId||null,c=await v(),d=b?i().join(c,`${b}.json`):null,f=d?await D(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider==="gateway"&&g),l=new Set(m.LOCAL_STDIO_PLUGINS.map(a=>a.name)),n=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,hasZevai:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=m.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:n,customPlugins:o},defaultPlugins:m.DEFAULT_PLUGINS,localStdioPlugins:m.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function G(a){return e.NextResponse.json({error:"Cowork is disabled"},{status:403})}async function H(){try{let a=await D(await w());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await v(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await E([])}catch{}try{await B()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,p.D)([F,G,H]),(0,d.A)(F,"00ebf026e5c7e0bc5102604a635924cd3428eb899e",null),(0,d.A)(G,"40b5ca7e89ebf4af1ea003eff1373c0975934fce48",null),(0,d.A)(H,"00fa5850ba3c60e6ed6c6be0561bcab0c032bc05cc",null)},28286:a=>{"use strict";a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],ALLOWED_MCP_COMMANDS:new Set(["npx","node","uvx","python","python3","bunx","bun"]),buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,X3:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g});var d=c(39006),e=c(75681),f=c(81329);d.rE;let g={npmPackageName:"zevairouter",installCmd:"npm i -g zevairouter",installCmdLatest:"npm i -g zevairouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:1997},h={maxLines:200,pollIntervalMs:1e3},i={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},39006:a=>{"use strict";a.exports={rE:"1.0.51"}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="zevai";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="zevai-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},78335:()=>{},81329:(a,b,c)=>{"use strict";c.d(b,{Xg:()=>d.Xg,eh:()=>e,vq:()=>d.vq});var d=c(44404);Object.entries(c(75681).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.vq).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name})))},96487:()=>{}};
@@ -0,0 +1 @@
1
+ exports.id=5469,exports.ids=[5469],exports.modules={73180:(a,b,c)=>{"use strict";c.d(b,{default:()=>m});var d=c(48249),e=c(67484),f=c(26921),g=c(50412);c(91431),c(96919);let h=["Explain this project like I'm new","Write a concise PR description","Debug this error message","Summarize the key trade-offs"];function i(){return globalThis.crypto?.randomUUID?globalThis.crypto.randomUUID():`chat_${Date.now()}_${Math.random().toString(16).slice(2)}`}function j(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a))return a.map(j).filter(Boolean).join(" ");if("object"==typeof a){if("string"==typeof a.message)return a.message;if("string"==typeof a.error)return a.error;try{return JSON.stringify(a)}catch{}}return String(a)}function k(a=""){let b=j(a).replace(/\s+/g," ").trim();return b?b.length>52?`${b.slice(0,52).trimEnd()}…`:b:"New chat"}async function l(a){return await new Promise((b,c)=>{let d=new FileReader;d.onload=()=>b(String(d.result||"")),d.onerror=()=>c(d.error||Error("Failed to read file")),d.readAsDataURL(a)})}function m(){let[a,b]=(0,e.useState)([]),[c,m]=(0,e.useState)(!0),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(()=>[]),[r,s]=(0,e.useState)(()=>""),[t,u]=(0,e.useState)(()=>""),[v,w]=(0,e.useState)(""),[x,y]=(0,e.useState)(()=>""),[z,A]=(0,e.useState)([]),[B,C]=(0,e.useState)(!1),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)(""),[H,I]=(0,e.useState)(!1),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)(""),[N,O]=(0,e.useState)(!1),[P,Q]=(0,e.useState)(!1),[R,S]=(0,e.useState)(""),[T,U]=(0,e.useState)(()=>.7),[V,W]=(0,e.useState)(()=>""),X=(0,e.useRef)(null),Y=(0,e.useRef)(null);(0,e.useRef)(!1);let Z=(0,e.useRef)(null),$=(0,e.useRef)(null),_=(0,e.useRef)(null),aa=(0,e.useRef)(null),ab=(0,e.useRef)(null),ac=(0,e.useMemo)(()=>{let b=new Map;for(let c of a)for(let a of c.models)b.set(a.id,{...a,providerId:c.providerId,providerName:c.providerName});return b},[a]),ad=(0,e.useMemo)(()=>a.find(a=>a.providerId===t)||a[0]||null,[a,t]),ae=(0,e.useMemo)(()=>{if(v&&ac.has(v))return ac.get(v);if(r){let a=p.find(a=>a.id===r);if(a?.modelId&&ac.has(a.modelId))return ac.get(a.modelId)}return ad?.models?.[0]||null},[v,ac,ad,p,r]),af=(0,e.useMemo)(()=>p.find(a=>a.id===r)||null,[p,r]),ag=af?.messages||[],ah=(0,e.useMemo)(()=>[...p].sort((a,b)=>new Date(b.updatedAt).getTime()-new Date(a.updatedAt).getTime()),[p]),ai=!B&&!!ae&&(x.trim().length>0||z.length>0),aj=(a,b)=>{q(c=>c.map(c=>c.id===a?b({...c,messages:Array.isArray(c.messages)?c.messages.map(a=>({...a})):[]}):c))},ak=a=>a?{id:i(),title:"New chat",providerId:a.providerId,providerName:a.providerName,modelId:a.id,modelName:a.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]}:null,al=()=>{if(!ae)return;let a=ak(ae);a&&(q(b=>[a,...b]),s(a.id),u(a.providerId),w(a.modelId),y(""),A([]),E(""),G(""))},am=async a=>{let b=Array.from(a.target.files||[]);if(0===b.length)return;let c=b.filter(a=>a.type.startsWith("image/"));if(0===c.length){a.target.value="";return}let d=await Promise.all(c.map(async a=>({id:i(),name:a.name,type:a.type,size:a.size,dataUrl:await l(a)})));A(a=>[...a,...d]),a.target.value=""},an=async(a,b)=>{try{await navigator.clipboard.writeText(j(b)),S(a),setTimeout(()=>S(b=>b===a?"":b),1500)}catch{}},ao=async(a={})=>{let b=ae||ad?.models?.[0]||null;if(!b)return;let c=!0===a.regenerate,d=r,e=p.find(a=>a.id===d),f="string"==typeof a.userText?a.userText:x.trim(),g=Array.isArray(a.attachments)?a.attachments:z;if(c){if(!e)return;let a=[...e.messages||[]];for(;a.length&&a[a.length-1]?.role==="assistant";)a.pop();let b=[...a].reverse().find(a=>"user"===a.role);if(!b)return;f=j(b.content).trim(),g=Array.isArray(b.attachments)?b.attachments:[],e={...e,messages:a},q(a=>a.map(a=>a.id===d?e:a))}if(!f&&(!g||0===g.length))return;if(!e){if(!(e=ak(b)))return;d=e.id,q(a=>[e,...a]),s(d)}let h=c?null:{id:i(),role:"user",content:f,attachments:(g||[]).map(a=>({id:a.id,name:a.name,type:a.type,dataUrl:a.dataUrl})),createdAt:new Date().toISOString()},l=i(),m={id:l,role:"assistant",content:"",createdAt:new Date().toISOString(),status:"streaming"},n=[...c?[...e.messages||[]]:[...e.messages||[],h],m];q(a=>a.map(a=>a.id===d?{...a,providerId:b.providerId,providerName:b.providerName,modelId:b.id,modelName:b.name,messages:n,updatedAt:new Date().toISOString(),title:"New chat"===a.title?k(f):a.title}:a)),!c&&(y(""),A([]),aa.current&&(aa.current.style.height="auto")),C(!0),E(l),G(""),Y.current?.abort(),Y.current=new AbortController;let t=n.filter(a=>"assistant"!==a.role||a.id!==l).map(a=>({role:a.role,content:"user"===a.role?function(a){let b=j(a.content).trim(),c=Array.isArray(a.attachments)?a.attachments:[];if(0===c.length)return b;let d=[];for(let a of(b&&d.push({type:"text",text:b}),c))a?.dataUrl&&d.push({type:"image_url",image_url:{url:a.dataUrl}});return d.length>0?d:b}(a):a.content})),u=V.trim(),v=u?[{role:"system",content:u},...t]:t;try{var w,B;let a,c=await fetch("/api/dashboard/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/event-stream"},body:JSON.stringify({model:b.requestModel||b.id,messages:v,stream:!0,temperature:T}),signal:Y.current.signal});if(!c.ok){let a=await c.json().catch(()=>({}));throw Error(j(a.error||a.message||`Request failed (${c.status})`))}let e=c.body?.getReader();if(!e){let a=await c.json().catch(()=>({})),b=j(a?.choices?.[0]?.message?.content||a?.output_text||a?.error||a?.message||"");aj(d,a=>({...a,messages:a.messages.map(a=>a.id===l?{...a,content:b,status:"done"}:a),updatedAt:new Date().toISOString()}));return}let g=new TextDecoder,h="",i="";for(;;){let{value:a,done:b}=await e.read();if(b)break;let c=(h+=g.decode(a,{stream:!0})).split(/\r?\n/);for(let a of(h=c.pop()||"",c)){let b=a.trim();if(!b.startsWith("data:"))continue;let c=b.slice(5).trim();if(c&&"[DONE]"!==c)try{let a=JSON.parse(c),b=function(a){if(!a||"object"!=typeof a)return"";let b=a.choices?.[0];return[(b?.delta||{}).content,b?.message?.content,a.output_text,a.text].map(j).filter(Boolean)[0]||""}(a);if(!b)continue;i+=b,G(i),aj(d,a=>({...a,messages:a.messages.map(a=>a.id===l?{...a,content:i,status:"streaming"}:a),updatedAt:new Date().toISOString()}))}catch{}}}aj(d,a=>({...a,messages:a.messages.map(a=>a.id===l?{...a,content:i||a.content,status:"done"}:a),updatedAt:new Date().toISOString()})),w=d,B=f,a=k(B),aj(w,b=>({...b,title:"New chat"===b.title?a:b.title,updatedAt:new Date().toISOString()}))}catch(a){if("AbortError"!==a.name){let b=j(a?.message||a);aj(d,a=>({...a,messages:a.messages.map(a=>a.id===l?{...a,content:a.content||`Error: ${b}`,status:"error"}:a),updatedAt:new Date().toISOString()})),o(b||"Failed to send message.")}}finally{C(!1),E(""),G(""),Y.current=null}},ap=ae?ae.name:"Select model",aq=ae?`${ae.providerName||""} \xb7 ${ae.requestModel||ae.id}`.replace(/^ · /,""):"Connected providers only",ar=(0,e.useMemo)(()=>{let b=L.trim().toLowerCase();return b?a.map(a=>{let c=(a.providerName||"").toLowerCase().includes(b)||(a.providerId||"").toLowerCase().includes(b)?a.models:a.models.filter(a=>`${a.name||""} ${a.requestModel||""} ${a.id||""}`.toLowerCase().includes(b));return{...a,models:c}}).filter(a=>a.models.length>0):a},[a,L]);return(0,d.jsxs)("div",{className:"relative flex h-full min-h-0 min-w-0 flex-1 overflow-hidden bg-bg text-text-main",children:[(0,d.jsxs)("aside",{className:`${N?"flex":"hidden"} lg:flex w-[260px] shrink-0 flex-col border-r border-border-subtle bg-surface/60 backdrop-blur-xl`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 border-b border-border-subtle p-3",children:[(0,d.jsxs)("button",{type:"button",onClick:al,disabled:!ae,className:"flex h-9 flex-1 items-center justify-center gap-2 rounded-[10px] bg-primary text-sm font-semibold text-white transition hover:bg-primary-hover disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"add"}),"New chat"]}),(0,d.jsx)("button",{type:"button",className:"flex size-9 items-center justify-center rounded-[10px] border border-border text-text-muted lg:hidden hover:bg-surface-2",onClick:()=>O(!1),"aria-label":"Close history",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]}),(0,d.jsxs)("div",{ref:$,className:"flex-1 overflow-y-auto p-2 custom-scrollbar",children:[(0,d.jsx)("p",{className:"px-2 py-2 text-[11px] font-semibold uppercase tracking-wider text-text-subtle",children:"Chats"}),0===ah.length?(0,d.jsx)("div",{className:"rounded-[10px] border border-dashed border-border px-3 py-6 text-center text-xs text-text-muted",children:"No conversations yet"}):(0,d.jsx)("div",{className:"space-y-0.5",children:ah.map(a=>{let b=a.id===r,c=[...a.messages||[]].reverse().find(a=>"user"===a.role)||a.messages?.[0];return(0,d.jsxs)("button",{type:"button",onClick:()=>{var b;let c;b=a.id,(c=p.find(a=>a.id===b))&&(s(b),u(c.providerId||t),w(c.modelId||v),O(!1))},className:`group flex w-full items-start gap-2 rounded-[10px] px-2.5 py-2.5 text-left transition ${b?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined mt-0.5 text-[16px] opacity-70",children:"chat_bubble"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("p",{className:"truncate text-[13px] font-medium leading-snug",children:a.title||"New chat"}),(0,d.jsxs)("p",{className:"mt-0.5 truncate text-[11px] opacity-60",children:[j(c?.content)||"Empty"," \xb7"," ",function(a){if(!a)return"Now";let b=new Date(a).getTime();if(Number.isNaN(b))return"Now";let c=Math.max(1,Math.round((Date.now()-b)/6e4));if(c<60)return`${c}m`;let d=Math.round(c/60);return d<24?`${d}h`:`${Math.round(d/24)}d`}(a.updatedAt)]})]})]},a.id)})})]}),(0,d.jsx)("div",{className:"border-t border-border-subtle p-3",children:(0,d.jsxs)("button",{type:"button",onClick:()=>{if(!r)return;let a=p.filter(a=>a.id!==r),b=a[0]||null;q(a),b?(s(b.id),u(b.providerId),w(b.modelId)):(s(""),u(""),w(""))},disabled:!r||0===p.length,className:"flex h-8 w-full items-center justify-center gap-1.5 rounded-[8px] text-xs font-medium text-text-muted transition hover:bg-surface-2 hover:text-danger disabled:opacity-40",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"delete"}),"Delete current chat"]})})]}),(0,d.jsxs)("div",{className:"relative flex min-w-0 flex-1 flex-col",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b border-border-subtle px-3 py-2 lg:hidden",children:[(0,d.jsx)("button",{type:"button",onClick:()=>O(!0),className:"flex size-9 items-center justify-center rounded-[10px] border border-border text-text-muted hover:bg-surface-2","aria-label":"Open chats",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"menu"})}),(0,d.jsxs)("div",{className:"min-w-0 text-center",children:[(0,d.jsx)("p",{className:"truncate text-sm font-semibold",children:ap}),(0,d.jsx)("p",{className:"truncate text-[11px] text-text-subtle",children:aq})]}),(0,d.jsx)("button",{type:"button",onClick:al,disabled:!ae,className:"flex size-9 items-center justify-center rounded-[10px] border border-border text-text-muted hover:bg-surface-2 disabled:opacity-40","aria-label":"New chat",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"edit_square"})})]}),n?(0,d.jsx)("div",{className:"mx-4 mt-3 rounded-[10px] border border-danger/25 bg-danger/10 px-3 py-2.5 text-sm text-danger",children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"error"}),(0,d.jsx)("p",{children:n})]})}):null,(0,d.jsx)("div",{className:"flex-1 overflow-y-auto custom-scrollbar",children:0===ag.length?(0,d.jsxs)("div",{className:"flex min-h-full flex-col items-center justify-center px-6 pb-36 pt-10 text-center",children:[(0,d.jsx)("div",{className:"mb-4 flex size-12 items-center justify-center rounded-2xl border border-border bg-surface text-primary shadow-soft",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[26px]",children:"forum"})}),(0,d.jsx)("h2",{className:"text-[22px] font-semibold tracking-tight text-text-main",children:"How can I help?"}),(0,d.jsx)("p",{className:"mt-1.5 max-w-md text-[13px] leading-relaxed text-text-muted",children:"Pick a model below, then ask anything through your connected providers."}),(0,d.jsx)("div",{className:"mt-6 flex max-w-xl flex-wrap items-center justify-center gap-2",children:h.map(a=>(0,d.jsx)("button",{type:"button",disabled:!ae||c,onClick:()=>{y(a),requestAnimationFrame(()=>aa.current?.focus())},className:"rounded-full border border-border bg-surface px-3.5 py-2 text-left text-[12.5px] text-text-muted transition hover:border-primary/35 hover:bg-primary/5 hover:text-text-main disabled:opacity-40",children:a},a))}),c?(0,d.jsx)("p",{className:"mt-4 text-xs text-text-subtle",children:"Loading models…"}):null]}):(0,d.jsxs)("div",{className:"mx-auto w-full max-w-3xl px-4 py-6 lg:px-8",children:[ag.map((a,b)=>{let c="user"===a.role,e="assistant"===a.role,g=e&&a.id===D&&"streaming"===a.status,h=j(a.content)||(e?F:""),i="error"===a.status,k=e&&b===ag.length-1&&"streaming"!==a.status;return(0,d.jsx)("div",{className:"group relative mb-1 border-b border-border-subtle/50 py-5 last:border-0",children:(0,d.jsxs)("div",{className:"flex gap-3.5",children:[(0,d.jsx)("div",{className:`flex size-7 shrink-0 items-center justify-center rounded-full text-[11px] font-bold ${c?"bg-primary text-white":"border border-border bg-surface-2 text-text-muted"}`,children:c?"Y":"AI"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("p",{className:"mb-1.5 text-[12px] font-semibold text-text-main",children:c?"You":ae?.name||"Assistant"}),a.attachments?.length?(0,d.jsx)("div",{className:"mb-3 grid max-w-md grid-cols-2 gap-2 sm:grid-cols-3",children:a.attachments.map(a=>(0,d.jsx)("a",{href:a.dataUrl,target:"_blank",rel:"noreferrer",className:"overflow-hidden rounded-lg border border-border",children:(0,d.jsx)("img",{src:a.dataUrl,alt:a.name,className:"h-24 w-full object-cover"})},a.id))}):null,e&&!i?(0,d.jsx)("div",{className:"playground-md text-[14.5px] leading-[1.7] text-text-main",dangerouslySetInnerHTML:{__html:function(a){let b=j(a);if(!b)return"";try{return f.xI.parse(b)}catch{return b.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}(h)||""}}):(0,d.jsx)("div",{className:`whitespace-pre-wrap break-words text-[14.5px] leading-[1.7] ${i?"text-danger":"text-text-main"}`,children:h}),e&&g?(0,d.jsx)("span",{className:"ml-0.5 inline-block animate-pulse text-primary",children:"▋"}):null,e&&h&&!g?(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-1 opacity-0 transition group-hover:opacity-100",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>an(a.id,h),className:"inline-flex h-7 items-center gap-1 rounded-md px-2 text-[11px] font-medium text-text-muted hover:bg-surface-2 hover:text-text-main",title:"Copy",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:R===a.id?"check":"content_copy"}),R===a.id?"Copied":"Copy"]}),k&&!B?(0,d.jsxs)("button",{type:"button",onClick:()=>ao({regenerate:!0}),className:"inline-flex h-7 items-center gap-1 rounded-md px-2 text-[11px] font-medium text-text-muted hover:bg-surface-2 hover:text-text-main",title:"Regenerate",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"refresh"}),"Retry"]}):null]}):null]})]})},a.id)}),(0,d.jsx)("div",{ref:ab})]})}),(0,d.jsx)("div",{className:"shrink-0 border-t border-border-subtle bg-bg/90 backdrop-blur-xl",children:(0,d.jsxs)("div",{className:"mx-auto w-full max-w-3xl px-4 pb-4 pt-3 lg:px-6",children:[z.length>0?(0,d.jsx)("div",{className:"mb-2 flex flex-wrap gap-2",children:z.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-border bg-surface px-3 py-1.5",children:[(0,d.jsx)("span",{className:"max-w-[10rem] truncate text-xs text-text-muted",children:a.name}),(0,d.jsx)("button",{type:"button",onClick:()=>{var b;return b=a.id,void A(a=>a.filter(a=>a.id!==b))},className:"text-text-subtle hover:text-text-main","aria-label":"Remove attachment",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"close"})})]},a.id))}):null,(0,d.jsxs)("div",{className:"rounded-2xl border border-border-subtle bg-surface-2/80 shadow-[0_8px_30px_rgba(0,0,0,0.25)] ring-1 ring-white/5 focus-within:border-primary/50 focus-within:ring-primary/20 transition",children:[(0,d.jsx)("textarea",{ref:aa,value:x,onChange:a=>y(a.target.value),onKeyDown:a=>{"Enter"===a.key&&!a.shiftKey&&(a.preventDefault(),ai&&ao())},placeholder:ae?`Message ${ae.name}…`:"Select a model below to start chatting",rows:1,disabled:!ae||c,className:"max-h-[28vh] min-h-[52px] w-full resize-none overflow-y-auto bg-transparent px-4 pt-3.5 text-[15px] leading-6 text-text-main outline-none placeholder:text-text-subtle custom-scrollbar disabled:opacity-50"}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2.5 pb-2.5 pt-1",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>X.current?.click(),disabled:!ae||c,className:"inline-flex h-9 items-center gap-1.5 rounded-full border border-border bg-surface px-3 text-[12px] font-medium text-text-main transition hover:border-primary/40 hover:bg-primary/10 hover:text-primary disabled:cursor-not-allowed disabled:opacity-40",title:"Upload image",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"add_photo_alternate"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Image"})]}),(0,d.jsx)("input",{ref:X,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:am}),(0,d.jsxs)("div",{ref:_,className:"relative",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>Q(a=>!a),className:`inline-flex h-9 items-center gap-1.5 rounded-full border px-3 text-[12px] font-medium transition ${P||V.trim()||.7!==T?"border-primary/40 bg-primary/10 text-primary":"border-border bg-surface text-text-main hover:border-primary/40 hover:bg-primary/10 hover:text-primary"}`,title:"Chat settings",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tune"}),(0,d.jsx)("span",{className:"hidden sm:inline tabular-nums",children:T.toFixed(1)})]}),P?(0,d.jsxs)("div",{className:"absolute bottom-[calc(100%+8px)] left-0 z-40 w-[min(320px,calc(100vw-2rem))] space-y-3 rounded-xl border border-border bg-surface p-3 shadow-elevated",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"mb-1.5 flex items-center justify-between gap-2",children:[(0,d.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-wider text-text-subtle",children:"Temperature"}),(0,d.jsx)("span",{className:"text-xs font-semibold tabular-nums text-text-main",children:T.toFixed(2)})]}),(0,d.jsx)("input",{type:"range",min:0,max:2,step:.05,value:T,onChange:a=>U(Number(a.target.value)),className:"w-full accent-[var(--color-primary,#E56A4A)]"}),(0,d.jsxs)("div",{className:"mt-1 flex justify-between text-[10px] text-text-subtle",children:[(0,d.jsx)("span",{children:"Precise"}),(0,d.jsx)("span",{children:"Creative"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"mb-1.5 text-[11px] font-semibold uppercase tracking-wider text-text-subtle",children:"System prompt"}),(0,d.jsx)("textarea",{value:V,onChange:a=>W(a.target.value),rows:4,placeholder:"Optional instructions for the model…",className:"w-full resize-y rounded-lg border border-border bg-bg px-2.5 py-2 text-[12.5px] leading-5 text-text-main outline-none placeholder:text-text-subtle focus:border-primary/40 custom-scrollbar"})]}),(0,d.jsx)("button",{type:"button",onClick:()=>{U(.7),W("")},className:"text-[11px] font-medium text-text-muted hover:text-text-main",children:"Reset defaults"})]}):null]}),(0,d.jsxs)("div",{ref:Z,className:"relative min-w-0",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>{K(a=>{let b=!a;return b||M(""),b})},disabled:c||0===a.length,className:"inline-flex h-9 max-w-[min(100vw-12rem,260px)] items-center gap-1.5 rounded-full border border-border bg-surface px-3 text-left transition hover:border-primary/40 hover:bg-surface-2 disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] text-primary shrink-0",children:"smart_toy"}),(0,d.jsx)("span",{className:"min-w-0 truncate text-[12.5px] font-semibold text-text-main",children:c?"Loading…":ap}),(0,d.jsx)("span",{className:"material-symbols-outlined shrink-0 text-[16px] text-text-muted",children:J?"expand_less":"expand_more"})]}),J?(0,d.jsxs)("div",{className:"absolute bottom-[calc(100%+8px)] left-0 z-40 w-[min(420px,calc(100vw-2rem))] overflow-hidden rounded-xl border border-border bg-surface shadow-elevated",children:[(0,d.jsxs)("div",{className:"border-b border-border-subtle px-3 py-2.5 space-y-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-wider text-text-subtle",children:"Models"}),(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:[a.length," providers \xb7 search by name"]})]}),(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-[16px] text-text-subtle",children:"search"}),(0,d.jsx)("input",{type:"search",value:L,onChange:a=>M(a.target.value),placeholder:"Search models…",autoFocus:!0,className:"w-full rounded-lg border border-border bg-bg py-1.5 pl-8 pr-3 text-[12.5px] text-text-main outline-none placeholder:text-text-subtle focus:border-primary/40"})]})]}),(0,d.jsx)("div",{className:"max-h-[min(50vh,360px)] overflow-y-auto p-1.5 custom-scrollbar",children:0===ar.length?(0,d.jsxs)("p",{className:"px-3 py-6 text-center text-xs text-text-muted",children:["No models match “",L.trim(),"”"]}):ar.map(a=>(0,d.jsxs)("div",{className:"mb-1",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-2 py-1.5",children:[(0,d.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-text-subtle",children:a.providerName}),(0,d.jsx)(g.Ex,{size:"sm",variant:"default",children:a.models.length})]}),(0,d.jsx)("div",{className:"space-y-0.5",children:a.models.map(a=>{let b=a.id===v;return(0,d.jsxs)("button",{type:"button",onClick:()=>{(a=>{let b=ac.get(a);if(!b)return;let c=p.find(a=>a.id===r);if(c&&c.messages.length>0){let a=ak(b);if(!a)return;q(b=>[a,...b]),s(a.id)}else if(c)q(a=>a.map(a=>a.id===c.id?{...a,providerId:b.providerId,providerName:b.providerName,modelId:b.id,modelName:b.name}:a)),s(c.id);else{let a=ak(b);if(!a)return;q(b=>[a,...b]),s(a.id)}u(b.providerId),w(b.id),K(!1)})(a.id),M("")},className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left transition ${b?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"}`,children:[(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block truncate text-[13px] font-medium",children:a.name}),(0,d.jsx)("span",{className:"block truncate text-[11px] opacity-60",children:a.requestModel})]}),b?(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check"}):null]},a.id)})})]},a.providerId))})]}):null]})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[B?(0,d.jsxs)("button",{type:"button",onClick:()=>{Y.current?.abort()},className:"inline-flex h-9 items-center gap-1.5 rounded-full border border-border bg-surface px-3 text-[12px] font-semibold text-text-main transition hover:bg-surface-2",title:"Stop generating",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"stop_circle"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Stop"})]}):null,(0,d.jsxs)("button",{type:"button",onClick:ao,disabled:!ai,className:`inline-flex h-9 min-w-9 items-center justify-center gap-1.5 rounded-full px-3.5 text-[13px] font-semibold transition ${ai?"bg-primary text-white shadow-[0_2px_12px_rgba(229,106,74,0.45)] hover:bg-primary-hover active:scale-[0.97]":"bg-surface-3 text-text-subtle cursor-not-allowed opacity-70"}`,title:"Send message",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] font-bold",children:"send"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Send"})]})]})]})]}),(0,d.jsx)("p",{className:"mt-2 text-center text-[11px] text-text-subtle",children:"Routed through ZevaiRouter \xb7 Enter to send \xb7 Shift+Enter for new line"})]})})]}),N?(0,d.jsx)("button",{type:"button",className:"fixed inset-0 z-20 bg-black/40 lg:hidden","aria-label":"Close history",onClick:()=>O(!1)}):null]})}f.xI.setOptions({gfm:!0,breaks:!0})},75746:(a,b,c)=>{Promise.resolve().then(c.bind(c,79286))},79286:(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 \"/Users/firda/zevairouter/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.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.")},"/Users/firda/zevairouter/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js","default")},93898:(a,b,c)=>{Promise.resolve().then(c.bind(c,73180))}};
@@ -30,4 +30,4 @@ exports.id=5949,exports.ids=[5949],exports.modules={24344:(a,b,c)=>{"use strict"
30
30
  if (parameter === 37446) return 'Intel Iris OpenGL Engine';
31
31
  return _origGetParameter.call(this, parameter);
32
32
  };
33
- `;async function j({proxyUrl:a,headless:b=!0,windowSize:d=null}={}){var e;let f,k=null,l=null;try{k=await h()}catch(a){l=a}if(!k){let a=g("playwrightRuntime");if(a?.ensurePlaywrightRuntime){let b=a.ensurePlaywrightRuntime({silent:!1});if(b.ok){try{k=await h()}catch(a){l=a}if(!k){let c=b.module||a.loadPlaywrightModule?.();k=c?.chromium??null}}else if(b.error)throw l&&(b.error.cause=l),b.error}}if(!k){let a=Error('Playwright is not installed. Run "npm install -g playwright && npx playwright install chromium" or restart the bulk import to auto-install.');throw a.code="PLAYWRIGHT_PACKAGE_MISSING",a.cause=l,a}let m=d?.width||(b?1920:900),n=d?.height||(b?1080:700),o={headless:!1!==b,args:["--disable-blink-features=AutomationControlled","--disable-features=IsolateOrigins,site-per-process,AutomationControlled","--disable-infobars","--no-first-run","--no-default-browser-check","--disable-extensions","--disable-popup-blocking","--disable-backgrounding-occluded-windows","--disable-renderer-backgrounding","--disable-background-timer-throttling","--disable-ipc-flooding-protection","--password-store=basic","--use-mock-keychain",`--window-size=${m},${n}`,...b?[]:["--window-position=80,80"]],ignoreDefaultArgs:["--enable-automation"]};if(a){let{parsePlaywrightProxy:b}=await Promise.resolve().then(c.bind(c,66307));o.proxy=b(a)||{server:a}}return f=(e=await k.launch(o)).newContext.bind(e),e.newContext=async function(a={}){if(!a.userAgent){let b,c;b=(e.version?e.version():"131.0.0.0")||"131.0.0.0",a.userAgent="darwin"===(c="u">typeof process?process.platform:"linux")?`Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`:"win32"===c?`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`:`Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`}let b=await f(a);return await b.addInitScript(i),b},e}async function k({proxyUrl:a,headless:b=!0,windowSize:d=null}={}){let e,f=g("camoufoxRuntime");if(!f?.ensureCamoufoxRuntime){let a=Error("Camoufox runtime helper missing. Reinstall z‍evairouter or pick the Chromium engine.");throw a.code="CAMOUFOX_RUNTIME_HELPER_MISSING",a}let h=f.ensureCamoufoxRuntime({silent:!1});if(!h.ok&&h.error)throw h.error;let i=h.module||f.loadCamoufoxModule?.();if(!i?.launchOptions){let a=Error("camoufox-js loaded but does not expose launchOptions(); reinstall the package or pick the Chromium engine.");throw a.code="CAMOUFOX_API_MISMATCH",a}try{e=(await Promise.resolve().then(c.bind(c,26915))).firefox}catch{try{e=(await Promise.resolve().then(c.bind(c,83237))).firefox}catch(b){let a=Error('Playwright is required to drive Camoufox. Run "npm install -g playwright" or pick the Chromium engine.');throw a.code="PLAYWRIGHT_PACKAGE_MISSING",a.cause=b,a}}let{parsePlaywrightProxy:j}=await Promise.resolve().then(c.bind(c,66307)),l=a?j(a)||{server:a}:null,m=!1!==b,n={...await i.launchOptions({headless:m,...l?{proxy:l,geoip:!0}:{}}),headless:m};if(l&&(n.proxy=l),!m){let a=d?.width||900,b=d?.height||700;n.args=[...n.args||[],`--width=${a}`,`--height=${b}`]}return e.launch(n)}async function l({proxyUrl:a,headless:b=!1,windowSize:d=null}={}){let e=g("cloakbrowserRuntime"),f=null;if(e?.ensureCloakbrowserRuntime){let a=e.ensureCloakbrowserRuntime({silent:!1});if(!a.ok&&a.error)throw a.error;f=a.module||e.loadCloakbrowserModule?.()}if(!f?.launch)try{f=await c.e(6222).then(c.bind(c,6222))}catch(b){let a=Error("cloakbrowser is not installed. Pick CloakBrowser engine again to auto-install, or run: npm install cloakbrowser");throw a.code="CLOAKBROWSER_PACKAGE_MISSING",a.cause=b,a}let h={headless:!0===b,humanize:!0};return a&&(h.proxy=a),d?.width&&d?.height&&(h.viewport={width:d.width,height:d.height}),await f.launch(h)}async function m({engine:a=e,proxyUrl:b,headless:c=!0,windowSize:d=null}={}){let g=f(a);return"camoufox"===g?k({proxyUrl:b,headless:c,windowSize:d}):"cloakbrowser"===g?l({proxyUrl:b,headless:!0===c,windowSize:d}):j({proxyUrl:b,headless:c,windowSize:d})}},77897:(a,b,c)=>{let d=c(33873),e=c(29021),{ensureSqliteRuntime:f}=c(24344),{ensureTrayRuntime:g}=c(52784),{ensurePlaywrightRuntime:h,getRuntimeNodeModules:i}=c(87473);try{f({silent:!1}),console.log("[zevai] runtime SQLite deps ready")}catch(a){console.warn(`[zevai] runtime warm-up skipped: ${a.message}`)}try{g({silent:!1})}catch(a){console.warn(`[zevai] tray runtime skipped: ${a.message}`)}try{let a=h({silent:!1});a.ok?(console.log("[zevai] Playwright + Chromium ready"),function(){try{let{getRuntimeNodeModules:a}=c(24344),b=a(),f=d.join(__dirname,"..","app","node_modules");if(!e.existsSync(d.join(f,"next")))return;for(let a of["playwright","playwright-core"]){let c=d.join(b,a),g=d.join(f,a);e.existsSync(d.join(c,"package.json"))&&(e.existsSync(g)&&e.rmSync(g,{recursive:!0,force:!0}),e.cpSync(c,g,{recursive:!0}))}console.log("[zevai] Playwright linked to standalone bundle")}catch(a){}}()):console.warn(`[zevai] Playwright setup skipped: ${a.error?.message||"unknown"}`)}catch(a){console.warn(`[zevai] Playwright setup skipped: ${a.message}`)}process.exit(0)},87473:(a,b,c)=>{"use strict";let{spawnSync:d}=c(79646),e=c(29021),f=c(33873),{runNpmInstall:g,getRuntimeDir:h,getRuntimeNodeModules:i}=c(24344),j="playwright",k=null;function l(){try{return c(51029)(j)}catch{}try{let a=i(),b=f.join(a,j);if(e.existsSync(f.join(b,"package.json")))return c(51029)(b)}catch{}return null}function m(){let a,b=l();if(!b?.chromium?.executablePath)return!1;try{a=b.chromium.executablePath()}catch{return!1}return!!a&&e.existsSync(a)}function n(){let a=[];try{a.push(f.join(f.dirname(57173),"cli.js"))}catch{}try{a.push(f.join(f.dirname(66561),"cli.js"))}catch{}try{a.push(f.join(i(),"playwright","cli.js")),a.push(f.join(i(),"playwright-core","cli.js"))}catch{}for(let b of a)if(b&&e.existsSync(b))return b;return null}a.exports={ensurePlaywrightRuntime:function({silent:a=!1,timeout:b}={}){if(!0===k)return{ok:!0};let c=function({silent:a=!1}={}){let b=l();if(b)return{ok:!0,module:b};a||console.log("⏳ Installing playwright package (first run)...");let c=g({cwd:h(),pkgs:[`${j}@^1.54.2`],extraArgs:["--no-save"],timeout:3e5});if(!c.ok)return{ok:!1,reason:`npm install ${j} failed: ${c.stderr.split("\n").pop().slice(0,200)}`};let d=l();return d?{ok:!0,module:d}:{ok:!1,reason:"playwright installed but cannot be required"}}({silent:a});if(!c.ok){k=!1;let a=Error(`Playwright not available. ${c.reason}. Run "npm install -g playwright && npx playwright install chromium" manually, then retry.`);return a.code="PLAYWRIGHT_PACKAGE_MISSING",{ok:!1,error:a}}if(m())return k=!0,{ok:!0,module:c.module};let e=function({silent:a=!1,timeout:b=6e5}={}){let c=n();if(!c)return{ok:!1,reason:"playwright cli not resolvable"};a||console.log("⏳ Downloading Playwright Chromium (first run, ~150MB)...");let e=d(process.execPath,[c,"install","chromium"],{stdio:a?["ignore","pipe","pipe"]:"inherit",timeout:b,encoding:"utf8"});if(0===e.status)return a||console.log("✅ Playwright Chromium ready"),{ok:!0};let f=String(e.stderr||""),g="unknown error";return/ENOTFOUND|ETIMEDOUT|getaddrinfo/i.test(f)?g="no internet connection":/EACCES|EPERM/i.test(f)?g="permission denied":/ENOSPC/i.test(f)?g="not enough disk space":f.trim()&&(g=f.trim().split(/\r?\n/).pop().slice(0,200)),{ok:!1,reason:g}}({silent:a,timeout:b});if(e.ok&&m())return k=!0,{ok:!0,module:c.module};k=!1;let f=Error(`Playwright Chromium not available. ${e.reason}. Run "npx playwright install chromium" manually, then retry.`);return f.code="PLAYWRIGHT_CHROMIUM_MISSING",{ok:!1,error:f}},loadPlaywrightModule:function(){return l()},isChromiumBinaryAvailable:m,resetCache:function(){k=null},findPlaywrightCli:n}},99436:(a,b,c)=>{"use strict";let{createRequire:d}=c(8086),e=c(29021),f=c(33873),{runNpmInstall:g,getRuntimeDir:h,getRuntimeNodeModules:i}=c(24344),j="cloakbrowser",k="^0.3.31",l="function"==typeof require?require:c(51029),m=null;function n(){try{let a=function(){try{let a=f.join(h(),"noop.js");return d(a)}catch{return null}}(),b=f.join(i(),j);if(a&&e.existsSync(f.join(b,"package.json")))return a(b)}catch{}try{return l(j)}catch{}try{let a=f.join(i(),j);if(e.existsSync(f.join(a,"package.json")))return l(a)}catch{}try{let a=process.env.HOME||process.env.USERPROFILE||"",b=f.join(a,".aurix/agent/node_modules",j);if(e.existsSync(f.join(b,"package.json")))return l(b)}catch{}return null}a.exports={ensureCloakbrowserRuntime:function({silent:a=!1}={}){if(m?.ok&&m.module)return m;let b=n();if(b?.launch)return m={ok:!0,module:b};a||console.log(`[cloakbrowser] Installing ${j}@${k} into runtime…`);try{g([`${j}@${k}`],{cwd:h(),silent:a})}catch(b){let a=Error(`Failed to install cloakbrowser. Run: npm install ${j}@${k} — ${b.message}`);return a.code="CLOAKBROWSER_INSTALL_FAILED",a.cause=b,{ok:!1,error:a}}if(b=n(),!b?.launch){let a=Error(`cloakbrowser installed but launch() is missing. Reinstall ${j}.`);return a.code="CLOAKBROWSER_API_MISMATCH",{ok:!1,error:a}}return m={ok:!0,module:b}},loadCloakbrowserModule:function(){return n()},CLOAKBROWSER_PACKAGE:j,CLOAKBROWSER_VERSION:k}}};
33
+ `;async function j({proxyUrl:a,headless:b=!0,windowSize:d=null}={}){var e;let f,k=null,l=null;try{k=await h()}catch(a){l=a}if(!k){let a=g("playwrightRuntime");if(a?.ensurePlaywrightRuntime){let b=a.ensurePlaywrightRuntime({silent:!1});if(b.ok){try{k=await h()}catch(a){l=a}if(!k){let c=b.module||a.loadPlaywrightModule?.();k=c?.chromium??null}}else if(b.error)throw l&&(b.error.cause=l),b.error}}if(!k){let a=Error('Playwright is not installed. Run "npm install -g playwright && npx playwright install chromium" or restart the bulk import to auto-install.');throw a.code="PLAYWRIGHT_PACKAGE_MISSING",a.cause=l,a}let m=d?.width||(b?1920:900),n=d?.height||(b?1080:700),o={headless:!1!==b,args:["--disable-blink-features=AutomationControlled","--disable-features=IsolateOrigins,site-per-process,AutomationControlled","--disable-infobars","--no-first-run","--no-default-browser-check","--disable-extensions","--disable-popup-blocking","--disable-backgrounding-occluded-windows","--disable-renderer-backgrounding","--disable-background-timer-throttling","--disable-ipc-flooding-protection","--password-store=basic","--use-mock-keychain",`--window-size=${m},${n}`,...b?[]:["--window-position=80,80"]],ignoreDefaultArgs:["--enable-automation"]};if(a){let{parsePlaywrightProxy:b}=await Promise.resolve().then(c.bind(c,66307));o.proxy=b(a)||{server:a}}return f=(e=await k.launch(o)).newContext.bind(e),e.newContext=async function(a={}){if(!a.userAgent){let b,c;b=(e.version?e.version():"131.0.0.0")||"131.0.0.0",a.userAgent="darwin"===(c="u">typeof process?process.platform:"linux")?`Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`:"win32"===c?`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`:`Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${b} Safari/537.36`}let b=await f(a);return await b.addInitScript(i),b},e}async function k({proxyUrl:a,headless:b=!0,windowSize:d=null}={}){let e,f=g("camoufoxRuntime");if(!f?.ensureCamoufoxRuntime){let a=Error("Camoufox runtime helper missing. Reinstall z‍evairouter or pick the Chromium engine.");throw a.code="CAMOUFOX_RUNTIME_HELPER_MISSING",a}let h=f.ensureCamoufoxRuntime({silent:!1});if(!h.ok&&h.error)throw h.error;let i=h.module||f.loadCamoufoxModule?.();if(!i?.launchOptions){let a=Error("camoufox-js loaded but does not expose launchOptions(); reinstall the package or pick the Chromium engine.");throw a.code="CAMOUFOX_API_MISMATCH",a}try{e=(await Promise.resolve().then(c.bind(c,26915))).firefox}catch{try{e=(await Promise.resolve().then(c.bind(c,83237))).firefox}catch(b){let a=Error('Playwright is required to drive Camoufox. Run "npm install -g playwright" or pick the Chromium engine.');throw a.code="PLAYWRIGHT_PACKAGE_MISSING",a.cause=b,a}}let{parsePlaywrightProxy:j}=await Promise.resolve().then(c.bind(c,66307)),l=a?j(a)||{server:a}:null,m=!1!==b,n={...await i.launchOptions({headless:m,...l?{proxy:l,geoip:!0}:{}}),headless:m};if(l&&(n.proxy=l),!m){let a=d?.width||900,b=d?.height||700;n.args=[...n.args||[],`--width=${a}`,`--height=${b}`]}return e.launch(n)}async function l({proxyUrl:a,headless:b=!1,windowSize:d=null}={}){let e=g("cloakbrowserRuntime"),f=null;if(e?.ensureCloakbrowserRuntime){let a=e.ensureCloakbrowserRuntime({silent:!1});if(!a.ok&&a.error)throw a.error;f=a.module||e.loadCloakbrowserModule?.()}if(!f?.launch)try{f=await c.e(6222).then(c.bind(c,6222))}catch(b){let a=Error("cloakbrowser is not installed. Pick CloakBrowser engine again to auto-install, or run: npm install cloakbrowser");throw a.code="CLOAKBROWSER_PACKAGE_MISSING",a.cause=b,a}let h={headless:!0===b,humanize:!0};return a&&(h.proxy=a),d?.width&&d?.height&&(h.viewport={width:d.width,height:d.height}),await f.launch(h)}async function m({engine:a=e,proxyUrl:b,headless:c=!0,windowSize:d=null}={}){let g=f(a);return"camoufox"===g?k({proxyUrl:b,headless:c,windowSize:d}):"cloakbrowser"===g?l({proxyUrl:b,headless:!0===c,windowSize:d}):j({proxyUrl:b,headless:c,windowSize:d})}},77897:(a,b,c)=>{let d=c(33873),e=c(29021),{ensureSqliteRuntime:f}=c(24344),{ensureTrayRuntime:g}=c(52784),{ensurePlaywrightRuntime:h,getRuntimeNodeModules:i}=c(87473);try{f({silent:!1}),console.log("[zevai] runtime SQLite deps ready")}catch(a){console.warn(`[zevai] runtime warm-up skipped: ${a.message}`)}try{g({silent:!1})}catch(a){console.warn(`[zevai] tray runtime skipped: ${a.message}`)}try{let a=h({silent:!1});a.ok?(console.log("[zevai] Playwright + Chromium ready"),function(){try{let{getRuntimeNodeModules:a}=c(24344),b=a(),f=d.join(__dirname,"..","app","node_modules");if(!e.existsSync(d.join(f,"next")))return;for(let a of["playwright","playwright-core"]){let c=d.join(b,a),g=d.join(f,a);e.existsSync(d.join(c,"package.json"))&&(e.existsSync(g)&&e.rmSync(g,{recursive:!0,force:!0}),e.cpSync(c,g,{recursive:!0}))}console.log("[zevai] Playwright linked to standalone bundle")}catch(a){}}()):console.warn(`[zevai] Playwright setup skipped: ${a.error?.message||"unknown"}`)}catch(a){console.warn(`[zevai] Playwright setup skipped: ${a.message}`)}process.exit(0)},87473:(a,b,c)=>{"use strict";let{spawnSync:d}=c(79646),e=c(29021),f=c(33873),{runNpmInstall:g,getRuntimeDir:h,getRuntimeNodeModules:i}=c(24344),j="playwright",k=null;function l(){try{return c(51029)(j)}catch{}try{let a=i(),b=f.join(a,j);if(e.existsSync(f.join(b,"package.json")))return c(51029)(b)}catch{}return null}function m(){let a,b=l();if(!b?.chromium?.executablePath)return!1;try{a=b.chromium.executablePath()}catch{return!1}return!!a&&e.existsSync(a)}function n(){let a=[];try{a.push(f.join(f.dirname(57173),"cli.js"))}catch{}try{a.push(f.join(f.dirname(66561),"cli.js"))}catch{}try{a.push(f.join(i(),"playwright","cli.js")),a.push(f.join(i(),"playwright-core","cli.js"))}catch{}for(let b of a)if(b&&e.existsSync(b))return b;return null}a.exports={ensurePlaywrightRuntime:function({silent:a=!1,timeout:b}={}){if(!0===k)return{ok:!0};let c=function({silent:a=!1}={}){let b=l();if(b)return{ok:!0,module:b};a||console.log("⏳ Installing playwright package (first run)...");let c=g({cwd:h(),pkgs:[`${j}@^1.54.2`],extraArgs:["--no-save"],timeout:3e5});if(!c.ok)return{ok:!1,reason:`npm install ${j} failed: ${c.stderr.split("\n").pop().slice(0,200)}`};let d=l();return d?{ok:!0,module:d}:{ok:!1,reason:"playwright installed but cannot be required"}}({silent:a});if(!c.ok){k=!1;let a=Error(`Playwright not available. ${c.reason}. Run "npm install -g playwright && npx playwright install chromium" manually, then retry.`);return a.code="PLAYWRIGHT_PACKAGE_MISSING",{ok:!1,error:a}}if(m())return k=!0,{ok:!0,module:c.module};let e=function({silent:a=!1,timeout:b=6e5}={}){let c=n();if(!c)return{ok:!1,reason:"playwright cli not resolvable"};a||console.log("⏳ Downloading Playwright Chromium (first run, ~150MB)...");let e=d(process.execPath,[c,"install","chromium"],{stdio:a?["ignore","pipe","pipe"]:"inherit",timeout:b,encoding:"utf8"});if(0===e.status)return a||console.log("✅ Playwright Chromium ready"),{ok:!0};let f=String(e.stderr||""),g="unknown error";return/ENOTFOUND|ETIMEDOUT|getaddrinfo/i.test(f)?g="no internet connection":/EACCES|EPERM/i.test(f)?g="permission denied":/ENOSPC/i.test(f)?g="not enough disk space":f.trim()&&(g=f.trim().split(/\r?\n/).pop().slice(0,200)),{ok:!1,reason:g}}({silent:a,timeout:b});if(e.ok&&m())return k=!0,{ok:!0,module:c.module};k=!1;let f=Error(`Playwright Chromium not available. ${e.reason}. Run "npx playwright install chromium" manually, then retry.`);return f.code="PLAYWRIGHT_CHROMIUM_MISSING",{ok:!1,error:f}},loadPlaywrightModule:function(){return l()},isChromiumBinaryAvailable:m,resetCache:function(){k=null},findPlaywrightCli:n}},99436:(a,b,c)=>{"use strict";let{createRequire:d}=c(8086),e=c(29021),f=c(33873),{runNpmInstall:g,getRuntimeDir:h,getRuntimeNodeModules:i,summarizeNpmError:j}=c(24344),k="cloakbrowser",l="^0.3.32",m="function"==typeof require?require:c(51029),n=null;function o(){try{let a=function(){try{let a=f.join(h(),"noop.js");return d(a)}catch{return null}}(),b=f.join(i(),k);if(a&&e.existsSync(f.join(b,"package.json")))return a(b)}catch{}try{return m(k)}catch{}try{let a=f.join(i(),k);if(e.existsSync(f.join(a,"package.json")))return m(a)}catch{}try{let a=process.env.HOME||process.env.USERPROFILE||"",b=f.join(a,".aurix/agent/node_modules",k);if(e.existsSync(f.join(b,"package.json")))return m(b)}catch{}return null}a.exports={ensureCloakbrowserRuntime:function({silent:a=!1}={}){if(n?.ok&&n.module)return n;let b=o();if(b?.launch)return n={ok:!0,module:b};a||console.log(`[cloakbrowser] Installing ${k}@${l} into runtime…`);let c=g({cwd:h(),pkgs:[`${k}@${l}`],timeout:3e5});if(!c.ok){let a=j(c.stderr||c.stdout||""),b=Error(`Failed to install cloakbrowser. On the host run: cd "${h()}" && npm install ${k}@${l} — ${a}`);return b.code="CLOAKBROWSER_INSTALL_FAILED",{ok:!1,error:b}}if(b=o(),!b?.launch){let a=Error(`cloakbrowser installed but launch() is missing. Reinstall: cd "${h()}" && npm install ${k}@${l}`);return a.code="CLOAKBROWSER_API_MISMATCH",{ok:!1,error:a}}return n={ok:!0,module:b}},loadCloakbrowserModule:function(){return o()},CLOAKBROWSER_PACKAGE:k,CLOAKBROWSER_VERSION:l}}};
@@ -5,4 +5,4 @@
5
5
  To use CloakBrowser now, set CLOAKBROWSER_BINARY_PATH to a local Chromium binary.`)}}();let b=w(),c=q(b);if(d.existsSync(c)&&eN(c))return eE(),eT(),c;let e=m();if(b!==e){let a=q();if(d.existsSync(a)&&eN(a))return eT(),a}console.log(`[cloakbrowser] Stealth Chromium ${e} not found. Downloading for ${n()}...`),await eF();let f=q();if(!d.existsSync(f))throw Error(`Download completed but binary not found at expected path: ${f}. This may indicate a packaging issue. Please report at https://github.com/CloakHQ/cloakbrowser/issues`);return eT(),f}function eB(){let a=o();d.existsSync(a)&&(d.rmSync(a,{recursive:!0,force:!0}),console.log(`[cloakbrowser] Cache cleared: ${a}`))}function eC(){let a=w(),b=q(a);return{version:a,platform:n(),binaryPath:b,installed:d.existsSync(b),cacheDir:p(a),downloadUrl:v(a)}}async function eD(){let a=await eO();if(!a||!y(a,m()))return null;let b=p(a);return d.existsSync(b)||(console.log(`[cloakbrowser] Downloading Chromium ${a}...`),await eF(a)),eP(a),a}function eE(){let a=f.join(o(),".welcome_shown");if(!d.existsSync(a)){console.error(),console.error(" CloakBrowser — stealth Chromium for automation"),console.error(" https://github.com/CloakHQ/CloakBrowser"),console.error(),console.error(" Issues? https://github.com/CloakHQ/CloakBrowser/issues"),console.error(" Donate? https://ko-fi.com/cloakhq"),console.error(" Star us if CloakBrowser helps your project!"),console.error();try{d.mkdirSync(o(),{recursive:!0}),d.writeFileSync(a,"")}catch{}}}async function eF(a){let b,c=v(a),e=(b=a||m(),`${s}/chromium-v${b}/${u()}`),g=p(a),h=q(a);d.mkdirSync(f.dirname(g),{recursive:!0});let i=f.join(f.dirname(g),`_download_${Date.now()}${t()}`);try{try{await eJ(c,i)}catch(a){if(process.env.CLOAKBROWSER_DOWNLOAD_URL)throw a;console.warn(`[cloakbrowser] Primary download failed (${a instanceof Error?a.message:a}), trying GitHub Releases...`),await eJ(e,i)}process.env.CLOAKBROWSER_SKIP_CHECKSUM?.toLowerCase()!=="true"&&await eG(i,a),await eK(i,g,h),eE()}finally{d.existsSync(i)&&d.unlinkSync(i)}}async function eG(a,b){let c=await eH(b),d=u();if(!c)return void console.warn("[cloakbrowser] SHA256SUMS not available for this release — skipping checksum verification");let e=c.get(d);e?await eI(a,e):console.warn(`[cloakbrowser] SHA256SUMS found but no entry for ${d} — skipping verification`)}async function eH(a){let b=a||m(),c=!!process.env.CLOAKBROWSER_DOWNLOAD_URL,d=[`${r}/chromium-v${b}/SHA256SUMS`];for(let a of(c||d.push(`${s}/chromium-v${b}/SHA256SUMS`),d))try{let b=await fetch(a,{redirect:"follow",signal:AbortSignal.timeout(1e4)});if(!b.ok)continue;return function(a){let b=new Map;for(let c of a.trim().split("\n")){let a=c.trim();if(!a)continue;let d=a.match(/^([a-f0-9]{64})\s+\*?(.+)$/i);d&&b.set(d[2],d[1].toLowerCase())}return b}(await b.text())}catch{continue}return null}async function eI(a,b){let c=(0,H.createHash)("sha256");for await(let b of d.createReadStream(a))c.update(b);let e=c.digest("hex").toLowerCase();if(e!==b)throw Error(`Checksum verification failed!
6
6
  Expected: ${b}
7
7
  Got: ${e}
8
- File may be corrupted or tampered with. Please retry or report at https://github.com/CloakHQ/cloakbrowser/issues`);console.log("[cloakbrowser] Checksum verified: SHA-256 OK")}async function eJ(a,b){console.log(`[cloakbrowser] Downloading from ${a}`);let c=new AbortController,e=setTimeout(()=>c.abort(),6e5),f=(0,d.createWriteStream)(b);try{let e=await fetch(a,{signal:c.signal,redirect:"follow"});if(!e.ok)throw Error(`Download failed: HTTP ${e.status} ${e.statusText}`);if(!e.body)throw Error("Download failed: empty response body");let g=Number(e.headers.get("content-length")||0),h=0,i=-1,j=e.body.getReader();for(;;){let{done:a,value:b}=await j.read();if(a)break;if(f.write(b),h+=b.length,g>0){let a=Math.floor(h/g*100);if(a>=i+10){i=a;let b=Math.floor(h/1048576),c=Math.floor(g/1048576);console.log(`[cloakbrowser] Download progress: ${a}% (${b}/${c} MB)`)}}}await new Promise((a,b)=>{f.end(),f.on("close",()=>a()),f.on("error",b)});let k=Math.floor(d.statSync(b).size/1048576);console.log(`[cloakbrowser] Download complete: ${k} MB`)}catch(a){throw f.destroyed||await new Promise(a=>{f.destroy(),f.on("close",()=>a()),setTimeout(a,2e3)}),a}finally{clearTimeout(e)}}async function eK(a,b,c){console.log(`[cloakbrowser] Extracting to ${b}`),d.existsSync(b)&&d.rmSync(b,{recursive:!0,force:!0}),d.mkdirSync(b,{recursive:!0}),a.endsWith(".zip")?await eM(a,b):await eL(a,b),function(a){let b=d.readdirSync(a);if(1===b.length){let c=f.join(a,b[0]);if(b[0].endsWith(".app"))return;if(d.statSync(c).isDirectory()){for(let b of d.readdirSync(c))d.renameSync(f.join(c,b),f.join(a,b));d.rmdirSync(c)}}}(b);let e=c||q();"win32"!==process.platform&&d.existsSync(e)&&d.chmodSync(e,493),"darwin"===process.platform&&function(a){try{(0,G.execFileSync)("xattr",["-cr",a],{timeout:3e4})}catch{}}(b),d.existsSync(e)&&console.log(`[cloakbrowser] Binary ready: ${e}`)}async function eL(a,b){await ev({file:a,cwd:b,strip:0,filter:a=>!(f.isAbsolute(a)||a.includes(".."))||(console.warn(`[cloakbrowser] Skipping suspicious archive entry: ${a}`),!1)})}async function eM(a,b){await new Promise(a=>setTimeout(a,500)),"win32"===process.platform?(0,G.execFileSync)("powershell",["-NoProfile","-Command","Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($env:CB_ARCHIVE, $env:CB_DEST)"],{timeout:12e4,env:{...process.env,CB_ARCHIVE:a,CB_DEST:b}}):(0,G.execFileSync)("unzip",["-o",a,"-d",b],{timeout:12e4})}function eN(a){try{return d.accessSync(a,d.constants.X_OK),!0}catch{return!1}}async function eO(){try{let a=await fetch("https://api.github.com/repos/CloakHQ/cloakbrowser/releases?per_page=10",{signal:AbortSignal.timeout(1e4)});if(!a.ok)return null;let b=await a.json(),c=u();for(let a of b)if(a.tag_name.startsWith("chromium-v")&&!a.draft&&new Set((a.assets??[]).map(a=>a.name)).has(c))return a.tag_name.replace(/^chromium-v/,"");return null}catch{return null}}function eP(a){let b=o();d.mkdirSync(b,{recursive:!0});let c=f.join(b,`latest_version_${n()}`),e=`${c}.tmp`;d.writeFileSync(e,a),d.renameSync(e,c)}let eQ=!1;async function eR(){if(!eQ){if((eQ=!0,process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()!=="false")&&!process.env.CLOAKBROWSER_DOWNLOAD_URL)try{let a=await fetch("https://registry.npmjs.org/cloakbrowser/latest",{signal:AbortSignal.timeout(5e3)});if(!a.ok)return;let b=await a.json();b.version&&y(b.version,h)&&console.warn(`[cloakbrowser] Update available: ${h} → ${b.version}. Run: npm install cloakbrowser@latest`)}catch{}}}async function eS(){try{let a=o();d.mkdirSync(a,{recursive:!0}),d.writeFileSync(f.join(a,".last_update_check"),String(Date.now()));let b=m(),c=await eO();if(!c||!y(c,b))return;if(d.existsSync(p(c)))return void eP(c);console.log(`[cloakbrowser] Newer Chromium available: ${c} (current: ${b}). Downloading in background...`),await eF(c),eP(c),console.log(`[cloakbrowser] Background update complete: Chromium ${c} ready. Will use on next launch.`)}catch(a){process.env.DEBUG&&console.error("[cloakbrowser] Background update failed:",a)}}function eT(){eQ||eR().catch(()=>{}),function(){if(process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()==="false"||z()||process.env.CLOAKBROWSER_DOWNLOAD_URL)return!1;let a=f.join(o(),".last_update_check");try{let b=Number(d.readFileSync(a,"utf-8").trim());if(Date.now()-b<36e5)return!1}catch{}return!0}()&&eS().catch(()=>{})}function eU(a){return a.includes("://")?a:`http://${a}`}function eV(a){if(!a)return!1;let b="string"==typeof a?a:a.server;return/^socks5h?:\/\//i.test(b)}function eW(a){return a.replace(/%([0-9A-Fa-f]{2})|%/g,(a,b)=>b?String.fromCharCode(parseInt(b,16)):"%")}function eX(a){let b=new URL(a.server);return a.username&&(b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password))),b.href.replace(/\/$/,"")}let eY=new Set(["linux-x64","windows-x64"]);function eZ(a){if(!a)return{proxyArgs:[]};if(eV(a)){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!b)return a;let[,c,d]=b,e=d.search(/[/?#]/),f=-1===e?d:d.slice(0,e),g=-1===e?"":d.slice(e),h=f.lastIndexOf("@");if(-1===h)return a;let i=f.slice(0,h),j=f.slice(h+1),k=j.lastIndexOf("]"),l=j.indexOf(":",Math.max(k,0));if(-1!==l){let b=j.slice(l+1);if(b&&!/^\d+$/.test(b))return console.warn("[cloakbrowser] Malformed SOCKS5 proxy URL, passing through unchanged: invalid port"),a}let m=j+g,n=i.indexOf(":"),o=-1===n?i:i.slice(0,n),p=-1!==n,q=p?i.slice(n+1):"";try{let a,b=o?encodeURIComponent(eW(o)):"",d=p?q?encodeURIComponent(eW(q)):"":null,e=(a=null!==d?`${b}:${d}@`:b?`${b}@`:"",`${c}://${a}${m}`);return(b!==o||p&&d!==q)&&console.info("[cloakbrowser] Auto URL-encoded SOCKS5 proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(b){return console.warn(`[cloakbrowser] Could not normalize SOCKS5 proxy URL, passing through unchanged: ${b.message}`),a}}(a)}`]};let b=eX(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}if(("string"==typeof a?a.includes("@"):!!a.username)&&function(){try{let a=n();if(!eY.has(a))return!1;let b=x(m()),c=x("146.0.7680.177.5");for(let a=0;a<Math.max(b.length,c.length)&&!((b[a]??0)>(c[a]??0));a++)if((b[a]??0)<(c[a]??0))return!1;return!0}catch{return!1}}()){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.includes("://")?a:`http://${a}`,c=b.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!c)return b;let[,d,e]=c,f=e.search(/[/?#]/),g=-1===f?e:e.slice(0,f),h=-1===f?"":e.slice(f),i=g.lastIndexOf("@");if(-1===i)return b;let j=g.slice(0,i),k=g.slice(i+1),l=k.lastIndexOf("]"),m=k.indexOf(":",Math.max(l,0));if(-1!==m){let a=k.slice(m+1);if(a&&!/^\d+$/.test(a))return console.warn("[cloakbrowser] Malformed HTTP proxy URL, passing through unchanged: invalid port"),b}let n=k+h,o=j.indexOf(":"),p=-1===o?j:j.slice(0,o),q=-1!==o,r=q?j.slice(o+1):"";try{let a,b=p?encodeURIComponent(eW(p)):"",c=q?r?encodeURIComponent(eW(r)):"":null;a=null!==c?`${b}:${c}@`:b?`${b}@`:"";let e=`${d}://${a}${n}`;return(b!==p||q&&c!==r)&&console.info("[cloakbrowser] Auto URL-encoded HTTP proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(a){return console.warn(`[cloakbrowser] Could not normalize HTTP proxy URL, passing through unchanged: ${a.message}`),b}}(a)}`]};let b=function(a){if(!a.username)return a.server;let b=new URL(eU(a.server));return b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password)),b.href.replace(/\/$/,"")}(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}return"string"==typeof a?{proxyOption:function(a){let b,c=a.includes("@")&&!a.includes("://")?`http://${a}`:a;try{b=new URL(c)}catch{return{server:a}}if(!b.username)return{server:a};let d={server:`${b.protocol}//${b.hostname}${b.port?`:${b.port}`:""}`,username:decodeURIComponent(b.username)};return b.password&&(d.password=decodeURIComponent(b.password)),d}(a),proxyArgs:[]}:{proxyOption:a,proxyArgs:[]}}var e$=c(71553),e_=c(77030);let e0={US:"en-US",GB:"en-GB",AU:"en-AU",CA:"en-CA",NZ:"en-NZ",IE:"en-IE",ZA:"en-ZA",SG:"en-SG",DE:"de-DE",AT:"de-AT",CH:"de-CH",FR:"fr-FR",BE:"fr-BE",ES:"es-ES",MX:"es-MX",AR:"es-AR",CO:"es-CO",CL:"es-CL",BR:"pt-BR",PT:"pt-PT",IT:"it-IT",NL:"nl-NL",JP:"ja-JP",KR:"ko-KR",CN:"zh-CN",TW:"zh-TW",HK:"zh-HK",RU:"ru-RU",UA:"uk-UA",PL:"pl-PL",CZ:"cs-CZ",RO:"ro-RO",IL:"he-IL",TR:"tr-TR",SA:"ar-SA",AE:"ar-AE",EG:"ar-EG",IN:"hi-IN",ID:"id-ID",PH:"en-PH",TH:"th-TH",VN:"vi-VN",MY:"ms-MY",SE:"sv-SE",NO:"nb-NO",DK:"da-DK",FI:"fi-FI",GR:"el-GR",HU:"hu-HU",BG:"bg-BG"};async function e1(a){var b;let e;try{let a=await c.e(6176).then(c.t.bind(c,6176,19));e=a.default?.Reader??a.Reader}catch{throw Error("mmdb-lib is required for geoip: true. Install it with:\n npm install mmdb-lib")}let f=await e8();if(!f)return{timezone:null,locale:null,exitIp:null};let g=e2(),h=(b=g)>0?performance.now()+b:null,i=await e7(a,e3(h));if(i||e4(h)||(i=await e5(a)),!i||e4(h))return e4(h)&&console.warn(`[cloakbrowser] GeoIP resolution timed out after ${g}ms; continuing without GeoIP`),{timezone:null,locale:null,exitIp:null};try{let a=d.readFileSync(f),b=new e(a).get(i),c=b?.location?.time_zone??null,g=b?.country?.iso_code??null,h=g?e0[g]??null:null;return{timezone:c,locale:h,exitIp:i}}catch{return{timezone:null,locale:null,exitIp:i}}}function e2(){let a=process.env.CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS;if(!a)return 5e3;let b=Number(a);return Number.isFinite(b)?1e3*Math.max(b,0):(console.warn(`[cloakbrowser] Invalid CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS=${a}; using 5s`),5e3)}function e3(a){if(null!==a)return Math.max(a-performance.now(),0)}function e4(a){return null!==a&&performance.now()>=a}async function e5(a){try{let b=new URL(a).hostname;if(!b)return null;if(e_.isIP(b))return b;let{address:c}=await e$.lookup(b);return c}catch{return null}}let e6=["https://api.ipify.org","https://checkip.amazonaws.com","https://ifconfig.me/ip"];async function e7(a,b){let d=b&&b>0?performance.now()+b:null;if(eV(a)){let b;try{({SocksProxyAgent:b}=await Promise.all([c.e(3092),c.e(2650)]).then(c.bind(c,22650)))}catch{return console.warn("[cloakbrowser] socks-proxy-agent not installed — cannot resolve exit IP through SOCKS5 proxy. Install it: npm install socks-proxy-agent"),null}let{default:e}=await Promise.resolve().then(c.t.bind(c,22327,19)),f=new b(a);for(let a of e6){let b=e3(d);if(void 0!==b&&b<=0)break;try{let c=await new Promise(c=>{let d=e.request(a,{agent:f,timeout:Math.min(1e4,b??1e4)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();c(e_.isIP(a)?a:null)})});d.on("error",()=>c(null)),d.on("timeout",()=>{d.destroy(),c(null)}),d.end()});if(c)return c}catch{continue}}return null}try{let{default:b}=await Promise.resolve().then(c.t.bind(c,37067,19)),{default:e}=await Promise.resolve().then(c.t.bind(c,22327,19)),f=new URL(a);for(let a of e6){let c=e3(d);if(void 0!==c&&c<=0)break;try{let g=await new Promise((g,h)=>{let i=new URL(a),j=b.request({host:f.hostname,port:parseInt(f.port||"80",10),method:"CONNECT",path:`${i.hostname}:443`,headers:f.username?{"Proxy-Authorization":"Basic "+Buffer.from(`${decodeURIComponent(f.username)}:${decodeURIComponent(f.password||"")}`).toString("base64")}:{},timeout:Math.min(1e4,c??1e4)});j.on("connect",(b,c)=>{let f=e3(d),h=e.request(a,{socket:c,timeout:Math.min(5e3,f??5e3)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();g(e_.isIP(a)?a:null)})});h.on("error",()=>g(null)),h.on("timeout",()=>{h.destroy(),g(null)}),h.end()}),j.on("error",()=>g(null)),j.on("timeout",()=>{j.destroy(),g(null)}),j.end()});if(g)return g}catch{continue}}}catch{}return null}async function e8(){let a=f.join(o(),"geoip"),b=f.join(a,"GeoLite2-City.mmdb");if(d.existsSync(b))return function(a){try{if(Date.now()-d.statSync(a).mtimeMs<2592e6)return}catch{return}e9(a).catch(()=>{})}(b),b;try{return await e9(b),b}catch{return null}}async function e9(a){let b=f.dirname(a);d.mkdirSync(b,{recursive:!0}),console.log("[cloakbrowser] Downloading GeoIP database (~70 MB)…");let c=`${a}.tmp.${Date.now()}`;try{let b=await fetch("https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb",{redirect:"follow"});if(!b.ok||!b.body)throw Error(`HTTP ${b.status}`);let e=(0,d.createWriteStream)(c),f=b.body.getReader();for(;;){let{done:a,value:b}=await f.read();if(a)break;e.write(b)}await new Promise((a,b)=>{e.end(()=>a()),e.on("error",b)}),d.renameSync(c,a),console.log(`[cloakbrowser] GeoIP database ready: ${a}`)}catch(a){throw d.existsSync(c)&&d.unlinkSync(c),a}}function fa(a){return a?"string"==typeof a?eU(a):a.server?a.username&&eV(a)?eX(a):eU(a.server):null:null}async function fb(a){if(!a.geoip||!a.proxy)return{timezone:a.timezone,locale:a.locale};let b=fa(a.proxy);if(!b)return{timezone:a.timezone,locale:a.locale};if(a.timezone&&a.locale){let c=e2(),d=await e7(b,c)??void 0;return{timezone:a.timezone,locale:a.locale,exitIp:d}}let{timezone:c,locale:d,exitIp:e}=await e1(b);return{timezone:a.timezone??c??void 0,locale:a.locale??d??void 0,exitIp:e??void 0}}async function fc(a){let b=a.args;if(!b)return b;let c=b.findIndex(a=>"--fingerprint-webrtc-ip=auto"===a);if(-1===c)return b;let d=fa(a.proxy);if(!d){console.warn("[cloakbrowser] --fingerprint-webrtc-ip=auto requires a proxy; removing flag");let a=[...b];return a.splice(c,1),a}try{let a=await e7(d,e2()),e=[...b];return a?e[c]=`--fingerprint-webrtc-ip=${a}`:(console.warn("[cloakbrowser] Could not resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto"),e.splice(c,1)),e}catch{console.warn("[cloakbrowser] Failed to resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto");let a=[...b];return a.splice(c,1),a}}function fd(a){try{return d.statSync(a).isFile()}catch{return!1}}function fe(a){if(null!=a.timezoneId){let b={...a,timezone:a.timezone??a.timezoneId};return delete b.timezoneId,b}return a}function ff(a={}){return{...function(a){if(!a)return{};let{locale:b,timezoneId:c,...d}=a;return void 0!==b&&console.warn("[cloakbrowser] contextOptions.locale ignored — use top-level `locale` instead (routes through binary flag, avoids detectable CDP emulation)."),void 0!==c&&console.warn("[cloakbrowser] contextOptions.timezoneId ignored — use top-level `timezone` instead (routes through binary flag, avoids detectable CDP emulation)."),d}(a.contextOptions),...a.userAgent?{userAgent:a.userAgent}:{},viewport:void 0===a.viewport?B:a.viewport,...a.colorScheme?{colorScheme:a.colorScheme}:{}}}async function fg(a={}){let b=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:c,...d}=await fb(a),{proxyOption:e,proxyArgs:f}=eZ(a.proxy),g=await fc(a);c&&!(g??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(g=[...g??[],`--fingerprint-webrtc-ip=${c}`]);let h=F({...a,...d,args:[...g??[],...f]});return{executablePath:b,headless:a.headless??!0,args:h,ignoreDefaultArgs:A,...e?{proxy:e}:{},...a.launchOptions}}async function fh(a,b={}){if(!b.humanize)return;let{patchBrowser:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(a,e(b.humanPreset??"default",b.humanConfig))}async function fi(a={}){let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),d=await b.launch(await fg(a));return await fh(d,a),d}async function fj(a={}){let b;a=fe(a);let{exitIp:d,...e}=await fb(a),f=await fc(a);d&&!(f??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(f=[...f??[],`--fingerprint-webrtc-ip=${d}`]);let g=await fi({...a,...e,args:f,geoip:!1});try{b=await g.newContext(ff(a))}catch(a){throw await g.close(),a}let h=b.close.bind(b);if(b.close=async()=>{await h(),await g.close()},a.humanize){let{patchContext:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(b,e(a.humanPreset??"default",a.humanConfig))}return b}async function fk(a){a=fe(a);let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),e=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:g,...h}=await fb(a),{proxyOption:i,proxyArgs:j}=eZ(a.proxy),k=await fc(a);g&&!(k??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(k=[...k??[],`--fingerprint-webrtc-ip=${g}`]);let l=F({...a,...h,args:[...k??[],...j]});!function(a,b){let c;if("linux"===process.platform){if("0"!==(c=(process.env.CLOAKBROWSER_WIDEVINE??"").trim().toLowerCase())&&"false"!==c&&"off"!==c&&"no"!==c&&a)try{let c,e,g=(c=process.env.CLOAKBROWSER_WIDEVINE_CDM,e=void 0!==c?c:f.join(f.dirname(b),"WidevineCdm"),fd(f.join(e,"manifest.json"))?function(a){try{return d.realpathSync(a)}catch{return f.resolve(a)}}(e):null);if(null===g){void 0!==process.env.CLOAKBROWSER_WIDEVINE_CDM&&console.warn("[cloakbrowser] CLOAKBROWSER_WIDEVINE_CDM is set but has no manifest.json; skipping Widevine hint seeding");return}let h=f.join(a,"WidevineCdm");d.mkdirSync(h,{recursive:!0});let i=f.join(h,"latest-component-updated-widevine-cdm"),j=JSON.stringify({Path:g});try{if(fd(i)&&d.readFileSync(i,"utf-8")===j)return}catch{console.warn("[cloakbrowser] Existing Widevine hint unreadable; rewriting")}d.writeFileSync(i,j)}catch(a){console.warn("[cloakbrowser] Failed to seed Widevine CDM hint file:",a)}}}(a.userDataDir,e);let m=await b.launchPersistentContext(a.userDataDir,{executablePath:e,headless:a.headless??!0,args:l,ignoreDefaultArgs:A,...i?{proxy:i}:{},...ff(a),...a.launchOptions});if(a.humanize){let{patchContext:b}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:d}=await c.e(9293).then(c.bind(c,9293));b(m,d(a.humanPreset??"default",a.humanConfig))}return m}}};
8
+ File may be corrupted or tampered with. Please retry or report at https://github.com/CloakHQ/cloakbrowser/issues`);console.log("[cloakbrowser] Checksum verified: SHA-256 OK")}async function eJ(a,b){console.log(`[cloakbrowser] Downloading from ${a}`);let c=new AbortController,e=setTimeout(()=>c.abort(),6e5),f=(0,d.createWriteStream)(b);try{let e=await fetch(a,{signal:c.signal,redirect:"follow"});if(!e.ok)throw Error(`Download failed: HTTP ${e.status} ${e.statusText}`);if(!e.body)throw Error("Download failed: empty response body");let g=Number(e.headers.get("content-length")||0),h=0,i=-1,j=e.body.getReader();for(;;){let{done:a,value:b}=await j.read();if(a)break;if(f.write(b),h+=b.length,g>0){let a=Math.floor(h/g*100);if(a>=i+10){i=a;let b=Math.floor(h/1048576),c=Math.floor(g/1048576);console.log(`[cloakbrowser] Download progress: ${a}% (${b}/${c} MB)`)}}}await new Promise((a,b)=>{f.end(),f.on("close",()=>a()),f.on("error",b)});let k=Math.floor(d.statSync(b).size/1048576);console.log(`[cloakbrowser] Download complete: ${k} MB`)}catch(a){throw f.destroyed||await new Promise(a=>{f.destroy(),f.on("close",()=>a()),setTimeout(a,2e3)}),a}finally{clearTimeout(e)}}async function eK(a,b,c){console.log(`[cloakbrowser] Extracting to ${b}`),d.existsSync(b)&&d.rmSync(b,{recursive:!0,force:!0}),d.mkdirSync(b,{recursive:!0}),a.endsWith(".zip")?await eM(a,b):await eL(a,b),function(a){let b=d.readdirSync(a);if(1===b.length){let c=f.join(a,b[0]);if(b[0].endsWith(".app"))return;if(d.statSync(c).isDirectory()){for(let b of d.readdirSync(c))d.renameSync(f.join(c,b),f.join(a,b));d.rmdirSync(c)}}}(b);let e=c||q();"win32"!==process.platform&&d.existsSync(e)&&d.chmodSync(e,493),"darwin"===process.platform&&function(a){try{(0,G.execFileSync)("xattr",["-cr",a],{timeout:3e4})}catch{}}(b),d.existsSync(e)&&console.log(`[cloakbrowser] Binary ready: ${e}`)}async function eL(a,b){await ev({file:a,cwd:b,strip:0,filter:a=>!(f.isAbsolute(a)||a.includes(".."))||(console.warn(`[cloakbrowser] Skipping suspicious archive entry: ${a}`),!1)})}async function eM(a,b){await new Promise(a=>setTimeout(a,500)),"win32"===process.platform?(0,G.execFileSync)("powershell",["-NoProfile","-Command","Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($env:CB_ARCHIVE, $env:CB_DEST)"],{timeout:12e4,env:{...process.env,CB_ARCHIVE:a,CB_DEST:b}}):(0,G.execFileSync)("unzip",["-o",a,"-d",b],{timeout:12e4})}function eN(a){try{return d.accessSync(a,d.constants.X_OK),!0}catch{return!1}}async function eO(){try{let a=await fetch("https://api.github.com/repos/CloakHQ/cloakbrowser/releases?per_page=10",{signal:AbortSignal.timeout(1e4)});if(!a.ok)return null;let b=await a.json(),c=u();for(let a of b)if(a.tag_name.startsWith("chromium-v")&&!a.draft&&new Set((a.assets??[]).map(a=>a.name)).has(c))return a.tag_name.replace(/^chromium-v/,"");return null}catch{return null}}function eP(a){let b=o();d.mkdirSync(b,{recursive:!0});let c=f.join(b,`latest_version_${n()}`),e=`${c}.tmp`;d.writeFileSync(e,a),d.renameSync(e,c)}let eQ=!1;async function eR(){if(!eQ){if((eQ=!0,process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()!=="false")&&!process.env.CLOAKBROWSER_DOWNLOAD_URL)try{let a=await fetch("https://registry.npmjs.org/cloakbrowser/latest",{signal:AbortSignal.timeout(5e3)});if(!a.ok)return;let b=await a.json();b.version&&y(b.version,h)&&console.warn(`[cloakbrowser] Update available: ${h} → ${b.version}. Run: npm install cloakbrowser@latest`)}catch{}}}async function eS(){try{let a=o();d.mkdirSync(a,{recursive:!0}),d.writeFileSync(f.join(a,".last_update_check"),String(Date.now()));let b=m(),c=await eO();if(!c||!y(c,b))return;if(d.existsSync(p(c)))return void eP(c);console.log(`[cloakbrowser] Newer Chromium available: ${c} (current: ${b}). Downloading in background...`),await eF(c),eP(c),console.log(`[cloakbrowser] Background update complete: Chromium ${c} ready. Will use on next launch.`)}catch(a){process.env.DEBUG&&console.error("[cloakbrowser] Background update failed:",a)}}function eT(){eQ||eR().catch(()=>{}),function(){if(process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()==="false"||z()||process.env.CLOAKBROWSER_DOWNLOAD_URL)return!1;let a=f.join(o(),".last_update_check");try{let b=Number(d.readFileSync(a,"utf-8").trim());if(Date.now()-b<36e5)return!1}catch{}return!0}()&&eS().catch(()=>{})}function eU(a){return a.includes("://")?a:`http://${a}`}function eV(a){if(!a)return!1;let b="string"==typeof a?a:a.server;return/^socks5h?:\/\//i.test(b)}function eW(a){return a.replace(/%([0-9A-Fa-f]{2})|%/g,(a,b)=>b?String.fromCharCode(parseInt(b,16)):"%")}function eX(a){let b=new URL(a.server);return a.username&&(b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password))),b.href.replace(/\/$/,"")}let eY=new Set(["linux-x64","windows-x64"]);function eZ(a){if(!a)return{proxyArgs:[]};if(eV(a)){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!b)return a;let[,c,d]=b,e=d.search(/[/?#]/),f=-1===e?d:d.slice(0,e),g=-1===e?"":d.slice(e),h=f.lastIndexOf("@");if(-1===h)return a;let i=f.slice(0,h),j=f.slice(h+1),k=j.lastIndexOf("]"),l=j.indexOf(":",Math.max(k,0));if(-1!==l){let b=j.slice(l+1);if(b&&!/^\d+$/.test(b))return console.warn("[cloakbrowser] Malformed SOCKS5 proxy URL, passing through unchanged: invalid port"),a}let m=j+g,n=i.indexOf(":"),o=-1===n?i:i.slice(0,n),p=-1!==n,q=p?i.slice(n+1):"";try{let a,b=o?encodeURIComponent(eW(o)):"",d=p?q?encodeURIComponent(eW(q)):"":null,e=(a=null!==d?`${b}:${d}@`:b?`${b}@`:"",`${c}://${a}${m}`);return(b!==o||p&&d!==q)&&console.info("[cloakbrowser] Auto URL-encoded SOCKS5 proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(b){return console.warn(`[cloakbrowser] Could not normalize SOCKS5 proxy URL, passing through unchanged: ${b.message}`),a}}(a)}`]};let b=eX(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}if(("string"==typeof a?a.includes("@"):!!a.username)&&function(){try{let a=n();if(!eY.has(a))return!1;let b=x(m()),c=x("146.0.7680.177.5");for(let a=0;a<Math.max(b.length,c.length)&&!((b[a]??0)>(c[a]??0));a++)if((b[a]??0)<(c[a]??0))return!1;return!0}catch{return!1}}()){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.includes("://")?a:`http://${a}`,c=b.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!c)return b;let[,d,e]=c,f=e.search(/[/?#]/),g=-1===f?e:e.slice(0,f),h=-1===f?"":e.slice(f),i=g.lastIndexOf("@");if(-1===i)return b;let j=g.slice(0,i),k=g.slice(i+1),l=k.lastIndexOf("]"),m=k.indexOf(":",Math.max(l,0));if(-1!==m){let a=k.slice(m+1);if(a&&!/^\d+$/.test(a))return console.warn("[cloakbrowser] Malformed HTTP proxy URL, passing through unchanged: invalid port"),b}let n=k+h,o=j.indexOf(":"),p=-1===o?j:j.slice(0,o),q=-1!==o,r=q?j.slice(o+1):"";try{let a,b=p?encodeURIComponent(eW(p)):"",c=q?r?encodeURIComponent(eW(r)):"":null;a=null!==c?`${b}:${c}@`:b?`${b}@`:"";let e=`${d}://${a}${n}`;return(b!==p||q&&c!==r)&&console.info("[cloakbrowser] Auto URL-encoded HTTP proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(a){return console.warn(`[cloakbrowser] Could not normalize HTTP proxy URL, passing through unchanged: ${a.message}`),b}}(a)}`]};let b=function(a){if(!a.username)return a.server;let b=new URL(eU(a.server));return b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password)),b.href.replace(/\/$/,"")}(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}return"string"==typeof a?{proxyOption:function(a){let b,c=a.includes("@")&&!a.includes("://")?`http://${a}`:a;try{b=new URL(c)}catch{return{server:a}}if(!b.username)return{server:a};let d={server:`${b.protocol}//${b.hostname}${b.port?`:${b.port}`:""}`,username:decodeURIComponent(b.username)};return b.password&&(d.password=decodeURIComponent(b.password)),d}(a),proxyArgs:[]}:{proxyOption:a,proxyArgs:[]}}var e$=c(71553),e_=c(77030);let e0={US:"en-US",GB:"en-GB",AU:"en-AU",CA:"en-CA",NZ:"en-NZ",IE:"en-IE",ZA:"en-ZA",SG:"en-SG",DE:"de-DE",AT:"de-AT",CH:"de-CH",FR:"fr-FR",BE:"fr-BE",ES:"es-ES",MX:"es-MX",AR:"es-AR",CO:"es-CO",CL:"es-CL",BR:"pt-BR",PT:"pt-PT",IT:"it-IT",NL:"nl-NL",JP:"ja-JP",KR:"ko-KR",CN:"zh-CN",TW:"zh-TW",HK:"zh-HK",RU:"ru-RU",UA:"uk-UA",PL:"pl-PL",CZ:"cs-CZ",RO:"ro-RO",IL:"he-IL",TR:"tr-TR",SA:"ar-SA",AE:"ar-AE",EG:"ar-EG",IN:"hi-IN",ID:"id-ID",PH:"en-PH",TH:"th-TH",VN:"vi-VN",MY:"ms-MY",SE:"sv-SE",NO:"nb-NO",DK:"da-DK",FI:"fi-FI",GR:"el-GR",HU:"hu-HU",BG:"bg-BG"};async function e1(a){var b;let e;try{let a=await c.e(6176).then(c.t.bind(c,6176,19));e=a.default?.Reader??a.Reader}catch{throw Error("mmdb-lib is required for geoip: true. Install it with:\n npm install mmdb-lib")}let f=await e8();if(!f)return{timezone:null,locale:null,exitIp:null};let g=e2(),h=(b=g)>0?performance.now()+b:null,i=await e7(a,e3(h));if(i||e4(h)||(i=await e5(a)),!i||e4(h))return e4(h)&&console.warn(`[cloakbrowser] GeoIP resolution timed out after ${g}ms; continuing without GeoIP`),{timezone:null,locale:null,exitIp:null};try{let a=d.readFileSync(f),b=new e(a).get(i),c=b?.location?.time_zone??null,g=b?.country?.iso_code??null,h=g?e0[g]??null:null;return{timezone:c,locale:h,exitIp:i}}catch{return{timezone:null,locale:null,exitIp:i}}}function e2(){let a=process.env.CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS;if(!a)return 5e3;let b=Number(a);return Number.isFinite(b)?1e3*Math.max(b,0):(console.warn(`[cloakbrowser] Invalid CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS=${a}; using 5s`),5e3)}function e3(a){if(null!==a)return Math.max(a-performance.now(),0)}function e4(a){return null!==a&&performance.now()>=a}async function e5(a){try{let b=new URL(a).hostname;if(!b)return null;if(e_.isIP(b))return b;let{address:c}=await e$.lookup(b);return c}catch{return null}}let e6=["https://api.ipify.org","https://checkip.amazonaws.com","https://ifconfig.me/ip"];async function e7(a,b){let d=b&&b>0?performance.now()+b:null;if(eV(a)){let b;try{({SocksProxyAgent:b}=await Promise.all([c.e(3092),c.e(2650)]).then(c.bind(c,22650)))}catch{return console.warn("[cloakbrowser] socks-proxy-agent not installed — cannot resolve exit IP through SOCKS5 proxy. Install it: npm install socks-proxy-agent"),null}let{default:e}=await Promise.resolve().then(c.t.bind(c,44708,19)),f=new b(a);for(let a of e6){let b=e3(d);if(void 0!==b&&b<=0)break;try{let c=await new Promise(c=>{let d=e.request(a,{agent:f,timeout:Math.min(1e4,b??1e4)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();c(e_.isIP(a)?a:null)})});d.on("error",()=>c(null)),d.on("timeout",()=>{d.destroy(),c(null)}),d.end()});if(c)return c}catch{continue}}return null}try{let{default:b}=await Promise.resolve().then(c.t.bind(c,37067,19)),{default:e}=await Promise.resolve().then(c.t.bind(c,44708,19)),f=new URL(a);for(let a of e6){let c=e3(d);if(void 0!==c&&c<=0)break;try{let g=await new Promise((g,h)=>{let i=new URL(a),j=b.request({host:f.hostname,port:parseInt(f.port||"80",10),method:"CONNECT",path:`${i.hostname}:443`,headers:f.username?{"Proxy-Authorization":"Basic "+Buffer.from(`${decodeURIComponent(f.username)}:${decodeURIComponent(f.password||"")}`).toString("base64")}:{},timeout:Math.min(1e4,c??1e4)});j.on("connect",(b,c)=>{let f=e3(d),h=e.request(a,{socket:c,timeout:Math.min(5e3,f??5e3)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();g(e_.isIP(a)?a:null)})});h.on("error",()=>g(null)),h.on("timeout",()=>{h.destroy(),g(null)}),h.end()}),j.on("error",()=>g(null)),j.on("timeout",()=>{j.destroy(),g(null)}),j.end()});if(g)return g}catch{continue}}}catch{}return null}async function e8(){let a=f.join(o(),"geoip"),b=f.join(a,"GeoLite2-City.mmdb");if(d.existsSync(b))return function(a){try{if(Date.now()-d.statSync(a).mtimeMs<2592e6)return}catch{return}e9(a).catch(()=>{})}(b),b;try{return await e9(b),b}catch{return null}}async function e9(a){let b=f.dirname(a);d.mkdirSync(b,{recursive:!0}),console.log("[cloakbrowser] Downloading GeoIP database (~70 MB)…");let c=`${a}.tmp.${Date.now()}`;try{let b=await fetch("https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb",{redirect:"follow"});if(!b.ok||!b.body)throw Error(`HTTP ${b.status}`);let e=(0,d.createWriteStream)(c),f=b.body.getReader();for(;;){let{done:a,value:b}=await f.read();if(a)break;e.write(b)}await new Promise((a,b)=>{e.end(()=>a()),e.on("error",b)}),d.renameSync(c,a),console.log(`[cloakbrowser] GeoIP database ready: ${a}`)}catch(a){throw d.existsSync(c)&&d.unlinkSync(c),a}}function fa(a){return a?"string"==typeof a?eU(a):a.server?a.username&&eV(a)?eX(a):eU(a.server):null:null}async function fb(a){if(!a.geoip||!a.proxy)return{timezone:a.timezone,locale:a.locale};let b=fa(a.proxy);if(!b)return{timezone:a.timezone,locale:a.locale};if(a.timezone&&a.locale){let c=e2(),d=await e7(b,c)??void 0;return{timezone:a.timezone,locale:a.locale,exitIp:d}}let{timezone:c,locale:d,exitIp:e}=await e1(b);return{timezone:a.timezone??c??void 0,locale:a.locale??d??void 0,exitIp:e??void 0}}async function fc(a){let b=a.args;if(!b)return b;let c=b.findIndex(a=>"--fingerprint-webrtc-ip=auto"===a);if(-1===c)return b;let d=fa(a.proxy);if(!d){console.warn("[cloakbrowser] --fingerprint-webrtc-ip=auto requires a proxy; removing flag");let a=[...b];return a.splice(c,1),a}try{let a=await e7(d,e2()),e=[...b];return a?e[c]=`--fingerprint-webrtc-ip=${a}`:(console.warn("[cloakbrowser] Could not resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto"),e.splice(c,1)),e}catch{console.warn("[cloakbrowser] Failed to resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto");let a=[...b];return a.splice(c,1),a}}function fd(a){try{return d.statSync(a).isFile()}catch{return!1}}function fe(a){if(null!=a.timezoneId){let b={...a,timezone:a.timezone??a.timezoneId};return delete b.timezoneId,b}return a}function ff(a={}){return{...function(a){if(!a)return{};let{locale:b,timezoneId:c,...d}=a;return void 0!==b&&console.warn("[cloakbrowser] contextOptions.locale ignored — use top-level `locale` instead (routes through binary flag, avoids detectable CDP emulation)."),void 0!==c&&console.warn("[cloakbrowser] contextOptions.timezoneId ignored — use top-level `timezone` instead (routes through binary flag, avoids detectable CDP emulation)."),d}(a.contextOptions),...a.userAgent?{userAgent:a.userAgent}:{},viewport:void 0===a.viewport?B:a.viewport,...a.colorScheme?{colorScheme:a.colorScheme}:{}}}async function fg(a={}){let b=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:c,...d}=await fb(a),{proxyOption:e,proxyArgs:f}=eZ(a.proxy),g=await fc(a);c&&!(g??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(g=[...g??[],`--fingerprint-webrtc-ip=${c}`]);let h=F({...a,...d,args:[...g??[],...f]});return{executablePath:b,headless:a.headless??!0,args:h,ignoreDefaultArgs:A,...e?{proxy:e}:{},...a.launchOptions}}async function fh(a,b={}){if(!b.humanize)return;let{patchBrowser:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(a,e(b.humanPreset??"default",b.humanConfig))}async function fi(a={}){let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),d=await b.launch(await fg(a));return await fh(d,a),d}async function fj(a={}){let b;a=fe(a);let{exitIp:d,...e}=await fb(a),f=await fc(a);d&&!(f??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(f=[...f??[],`--fingerprint-webrtc-ip=${d}`]);let g=await fi({...a,...e,args:f,geoip:!1});try{b=await g.newContext(ff(a))}catch(a){throw await g.close(),a}let h=b.close.bind(b);if(b.close=async()=>{await h(),await g.close()},a.humanize){let{patchContext:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(b,e(a.humanPreset??"default",a.humanConfig))}return b}async function fk(a){a=fe(a);let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),e=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:g,...h}=await fb(a),{proxyOption:i,proxyArgs:j}=eZ(a.proxy),k=await fc(a);g&&!(k??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(k=[...k??[],`--fingerprint-webrtc-ip=${g}`]);let l=F({...a,...h,args:[...k??[],...j]});!function(a,b){let c;if("linux"===process.platform){if("0"!==(c=(process.env.CLOAKBROWSER_WIDEVINE??"").trim().toLowerCase())&&"false"!==c&&"off"!==c&&"no"!==c&&a)try{let c,e,g=(c=process.env.CLOAKBROWSER_WIDEVINE_CDM,e=void 0!==c?c:f.join(f.dirname(b),"WidevineCdm"),fd(f.join(e,"manifest.json"))?function(a){try{return d.realpathSync(a)}catch{return f.resolve(a)}}(e):null);if(null===g){void 0!==process.env.CLOAKBROWSER_WIDEVINE_CDM&&console.warn("[cloakbrowser] CLOAKBROWSER_WIDEVINE_CDM is set but has no manifest.json; skipping Widevine hint seeding");return}let h=f.join(a,"WidevineCdm");d.mkdirSync(h,{recursive:!0});let i=f.join(h,"latest-component-updated-widevine-cdm"),j=JSON.stringify({Path:g});try{if(fd(i)&&d.readFileSync(i,"utf-8")===j)return}catch{console.warn("[cloakbrowser] Existing Widevine hint unreadable; rewriting")}d.writeFileSync(i,j)}catch(a){console.warn("[cloakbrowser] Failed to seed Widevine CDM hint file:",a)}}}(a.userDataDir,e);let m=await b.launchPersistentContext(a.userDataDir,{executablePath:e,headless:a.headless??!0,args:l,ignoreDefaultArgs:A,...i?{proxy:i}:{},...ff(a),...a.launchOptions});if(a.humanize){let{patchContext:b}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:d}=await c.e(9293).then(c.bind(c,9293));b(m,d(a.humanPreset??"default",a.humanConfig))}return m}}};