n9router 0.4.63 → 0.4.65

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 (545) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +20 -20
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/prerender-manifest.json +27 -27
  5. package/app/.next/required-server-files.json +5 -1
  6. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  70. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  71. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  72. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  73. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  74. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  75. package/app/.next/server/app/_global-error/page.js.nft.json +1 -1
  76. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  77. package/app/.next/server/app/_global-error.html +1 -1
  78. package/app/.next/server/app/_global-error.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  81. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/app/.next/server/app/_not-found/page.js +1 -1
  83. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  84. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  85. package/app/.next/server/app/_not-found.html +1 -1
  86. package/app/.next/server/app/_not-found.rsc +2 -2
  87. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  88. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  89. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  90. package/app/.next/server/app/api/antigravity-app/route.js.nft.json +1 -1
  91. package/app/.next/server/app/api/antigravity-app-v2/route.js.nft.json +1 -1
  92. package/app/.next/server/app/api/antigravity-ide/route.js.nft.json +1 -1
  93. package/app/.next/server/app/api/antigravity-targets/route.js.nft.json +1 -1
  94. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  95. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  96. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  97. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  99. package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  100. package/app/.next/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  101. package/app/.next/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  102. package/app/.next/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  103. package/app/.next/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  106. package/app/.next/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  107. package/app/.next/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  108. package/app/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  109. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +5 -5
  110. package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  112. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  114. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  115. package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  116. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +1 -1
  117. package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  118. package/app/.next/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  119. package/app/.next/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  120. package/app/.next/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  121. package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  122. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  123. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  124. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  125. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  126. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  127. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  128. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  129. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  130. package/app/.next/server/app/api/cli-tools/crush-settings/route.js +2 -2
  131. package/app/.next/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/events/route.js.nft.json +1 -1
  133. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/sudo/route.js.nft.json +1 -1
  134. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/route.js.nft.json +1 -1
  135. package/app/.next/server/app/api/cli-tools/cursor-byok/route.js.nft.json +1 -1
  136. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  137. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  138. package/app/.next/server/app/api/cli-tools/devin-settings/route.js +1 -1
  139. package/app/.next/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  140. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  141. package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  142. package/app/.next/server/app/api/cli-tools/forge-settings/route.js +1 -1
  143. package/app/.next/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  144. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  145. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  146. package/app/.next/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  147. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  148. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  149. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  150. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  151. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  152. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  153. package/app/.next/server/app/api/cli-tools/omp-settings/route.js +2 -2
  154. package/app/.next/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  156. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  157. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  158. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  159. package/app/.next/server/app/api/cli-tools/pi-settings/route.js +2 -2
  160. package/app/.next/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  162. package/app/.next/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  164. package/app/.next/server/app/api/combos/presets/route.js.nft.json +1 -1
  165. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  166. package/app/.next/server/app/api/donate/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/headroom/extras/route.js.nft.json +1 -1
  168. package/app/.next/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/headroom/restart/route.js.nft.json +1 -1
  170. package/app/.next/server/app/api/headroom/start/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/headroom/status/route.js.nft.json +1 -1
  172. package/app/.next/server/app/api/headroom/stop/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/health/route.js.nft.json +1 -1
  174. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/internal/account-health/route.js.nft.json +1 -1
  176. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  177. package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
  178. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  179. package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
  180. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  181. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
  182. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  183. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  184. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  185. package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
  186. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  187. package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
  188. package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  190. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  192. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  194. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  196. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  198. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  199. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  200. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  201. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  202. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  203. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  204. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  205. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  206. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  207. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  208. package/app/.next/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  210. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  212. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  213. package/app/.next/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  215. package/app/.next/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  216. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  218. package/app/.next/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  219. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  220. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  222. package/app/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  223. package/app/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  224. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  225. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  226. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  227. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  228. package/app/.next/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/oauth/zed/import/route.js +1 -1
  230. package/app/.next/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  231. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  232. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  233. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  234. package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  235. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  236. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  237. package/app/.next/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  238. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  239. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  240. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  241. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  242. package/app/.next/server/app/api/providers/client/route.js +1 -1
  243. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  244. package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  245. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  246. package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  247. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  248. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  249. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  250. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/providers/web-login/route.js +1 -1
  252. package/app/.next/server/app/api/providers/web-login/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  254. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  255. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  256. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  258. package/app/.next/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  259. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  260. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  261. package/app/.next/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  262. package/app/.next/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  263. package/app/.next/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  264. package/app/.next/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  266. package/app/.next/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  268. package/app/.next/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  270. package/app/.next/server/app/api/settings/database/selective/route.js.nft.json +1 -1
  271. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  272. package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  273. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  274. package/app/.next/server/app/api/settings/route.js +1 -1
  275. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  276. package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/tags/route.js.nft.json +1 -1
  278. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  279. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  280. package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
  281. package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
  282. package/app/.next/server/app/api/translator/send/route.js +1 -1
  283. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  284. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  285. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  286. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  287. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  288. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  289. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  290. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  292. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  293. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  294. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  295. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  296. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  297. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  298. package/app/.next/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  299. package/app/.next/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  300. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  301. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  302. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  303. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  304. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  305. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  306. package/app/.next/server/app/api/usage/history/route.js +1 -1
  307. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  308. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  309. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  310. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  311. package/app/.next/server/app/api/usage/report/route.js +1 -1
  312. package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
  313. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  314. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  315. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  316. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  317. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  318. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  319. package/app/.next/server/app/api/usage/stream/route.js +1 -1
  320. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  321. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  322. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  323. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  324. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  325. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  326. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  327. package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  328. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  329. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  330. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  331. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  332. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  333. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  334. package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  335. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  336. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  337. package/app/.next/server/app/api/v1/models/[...model]/route.js +1 -1
  338. package/app/.next/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  339. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  340. package/app/.next/server/app/api/v1/models/route.js +1 -1
  341. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  342. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  343. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  344. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  345. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  346. package/app/.next/server/app/api/v1/route.js +1 -1
  347. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  348. package/app/.next/server/app/api/v1/search/route.js +1 -1
  349. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  350. package/app/.next/server/app/api/v1/systemone/route.js +1 -1
  351. package/app/.next/server/app/api/v1/systemone/route.js.nft.json +1 -1
  352. package/app/.next/server/app/api/v1/videos/[id]/route.js +1 -1
  353. package/app/.next/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  354. package/app/.next/server/app/api/v1/videos/edits/route.js +1 -1
  355. package/app/.next/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  356. package/app/.next/server/app/api/v1/videos/extensions/route.js +1 -1
  357. package/app/.next/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  358. package/app/.next/server/app/api/v1/videos/generations/route.js +1 -1
  359. package/app/.next/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  360. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  361. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  362. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  363. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  364. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  365. package/app/.next/server/app/api/version/route.js +1 -1
  366. package/app/.next/server/app/api/version/route.js.nft.json +1 -1
  367. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
  368. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  369. package/app/.next/server/app/callback/page.js +1 -1
  370. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  371. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  372. package/app/.next/server/app/callback.html +1 -1
  373. package/app/.next/server/app/callback.rsc +2 -2
  374. package/app/.next/server/app/callback.segments/_full.segment.rsc +2 -2
  375. package/app/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
  376. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  377. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  378. package/app/.next/server/app/dashboard/basic-chat.rsc +2 -2
  379. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  380. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +2 -2
  381. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  382. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  383. package/app/.next/server/app/dashboard/cli-tools.rsc +2 -2
  384. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  385. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +2 -2
  386. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  387. package/app/.next/server/app/dashboard/combos.html +1 -1
  388. package/app/.next/server/app/dashboard/combos.rsc +2 -2
  389. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  390. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +2 -2
  391. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  392. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  393. package/app/.next/server/app/dashboard/endpoint.rsc +2 -2
  394. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  395. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +2 -2
  396. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  397. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  398. package/app/.next/server/app/dashboard/media-providers/web.rsc +2 -2
  399. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  400. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +2 -2
  401. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  402. package/app/.next/server/app/dashboard/mitm.html +1 -1
  403. package/app/.next/server/app/dashboard/mitm.rsc +2 -2
  404. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  405. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +2 -2
  406. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  407. package/app/.next/server/app/dashboard/profile.html +1 -1
  408. package/app/.next/server/app/dashboard/profile.rsc +2 -2
  409. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  410. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +2 -2
  411. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  412. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  413. package/app/.next/server/app/dashboard/providers/new.rsc +2 -2
  414. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  415. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +2 -2
  416. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  417. package/app/.next/server/app/dashboard/providers.html +1 -1
  418. package/app/.next/server/app/dashboard/providers.rsc +2 -2
  419. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  420. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +2 -2
  421. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  422. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  423. package/app/.next/server/app/dashboard/proxy-pools.rsc +2 -2
  424. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  425. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +2 -2
  426. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  427. package/app/.next/server/app/dashboard/pxpipe.html +1 -1
  428. package/app/.next/server/app/dashboard/pxpipe.rsc +2 -2
  429. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  430. package/app/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +2 -2
  431. package/app/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  432. package/app/.next/server/app/dashboard/quota.html +1 -1
  433. package/app/.next/server/app/dashboard/quota.rsc +2 -2
  434. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +2 -2
  435. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +2 -2
  436. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  437. package/app/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  438. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  439. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  440. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  441. package/app/.next/server/app/dashboard/settings/pricing.rsc +2 -2
  442. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +2 -2
  443. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  444. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  445. package/app/.next/server/app/dashboard/skills.html +1 -1
  446. package/app/.next/server/app/dashboard/skills.rsc +2 -2
  447. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  448. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +2 -2
  449. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  450. package/app/.next/server/app/dashboard/token-saver.html +1 -1
  451. package/app/.next/server/app/dashboard/token-saver.rsc +2 -2
  452. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  453. package/app/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +2 -2
  454. package/app/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  455. package/app/.next/server/app/dashboard/translator.html +1 -1
  456. package/app/.next/server/app/dashboard/translator.rsc +2 -2
  457. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  458. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +2 -2
  459. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  460. package/app/.next/server/app/dashboard/usage.html +1 -1
  461. package/app/.next/server/app/dashboard/usage.rsc +2 -2
  462. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  463. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +2 -2
  464. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  465. package/app/.next/server/app/dashboard.html +1 -1
  466. package/app/.next/server/app/dashboard.rsc +2 -2
  467. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  468. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +2 -2
  469. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  470. package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  471. package/app/.next/server/app/index.html +1 -1
  472. package/app/.next/server/app/index.rsc +2 -2
  473. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  474. package/app/.next/server/app/index.segments/_full.segment.rsc +2 -2
  475. package/app/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  476. package/app/.next/server/app/landing/page.js +1 -1
  477. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  478. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  479. package/app/.next/server/app/landing.html +1 -1
  480. package/app/.next/server/app/landing.rsc +2 -2
  481. package/app/.next/server/app/landing.segments/_full.segment.rsc +2 -2
  482. package/app/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
  483. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  484. package/app/.next/server/app/login/page.js +1 -1
  485. package/app/.next/server/app/login/page.js.nft.json +1 -1
  486. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  487. package/app/.next/server/app/login.html +1 -1
  488. package/app/.next/server/app/login.rsc +2 -2
  489. package/app/.next/server/app/login.segments/_full.segment.rsc +2 -2
  490. package/app/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  491. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  492. package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  493. package/app/.next/server/app/page.js +1 -1
  494. package/app/.next/server/app/page.js.nft.json +1 -1
  495. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  496. package/app/.next/server/app-paths-manifest.json +20 -20
  497. package/app/.next/server/chunks/1051.js +1 -1
  498. package/app/.next/server/chunks/1297.js +1 -1
  499. package/app/.next/server/chunks/1350.js +1 -1
  500. package/app/.next/server/chunks/1505.js +1 -1
  501. package/app/.next/server/chunks/4334.js +1 -1
  502. package/app/.next/server/chunks/5330.js +1 -1
  503. package/app/.next/server/chunks/5520.js +1 -1
  504. package/app/.next/server/chunks/574.js +1 -1
  505. package/app/.next/server/chunks/6297.js +1 -1
  506. package/app/.next/server/chunks/7373.js +2 -2
  507. package/app/.next/server/chunks/7525.js +1 -1
  508. package/app/.next/server/chunks/7774.js +2 -2
  509. package/app/.next/server/chunks/7995.js +2 -2
  510. package/app/.next/server/chunks/8467.js +1 -1
  511. package/app/.next/server/chunks/869.js +1 -1
  512. package/app/.next/server/chunks/9819.js +2 -2
  513. package/app/.next/server/chunks/9889.js +1 -1
  514. package/app/.next/server/middleware-build-manifest.js +1 -1
  515. package/app/.next/server/middleware.js +3 -3
  516. package/app/.next/server/pages/404.html +1 -1
  517. package/app/.next/server/pages/500.html +1 -1
  518. package/app/.next/server/preview-props.json +3 -3
  519. package/app/.next/server/server-reference-manifest.js +1 -1
  520. package/app/.next/server/server-reference-manifest.json +1 -1
  521. package/app/.next/static/chunks/{1321-59ad1a50ce10d9fa.js → 1321-d27fdabccc7c8db1.js} +1 -1
  522. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-50da140812e2c8ab.js → page-118c90b3a74f35e8.js} +1 -1
  523. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-7f4cf15089a43031.js → page-310c475a29336f25.js} +1 -1
  524. package/app/open-sse/handlers/systemoneCore.js +4 -3
  525. package/app/open-sse/translator/formats/openai.js +3 -2
  526. package/app/package.json +1 -1
  527. package/app/server.js +1 -1
  528. package/app/src/shared/constants/cliTools.js +637 -0
  529. package/app/src/shared/constants/colors.js +77 -0
  530. package/app/src/shared/constants/config.js +109 -0
  531. package/app/src/shared/constants/coworkPlugins.js +72 -0
  532. package/app/src/shared/constants/index.js +4 -0
  533. package/app/src/shared/constants/keyAccess.js +24 -0
  534. package/app/src/shared/constants/locales.js +38 -0
  535. package/app/src/shared/constants/mitmToolHosts.js +12 -0
  536. package/app/src/shared/constants/models.js +67 -0
  537. package/app/src/shared/constants/monaco.js +7 -0
  538. package/app/src/shared/constants/providers.js +168 -0
  539. package/app/src/shared/constants/providersDisplay.js +12 -0
  540. package/app/src/shared/constants/skills.js +85 -0
  541. package/app/src/shared/constants/ttsProviders.js +172 -0
  542. package/package.json +1 -1
  543. /package/app/.next/static/{csQnh_24N6xB5-kHxlTYo → S3oFaxLaFfMwLvf7CPdyV}/_buildManifest.js +0 -0
  544. /package/app/.next/static/{csQnh_24N6xB5-kHxlTYo → S3oFaxLaFfMwLvf7CPdyV}/_ssgManifest.js +0 -0
  545. /package/app/{lib → src/lib}/dbFileSafety.js +0 -0
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/fast-jwt/index.js","../../../../../../node_modules/next/dist/compiled/fast-jwt/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/2970.js","../../../../chunks/6070.js","../../../../chunks/6844.js","../../../../chunks/7502.js","../../../../chunks/866.js","../../../../chunks/869.js","../../../../chunks/8838.js","../../../../chunks/8920.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/undici/docs/docs/api/Agent.md","../../../../../../node_modules/undici/docs/docs/api/api-lifecycle.md","../../../../../../node_modules/undici/docs/docs/api/BalancedPool.md","../../../../../../node_modules/undici/docs/docs/api/CacheStorage.md","../../../../../../node_modules/undici/docs/docs/api/CacheStore.md","../../../../../../node_modules/undici/docs/docs/api/Client.md","../../../../../../node_modules/undici/docs/docs/api/ClientStats.md","../../../../../../node_modules/undici/docs/docs/api/Connector.md","../../../../../../node_modules/undici/docs/docs/api/ContentType.md","../../../../../../node_modules/undici/docs/docs/api/Cookies.md","../../../../../../node_modules/undici/docs/docs/api/Debug.md","../../../../../../node_modules/undici/docs/docs/api/DiagnosticsChannel.md","../../../../../../node_modules/undici/docs/docs/api/Dispatcher.md","../../../../../../node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/Errors.md","../../../../../../node_modules/undici/docs/docs/api/EventSource.md","../../../../../../node_modules/undici/docs/docs/api/Fetch.md","../../../../../../node_modules/undici/docs/docs/api/GlobalInstallation.md","../../../../../../node_modules/undici/docs/docs/api/H2CClient.md","../../../../../../node_modules/undici/docs/docs/api/MockAgent.md","../../../../../../node_modules/undici/docs/docs/api/MockCallHistory.md","../../../../../../node_modules/undici/docs/docs/api/MockCallHistoryLog.md","../../../../../../node_modules/undici/docs/docs/api/MockClient.md","../../../../../../node_modules/undici/docs/docs/api/MockErrors.md","../../../../../../node_modules/undici/docs/docs/api/MockPool.md","../../../../../../node_modules/undici/docs/docs/api/Pool.md","../../../../../../node_modules/undici/docs/docs/api/PoolStats.md","../../../../../../node_modules/undici/docs/docs/api/ProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/RedirectHandler.md","../../../../../../node_modules/undici/docs/docs/api/RetryAgent.md","../../../../../../node_modules/undici/docs/docs/api/RetryHandler.md","../../../../../../node_modules/undici/docs/docs/api/RoundRobinPool.md","../../../../../../node_modules/undici/docs/docs/api/SnapshotAgent.md","../../../../../../node_modules/undici/docs/docs/api/Socks5ProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/Util.md","../../../../../../node_modules/undici/docs/docs/api/WebSocket.md","../../../../../../node_modules/undici/docs/docs/best-practices/client-certificate.md","../../../../../../node_modules/undici/docs/docs/best-practices/crawling.md","../../../../../../node_modules/undici/docs/docs/best-practices/mocking-request.md","../../../../../../node_modules/undici/docs/docs/best-practices/proxy.md","../../../../../../node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md","../../../../../../node_modules/undici/docs/docs/best-practices/writing-tests.md","../../../../../../node_modules/undici/index-fetch.js","../../../../../../node_modules/undici/index.d.ts","../../../../../../node_modules/undici/index.js","../../../../../../node_modules/undici/lib/api/abort-signal.js","../../../../../../node_modules/undici/lib/api/api-connect.js","../../../../../../node_modules/undici/lib/api/api-pipeline.js","../../../../../../node_modules/undici/lib/api/api-request.js","../../../../../../node_modules/undici/lib/api/api-stream.js","../../../../../../node_modules/undici/lib/api/api-upgrade.js","../../../../../../node_modules/undici/lib/api/index.js","../../../../../../node_modules/undici/lib/api/readable.js","../../../../../../node_modules/undici/lib/cache/memory-cache-store.js","../../../../../../node_modules/undici/lib/cache/sqlite-cache-store.js","../../../../../../node_modules/undici/lib/core/connect.js","../../../../../../node_modules/undici/lib/core/constants.js","../../../../../../node_modules/undici/lib/core/diagnostics.js","../../../../../../node_modules/undici/lib/core/errors.js","../../../../../../node_modules/undici/lib/core/request.js","../../../../../../node_modules/undici/lib/core/socks5-client.js","../../../../../../node_modules/undici/lib/core/socks5-utils.js","../../../../../../node_modules/undici/lib/core/symbols.js","../../../../../../node_modules/undici/lib/core/tree.js","../../../../../../node_modules/undici/lib/core/util.js","../../../../../../node_modules/undici/lib/dispatcher/agent.js","../../../../../../node_modules/undici/lib/dispatcher/balanced-pool.js","../../../../../../node_modules/undici/lib/dispatcher/client-h1.js","../../../../../../node_modules/undici/lib/dispatcher/client-h2.js","../../../../../../node_modules/undici/lib/dispatcher/client.js","../../../../../../node_modules/undici/lib/dispatcher/dispatcher-base.js","../../../../../../node_modules/undici/lib/dispatcher/dispatcher.js","../../../../../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js","../../../../../../node_modules/undici/lib/dispatcher/fixed-queue.js","../../../../../../node_modules/undici/lib/dispatcher/h2c-client.js","../../../../../../node_modules/undici/lib/dispatcher/pool-base.js","../../../../../../node_modules/undici/lib/dispatcher/pool.js","../../../../../../node_modules/undici/lib/dispatcher/proxy-agent.js","../../../../../../node_modules/undici/lib/dispatcher/retry-agent.js","../../../../../../node_modules/undici/lib/dispatcher/round-robin-pool.js","../../../../../../node_modules/undici/lib/dispatcher/socks5-proxy-agent.js","../../../../../../node_modules/undici/lib/encoding/index.js","../../../../../../node_modules/undici/lib/global.js","../../../../../../node_modules/undici/lib/handler/cache-handler.js","../../../../../../node_modules/undici/lib/handler/cache-revalidation-handler.js","../../../../../../node_modules/undici/lib/handler/decorator-handler.js","../../../../../../node_modules/undici/lib/handler/deduplication-handler.js","../../../../../../node_modules/undici/lib/handler/redirect-handler.js","../../../../../../node_modules/undici/lib/handler/retry-handler.js","../../../../../../node_modules/undici/lib/handler/unwrap-handler.js","../../../../../../node_modules/undici/lib/handler/wrap-handler.js","../../../../../../node_modules/undici/lib/interceptor/cache.js","../../../../../../node_modules/undici/lib/interceptor/decompress.js","../../../../../../node_modules/undici/lib/interceptor/deduplicate.js","../../../../../../node_modules/undici/lib/interceptor/dns.js","../../../../../../node_modules/undici/lib/interceptor/dump.js","../../../../../../node_modules/undici/lib/interceptor/redirect.js","../../../../../../node_modules/undici/lib/interceptor/response-error.js","../../../../../../node_modules/undici/lib/interceptor/retry.js","../../../../../../node_modules/undici/lib/llhttp/.gitkeep","../../../../../../node_modules/undici/lib/llhttp/constants.d.ts","../../../../../../node_modules/undici/lib/llhttp/constants.js","../../../../../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js","../../../../../../node_modules/undici/lib/llhttp/llhttp-wasm.js","../../../../../../node_modules/undici/lib/llhttp/utils.d.ts","../../../../../../node_modules/undici/lib/llhttp/utils.js","../../../../../../node_modules/undici/lib/mock/mock-agent.js","../../../../../../node_modules/undici/lib/mock/mock-call-history.js","../../../../../../node_modules/undici/lib/mock/mock-client.js","../../../../../../node_modules/undici/lib/mock/mock-errors.js","../../../../../../node_modules/undici/lib/mock/mock-interceptor.js","../../../../../../node_modules/undici/lib/mock/mock-pool.js","../../../../../../node_modules/undici/lib/mock/mock-symbols.js","../../../../../../node_modules/undici/lib/mock/mock-utils.js","../../../../../../node_modules/undici/lib/mock/pending-interceptors-formatter.js","../../../../../../node_modules/undici/lib/mock/snapshot-agent.js","../../../../../../node_modules/undici/lib/mock/snapshot-recorder.js","../../../../../../node_modules/undici/lib/mock/snapshot-utils.js","../../../../../../node_modules/undici/lib/util/cache.js","../../../../../../node_modules/undici/lib/util/date.js","../../../../../../node_modules/undici/lib/util/promise.js","../../../../../../node_modules/undici/lib/util/runtime-features.js","../../../../../../node_modules/undici/lib/util/stats.js","../../../../../../node_modules/undici/lib/util/timers.js","../../../../../../node_modules/undici/lib/web/cache/cache.js","../../../../../../node_modules/undici/lib/web/cache/cachestorage.js","../../../../../../node_modules/undici/lib/web/cache/util.js","../../../../../../node_modules/undici/lib/web/cookies/constants.js","../../../../../../node_modules/undici/lib/web/cookies/index.js","../../../../../../node_modules/undici/lib/web/cookies/parse.js","../../../../../../node_modules/undici/lib/web/cookies/util.js","../../../../../../node_modules/undici/lib/web/eventsource/eventsource-stream.js","../../../../../../node_modules/undici/lib/web/eventsource/eventsource.js","../../../../../../node_modules/undici/lib/web/eventsource/util.js","../../../../../../node_modules/undici/lib/web/fetch/body.js","../../../../../../node_modules/undici/lib/web/fetch/constants.js","../../../../../../node_modules/undici/lib/web/fetch/data-url.js","../../../../../../node_modules/undici/lib/web/fetch/formdata-parser.js","../../../../../../node_modules/undici/lib/web/fetch/formdata.js","../../../../../../node_modules/undici/lib/web/fetch/global.js","../../../../../../node_modules/undici/lib/web/fetch/headers.js","../../../../../../node_modules/undici/lib/web/fetch/index.js","../../../../../../node_modules/undici/lib/web/fetch/LICENSE","../../../../../../node_modules/undici/lib/web/fetch/request.js","../../../../../../node_modules/undici/lib/web/fetch/response.js","../../../../../../node_modules/undici/lib/web/fetch/util.js","../../../../../../node_modules/undici/lib/web/infra/index.js","../../../../../../node_modules/undici/lib/web/subresource-integrity/Readme.md","../../../../../../node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js","../../../../../../node_modules/undici/lib/web/webidl/index.js","../../../../../../node_modules/undici/lib/web/websocket/connection.js","../../../../../../node_modules/undici/lib/web/websocket/constants.js","../../../../../../node_modules/undici/lib/web/websocket/events.js","../../../../../../node_modules/undici/lib/web/websocket/frame.js","../../../../../../node_modules/undici/lib/web/websocket/permessage-deflate.js","../../../../../../node_modules/undici/lib/web/websocket/receiver.js","../../../../../../node_modules/undici/lib/web/websocket/sender.js","../../../../../../node_modules/undici/lib/web/websocket/stream/websocketerror.js","../../../../../../node_modules/undici/lib/web/websocket/stream/websocketstream.js","../../../../../../node_modules/undici/lib/web/websocket/util.js","../../../../../../node_modules/undici/lib/web/websocket/websocket.js","../../../../../../node_modules/undici/LICENSE","../../../../../../node_modules/undici/package.json","../../../../../../node_modules/undici/README.md","../../../../../../node_modules/undici/scripts/strip-comments.js","../../../../../../node_modules/undici/types/agent.d.ts","../../../../../../node_modules/undici/types/api.d.ts","../../../../../../node_modules/undici/types/balanced-pool.d.ts","../../../../../../node_modules/undici/types/cache-interceptor.d.ts","../../../../../../node_modules/undici/types/cache.d.ts","../../../../../../node_modules/undici/types/client-stats.d.ts","../../../../../../node_modules/undici/types/client.d.ts","../../../../../../node_modules/undici/types/connector.d.ts","../../../../../../node_modules/undici/types/content-type.d.ts","../../../../../../node_modules/undici/types/cookies.d.ts","../../../../../../node_modules/undici/types/diagnostics-channel.d.ts","../../../../../../node_modules/undici/types/dispatcher.d.ts","../../../../../../node_modules/undici/types/env-http-proxy-agent.d.ts","../../../../../../node_modules/undici/types/errors.d.ts","../../../../../../node_modules/undici/types/eventsource.d.ts","../../../../../../node_modules/undici/types/fetch.d.ts","../../../../../../node_modules/undici/types/formdata.d.ts","../../../../../../node_modules/undici/types/global-dispatcher.d.ts","../../../../../../node_modules/undici/types/global-origin.d.ts","../../../../../../node_modules/undici/types/h2c-client.d.ts","../../../../../../node_modules/undici/types/handlers.d.ts","../../../../../../node_modules/undici/types/header.d.ts","../../../../../../node_modules/undici/types/index.d.ts","../../../../../../node_modules/undici/types/interceptors.d.ts","../../../../../../node_modules/undici/types/mock-agent.d.ts","../../../../../../node_modules/undici/types/mock-call-history.d.ts","../../../../../../node_modules/undici/types/mock-client.d.ts","../../../../../../node_modules/undici/types/mock-errors.d.ts","../../../../../../node_modules/undici/types/mock-interceptor.d.ts","../../../../../../node_modules/undici/types/mock-pool.d.ts","../../../../../../node_modules/undici/types/patch.d.ts","../../../../../../node_modules/undici/types/pool-stats.d.ts","../../../../../../node_modules/undici/types/pool.d.ts","../../../../../../node_modules/undici/types/proxy-agent.d.ts","../../../../../../node_modules/undici/types/readable.d.ts","../../../../../../node_modules/undici/types/README.md","../../../../../../node_modules/undici/types/retry-agent.d.ts","../../../../../../node_modules/undici/types/retry-handler.d.ts","../../../../../../node_modules/undici/types/round-robin-pool.d.ts","../../../../../../node_modules/undici/types/snapshot-agent.d.ts","../../../../../../node_modules/undici/types/socks5-proxy-agent.d.ts","../../../../../../node_modules/undici/types/util.d.ts","../../../../../../node_modules/undici/types/utility.d.ts","../../../../../../node_modules/undici/types/webidl.d.ts","../../../../../../node_modules/undici/types/websocket.d.ts"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/fast-jwt/index.js","../../../../../../node_modules/next/dist/compiled/fast-jwt/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/2970.js","../../../../chunks/6070.js","../../../../chunks/6844.js","../../../../chunks/7502.js","../../../../chunks/866.js","../../../../chunks/869.js","../../../../chunks/8838.js","../../../../chunks/8920.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../src/lib/dbFileSafety.js","../../../../../../src/shared/constants/cliTools.js","../../../../../../src/shared/constants/colors.js","../../../../../../src/shared/constants/config.js","../../../../../../src/shared/constants/coworkPlugins.js","../../../../../../src/shared/constants/index.js","../../../../../../src/shared/constants/keyAccess.js","../../../../../../src/shared/constants/locales.js","../../../../../../src/shared/constants/mitmToolHosts.js","../../../../../../src/shared/constants/models.js","../../../../../../src/shared/constants/monaco.js","../../../../../../src/shared/constants/providers.js","../../../../../../src/shared/constants/providersDisplay.js","../../../../../../src/shared/constants/skills.js","../../../../../../src/shared/constants/ttsProviders.js","../../../../../../src/mitm/.DS_Store","../../../../../../src/mitm/antigravityDebugLog.js","../../../../../../src/mitm/antigravityIdeVersion.js","../../../../../../src/mitm/cert/generate.js","../../../../../../src/mitm/cert/install.js","../../../../../../src/mitm/cert/rootCA.js","../../../../../../src/mitm/config.js","../../../../../../src/mitm/dns/dnsConfig.js","../../../../../../src/mitm/handlers/antigravity.js","../../../../../../src/mitm/handlers/base.js","../../../../../../src/mitm/handlers/copilot.js","../../../../../../src/mitm/handlers/cursor.js","../../../../../../src/mitm/handlers/interceptWithMappedModel.js","../../../../../../src/mitm/handlers/kiro.js","../../../../../../src/mitm/healthStore.js","../../../../../../src/mitm/logger.js","../../../../../../src/mitm/manager.js","../../../../../../src/mitm/mitmSettings.js","../../../../../../src/mitm/modelMapping.js","../../../../../../src/mitm/paths.js","../../../../../../src/mitm/rtkCompressor.js","../../../../../../src/mitm/server.js","../../../../../../src/mitm/tokenPool.js","../../../../../../src/mitm/tokenSwapRetry.js","../../../../../../src/mitm/usageTracker.js","../../../../../../src/mitm/winElevated.js","../../../../../../open-sse/rtk/antigravity.js","../../../../../../open-sse/rtk/applyFilter.js","../../../../../../open-sse/rtk/autodetect.js","../../../../../../open-sse/rtk/caveman.js","../../../../../../open-sse/rtk/cavemanPrompts.js","../../../../../../open-sse/rtk/constants.js","../../../../../../open-sse/rtk/customPrompt.js","../../../../../../open-sse/rtk/filters/buildOutput.js","../../../../../../open-sse/rtk/filters/dedupLog.js","../../../../../../open-sse/rtk/filters/find.js","../../../../../../open-sse/rtk/filters/gitDiff.js","../../../../../../open-sse/rtk/filters/gitLog.js","../../../../../../open-sse/rtk/filters/gitStatus.js","../../../../../../open-sse/rtk/filters/grep.js","../../../../../../open-sse/rtk/filters/ls.js","../../../../../../open-sse/rtk/filters/readNumbered.js","../../../../../../open-sse/rtk/filters/searchList.js","../../../../../../open-sse/rtk/filters/smartTruncate.js","../../../../../../open-sse/rtk/filters/tree.js","../../../../../../open-sse/rtk/flag.js","../../../../../../open-sse/rtk/headroom.js","../../../../../../open-sse/rtk/index.js","../../../../../../open-sse/rtk/package.json","../../../../../../open-sse/rtk/ponytail.js","../../../../../../open-sse/rtk/ponytailPrompt.js","../../../../../../open-sse/rtk/pxpipe.js","../../../../../../open-sse/rtk/registry.js","../../../../../../open-sse/rtk/systemInject.js","../../../../../../node_modules/undici/docs/docs/api/Agent.md","../../../../../../node_modules/undici/docs/docs/api/api-lifecycle.md","../../../../../../node_modules/undici/docs/docs/api/BalancedPool.md","../../../../../../node_modules/undici/docs/docs/api/CacheStorage.md","../../../../../../node_modules/undici/docs/docs/api/CacheStore.md","../../../../../../node_modules/undici/docs/docs/api/Client.md","../../../../../../node_modules/undici/docs/docs/api/ClientStats.md","../../../../../../node_modules/undici/docs/docs/api/Connector.md","../../../../../../node_modules/undici/docs/docs/api/ContentType.md","../../../../../../node_modules/undici/docs/docs/api/Cookies.md","../../../../../../node_modules/undici/docs/docs/api/Debug.md","../../../../../../node_modules/undici/docs/docs/api/DiagnosticsChannel.md","../../../../../../node_modules/undici/docs/docs/api/Dispatcher.md","../../../../../../node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/Errors.md","../../../../../../node_modules/undici/docs/docs/api/EventSource.md","../../../../../../node_modules/undici/docs/docs/api/Fetch.md","../../../../../../node_modules/undici/docs/docs/api/GlobalInstallation.md","../../../../../../node_modules/undici/docs/docs/api/H2CClient.md","../../../../../../node_modules/undici/docs/docs/api/MockAgent.md","../../../../../../node_modules/undici/docs/docs/api/MockCallHistory.md","../../../../../../node_modules/undici/docs/docs/api/MockCallHistoryLog.md","../../../../../../node_modules/undici/docs/docs/api/MockClient.md","../../../../../../node_modules/undici/docs/docs/api/MockErrors.md","../../../../../../node_modules/undici/docs/docs/api/MockPool.md","../../../../../../node_modules/undici/docs/docs/api/Pool.md","../../../../../../node_modules/undici/docs/docs/api/PoolStats.md","../../../../../../node_modules/undici/docs/docs/api/ProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/RedirectHandler.md","../../../../../../node_modules/undici/docs/docs/api/RetryAgent.md","../../../../../../node_modules/undici/docs/docs/api/RetryHandler.md","../../../../../../node_modules/undici/docs/docs/api/RoundRobinPool.md","../../../../../../node_modules/undici/docs/docs/api/SnapshotAgent.md","../../../../../../node_modules/undici/docs/docs/api/Socks5ProxyAgent.md","../../../../../../node_modules/undici/docs/docs/api/Util.md","../../../../../../node_modules/undici/docs/docs/api/WebSocket.md","../../../../../../node_modules/undici/docs/docs/best-practices/client-certificate.md","../../../../../../node_modules/undici/docs/docs/best-practices/crawling.md","../../../../../../node_modules/undici/docs/docs/best-practices/mocking-request.md","../../../../../../node_modules/undici/docs/docs/best-practices/proxy.md","../../../../../../node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md","../../../../../../node_modules/undici/docs/docs/best-practices/writing-tests.md","../../../../../../node_modules/undici/index-fetch.js","../../../../../../node_modules/undici/index.d.ts","../../../../../../node_modules/undici/index.js","../../../../../../node_modules/undici/lib/api/abort-signal.js","../../../../../../node_modules/undici/lib/api/api-connect.js","../../../../../../node_modules/undici/lib/api/api-pipeline.js","../../../../../../node_modules/undici/lib/api/api-request.js","../../../../../../node_modules/undici/lib/api/api-stream.js","../../../../../../node_modules/undici/lib/api/api-upgrade.js","../../../../../../node_modules/undici/lib/api/index.js","../../../../../../node_modules/undici/lib/api/readable.js","../../../../../../node_modules/undici/lib/cache/memory-cache-store.js","../../../../../../node_modules/undici/lib/cache/sqlite-cache-store.js","../../../../../../node_modules/undici/lib/core/connect.js","../../../../../../node_modules/undici/lib/core/constants.js","../../../../../../node_modules/undici/lib/core/diagnostics.js","../../../../../../node_modules/undici/lib/core/errors.js","../../../../../../node_modules/undici/lib/core/request.js","../../../../../../node_modules/undici/lib/core/socks5-client.js","../../../../../../node_modules/undici/lib/core/socks5-utils.js","../../../../../../node_modules/undici/lib/core/symbols.js","../../../../../../node_modules/undici/lib/core/tree.js","../../../../../../node_modules/undici/lib/core/util.js","../../../../../../node_modules/undici/lib/dispatcher/agent.js","../../../../../../node_modules/undici/lib/dispatcher/balanced-pool.js","../../../../../../node_modules/undici/lib/dispatcher/client-h1.js","../../../../../../node_modules/undici/lib/dispatcher/client-h2.js","../../../../../../node_modules/undici/lib/dispatcher/client.js","../../../../../../node_modules/undici/lib/dispatcher/dispatcher-base.js","../../../../../../node_modules/undici/lib/dispatcher/dispatcher.js","../../../../../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js","../../../../../../node_modules/undici/lib/dispatcher/fixed-queue.js","../../../../../../node_modules/undici/lib/dispatcher/h2c-client.js","../../../../../../node_modules/undici/lib/dispatcher/pool-base.js","../../../../../../node_modules/undici/lib/dispatcher/pool.js","../../../../../../node_modules/undici/lib/dispatcher/proxy-agent.js","../../../../../../node_modules/undici/lib/dispatcher/retry-agent.js","../../../../../../node_modules/undici/lib/dispatcher/round-robin-pool.js","../../../../../../node_modules/undici/lib/dispatcher/socks5-proxy-agent.js","../../../../../../node_modules/undici/lib/encoding/index.js","../../../../../../node_modules/undici/lib/global.js","../../../../../../node_modules/undici/lib/handler/cache-handler.js","../../../../../../node_modules/undici/lib/handler/cache-revalidation-handler.js","../../../../../../node_modules/undici/lib/handler/decorator-handler.js","../../../../../../node_modules/undici/lib/handler/deduplication-handler.js","../../../../../../node_modules/undici/lib/handler/redirect-handler.js","../../../../../../node_modules/undici/lib/handler/retry-handler.js","../../../../../../node_modules/undici/lib/handler/unwrap-handler.js","../../../../../../node_modules/undici/lib/handler/wrap-handler.js","../../../../../../node_modules/undici/lib/interceptor/cache.js","../../../../../../node_modules/undici/lib/interceptor/decompress.js","../../../../../../node_modules/undici/lib/interceptor/deduplicate.js","../../../../../../node_modules/undici/lib/interceptor/dns.js","../../../../../../node_modules/undici/lib/interceptor/dump.js","../../../../../../node_modules/undici/lib/interceptor/redirect.js","../../../../../../node_modules/undici/lib/interceptor/response-error.js","../../../../../../node_modules/undici/lib/interceptor/retry.js","../../../../../../node_modules/undici/lib/llhttp/.gitkeep","../../../../../../node_modules/undici/lib/llhttp/constants.d.ts","../../../../../../node_modules/undici/lib/llhttp/constants.js","../../../../../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js","../../../../../../node_modules/undici/lib/llhttp/llhttp-wasm.js","../../../../../../node_modules/undici/lib/llhttp/utils.d.ts","../../../../../../node_modules/undici/lib/llhttp/utils.js","../../../../../../node_modules/undici/lib/mock/mock-agent.js","../../../../../../node_modules/undici/lib/mock/mock-call-history.js","../../../../../../node_modules/undici/lib/mock/mock-client.js","../../../../../../node_modules/undici/lib/mock/mock-errors.js","../../../../../../node_modules/undici/lib/mock/mock-interceptor.js","../../../../../../node_modules/undici/lib/mock/mock-pool.js","../../../../../../node_modules/undici/lib/mock/mock-symbols.js","../../../../../../node_modules/undici/lib/mock/mock-utils.js","../../../../../../node_modules/undici/lib/mock/pending-interceptors-formatter.js","../../../../../../node_modules/undici/lib/mock/snapshot-agent.js","../../../../../../node_modules/undici/lib/mock/snapshot-recorder.js","../../../../../../node_modules/undici/lib/mock/snapshot-utils.js","../../../../../../node_modules/undici/lib/util/cache.js","../../../../../../node_modules/undici/lib/util/date.js","../../../../../../node_modules/undici/lib/util/promise.js","../../../../../../node_modules/undici/lib/util/runtime-features.js","../../../../../../node_modules/undici/lib/util/stats.js","../../../../../../node_modules/undici/lib/util/timers.js","../../../../../../node_modules/undici/lib/web/cache/cache.js","../../../../../../node_modules/undici/lib/web/cache/cachestorage.js","../../../../../../node_modules/undici/lib/web/cache/util.js","../../../../../../node_modules/undici/lib/web/cookies/constants.js","../../../../../../node_modules/undici/lib/web/cookies/index.js","../../../../../../node_modules/undici/lib/web/cookies/parse.js","../../../../../../node_modules/undici/lib/web/cookies/util.js","../../../../../../node_modules/undici/lib/web/eventsource/eventsource-stream.js","../../../../../../node_modules/undici/lib/web/eventsource/eventsource.js","../../../../../../node_modules/undici/lib/web/eventsource/util.js","../../../../../../node_modules/undici/lib/web/fetch/body.js","../../../../../../node_modules/undici/lib/web/fetch/constants.js","../../../../../../node_modules/undici/lib/web/fetch/data-url.js","../../../../../../node_modules/undici/lib/web/fetch/formdata-parser.js","../../../../../../node_modules/undici/lib/web/fetch/formdata.js","../../../../../../node_modules/undici/lib/web/fetch/global.js","../../../../../../node_modules/undici/lib/web/fetch/headers.js","../../../../../../node_modules/undici/lib/web/fetch/index.js","../../../../../../node_modules/undici/lib/web/fetch/LICENSE","../../../../../../node_modules/undici/lib/web/fetch/request.js","../../../../../../node_modules/undici/lib/web/fetch/response.js","../../../../../../node_modules/undici/lib/web/fetch/util.js","../../../../../../node_modules/undici/lib/web/infra/index.js","../../../../../../node_modules/undici/lib/web/subresource-integrity/Readme.md","../../../../../../node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js","../../../../../../node_modules/undici/lib/web/webidl/index.js","../../../../../../node_modules/undici/lib/web/websocket/connection.js","../../../../../../node_modules/undici/lib/web/websocket/constants.js","../../../../../../node_modules/undici/lib/web/websocket/events.js","../../../../../../node_modules/undici/lib/web/websocket/frame.js","../../../../../../node_modules/undici/lib/web/websocket/permessage-deflate.js","../../../../../../node_modules/undici/lib/web/websocket/receiver.js","../../../../../../node_modules/undici/lib/web/websocket/sender.js","../../../../../../node_modules/undici/lib/web/websocket/stream/websocketerror.js","../../../../../../node_modules/undici/lib/web/websocket/stream/websocketstream.js","../../../../../../node_modules/undici/lib/web/websocket/util.js","../../../../../../node_modules/undici/lib/web/websocket/websocket.js","../../../../../../node_modules/undici/LICENSE","../../../../../../node_modules/undici/package.json","../../../../../../node_modules/undici/README.md","../../../../../../node_modules/undici/scripts/strip-comments.js","../../../../../../node_modules/undici/types/agent.d.ts","../../../../../../node_modules/undici/types/api.d.ts","../../../../../../node_modules/undici/types/balanced-pool.d.ts","../../../../../../node_modules/undici/types/cache-interceptor.d.ts","../../../../../../node_modules/undici/types/cache.d.ts","../../../../../../node_modules/undici/types/client-stats.d.ts","../../../../../../node_modules/undici/types/client.d.ts","../../../../../../node_modules/undici/types/connector.d.ts","../../../../../../node_modules/undici/types/content-type.d.ts","../../../../../../node_modules/undici/types/cookies.d.ts","../../../../../../node_modules/undici/types/diagnostics-channel.d.ts","../../../../../../node_modules/undici/types/dispatcher.d.ts","../../../../../../node_modules/undici/types/env-http-proxy-agent.d.ts","../../../../../../node_modules/undici/types/errors.d.ts","../../../../../../node_modules/undici/types/eventsource.d.ts","../../../../../../node_modules/undici/types/fetch.d.ts","../../../../../../node_modules/undici/types/formdata.d.ts","../../../../../../node_modules/undici/types/global-dispatcher.d.ts","../../../../../../node_modules/undici/types/global-origin.d.ts","../../../../../../node_modules/undici/types/h2c-client.d.ts","../../../../../../node_modules/undici/types/handlers.d.ts","../../../../../../node_modules/undici/types/header.d.ts","../../../../../../node_modules/undici/types/index.d.ts","../../../../../../node_modules/undici/types/interceptors.d.ts","../../../../../../node_modules/undici/types/mock-agent.d.ts","../../../../../../node_modules/undici/types/mock-call-history.d.ts","../../../../../../node_modules/undici/types/mock-client.d.ts","../../../../../../node_modules/undici/types/mock-errors.d.ts","../../../../../../node_modules/undici/types/mock-interceptor.d.ts","../../../../../../node_modules/undici/types/mock-pool.d.ts","../../../../../../node_modules/undici/types/patch.d.ts","../../../../../../node_modules/undici/types/pool-stats.d.ts","../../../../../../node_modules/undici/types/pool.d.ts","../../../../../../node_modules/undici/types/proxy-agent.d.ts","../../../../../../node_modules/undici/types/readable.d.ts","../../../../../../node_modules/undici/types/README.md","../../../../../../node_modules/undici/types/retry-agent.d.ts","../../../../../../node_modules/undici/types/retry-handler.d.ts","../../../../../../node_modules/undici/types/round-robin-pool.d.ts","../../../../../../node_modules/undici/types/snapshot-agent.d.ts","../../../../../../node_modules/undici/types/socks5-proxy-agent.d.ts","../../../../../../node_modules/undici/types/util.d.ts","../../../../../../node_modules/undici/types/utility.d.ts","../../../../../../node_modules/undici/types/webidl.d.ts","../../../../../../node_modules/undici/types/websocket.d.ts"]}
@@ -1 +1 @@
1
- (()=>{var a={};a.id=9088,a.ids=[1998,9088],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},2862:(a,b,c)=>{"use strict";c.d(b,{u:()=>q});var d=c(79748),e=c.n(d),f=c(79646),g=c(28354),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j);let l=(0,g.promisify)(f.exec),m={trae:{darwin:["/Applications/Trae.app"],win32:[i().join(process.env.LOCALAPPDATA||"","Programs","Trae","Trae.exe"),i().join(process.env.ProgramFiles||"","Trae","Trae.exe")],linux:["/usr/bin/trae","/usr/local/bin/trae","/opt/trae","/opt/Trae"]},windsurf:{darwin:["/Applications/Windsurf.app"],win32:[i().join(process.env.LOCALAPPDATA||"","Programs","Windsurf","Windsurf.exe"),i().join(process.env.ProgramFiles||"","Windsurf","Windsurf.exe")],linux:["/usr/bin/windsurf","/usr/local/bin/windsurf","/opt/windsurf","/opt/Windsurf"]}},n={trae:"trae",windsurf:"windsurf"};async function o(a){try{return await e().access(a),!0}catch{return!1}}async function p(a){try{let b="win32"===k().platform()?`where ${a}`:`which ${a}`;return await l(b,{windowsHide:!0}),!0}catch{return!1}}async function q(a){let b=k().platform(),c=m[a];if(!c)return{installed:!1,path:null};for(let a of c[b]||[])if(a&&await o(a))return{installed:!0,path:a};let d=n[a];return d&&await p(d)?{installed:!0,path:d}:{installed:!1,path:null}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){let b;this.#a=a,this.#b=(b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString(),(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`))}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29204:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/oauth/[provider]/[action]/route",pathname:"/api/oauth/[provider]/[action]",filename:"route",bundlePath:"app/api/oauth/[provider]/[action]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/oauth/[provider]/[action]/route.js",nextConfigOutput:"standalone",userland:()=>c(56632),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/oauth/[provider]/[action]/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},39006:a=>{"use strict";a.exports={rE:"0.4.63"}},40610:a=>{"use strict";a.exports=require("node:dns")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{"use strict";a.exports=require("node:os")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>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="n9router";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{return e().mkdirSync(a,{recursive:!0}),e().accessSync(a,e().constants.W_OK),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},56632:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>r,POST:()=>s});var e=c(55511),f=c.n(e),g=c(23211),h=c(74177),i=c(71998),j=c(89718),k=c(4338),l=c(12132),m=c(22898),n=c(2862),o=c(92990),p=a([h]);async function q(a,b){let c=b?(0,m.ZP)(b):null;if(!c)throw Error("xAI OAuth session not found; restart the login flow and paste the code again");if(!a)throw Error("Missing xAI authorization code");try{let d=await (0,h.exchangeTokens)("xai",a,c.redirectUri,c.codeVerifier,b),e=await (0,i.createProviderConnection)({provider:"xai",authType:"oauth",...d,expiresAt:d.expiresIn?new Date(Date.now()+1e3*d.expiresIn).toISOString():null,testStatus:"active"});return(0,m.uw)(b),(0,m.nu)(),{id:e.id,provider:e.provider,email:e.email,displayName:e.displayName}}catch(a){throw(0,m.uw)(b),(0,m.nu)(),a}}async function r(a,{params:b}){try{let{provider:d,action:e}=await b,{searchParams:i}=new URL(a.url);if("authorize"===e){if("xiaomi-mimo"===d){let{generateKeyPair:a,buildAuthorizeUrl:b,getKeyName:d}=await c.e(4152).then(c.bind(c,34152)),{publicKey:e,privateKeyDer:h}=a(),j=i.get("state")||f().randomUUID(),k=await (0,m.ag)();if(!k.success)return g.NextResponse.json({error:`Failed to start callback server: ${k.reason}`},{status:500});(0,m.n3)({state:j,privateKeyDer:h});let l=k.callbackUrl,n=b(e,l,d());return g.NextResponse.json({state:j,authorizeUrl:n,redirectUri:l,port:k.port})}let a=i.get("redirect_uri")||"http://localhost:8080/callback",b=new Set(["redirect_uri"]),e={};if(i.forEach((a,c)=>{b.has(c)||(e[c]=a)}),"zed"===d)try{let b=new URL(a).port;b&&(e.nativeAppPort=b)}catch{}let j=await (0,h.kP)(d,a,Object.keys(e).length?e:void 0);return g.NextResponse.json(j)}if("start-proxy"===e){if("trae"===d){let a=await (0,m.dW)();return g.NextResponse.json(a)}if("windsurf"===d){let a=await (0,m.zq)();return g.NextResponse.json(a)}if("zed"===d){let a=await (0,m.Ag)(i.get("native_app_port")||o.RY.defaultNativeAppPort);return g.NextResponse.json(a)}if("xiaomi-mimo"===d){let a=await (0,m.ag)();return g.NextResponse.json(a)}if(!["codex","xai"].includes(d))return g.NextResponse.json({error:"Proxy only supported for codex/xai/trae/windsurf/zed"},{status:400});let a=i.get("app_port");if(!a)return g.NextResponse.json({error:"Missing app_port"},{status:400});let b=i.get("state"),c=i.get("code_verifier"),e=i.get("redirect_uri"),f="xai"===d?await (0,m.jl)(Number(a)):await (0,m.Y0)(Number(a)),h=!1;return f.success&&b&&c&&e&&(h="xai"===d?(0,m._V)({state:b,codeVerifier:c,redirectUri:e}):(0,m.Hd)({state:b,codeVerifier:c,redirectUri:e})),g.NextResponse.json({...f,serverSide:h})}if("poll-status"===e){let a,b=i.get("state");if(!b)return g.NextResponse.json({error:"Missing state"},{status:400});if("trae"===d)a=(0,m.VZ)(b);else if("windsurf"===d)a=(0,m.Xd)(b);else if("zed"===d)a=(0,m.E1)(b);else if("xai"===d)a=(0,m.ZP)(b);else if("codex"===d)a=(0,m.cn)(b);else{if("xiaomi-mimo"!==d)return g.NextResponse.json({error:"Poll only supported for codex/xai/trae/windsurf/zed/xiaomi-mimo"},{status:400});a=(0,m.S3)(b)}if(!a)return g.NextResponse.json({status:"unknown"});if("done"===a.status||"error"===a.status){let c={...a};if("xiaomi-mimo"===d)return"error"===a.status&&((0,m.zg)(b),(0,m.GJ)()),g.NextResponse.json(c);return"trae"===d?(0,m.og)(b):"windsurf"===d?(0,m.wl)(b):"zed"===d?(0,m.Rb)(b):"xai"===d?(0,m.uw)(b):(0,m.dR)(b),g.NextResponse.json(c)}return g.NextResponse.json({status:a.status})}if("stop-proxy"===e){if("trae"===d)(0,m.hj)();else if("windsurf"===d)(0,m.rd)();else if("zed"===d)(0,m.ET)();else if("xai"===d)(0,m.nu)();else if("codex"===d)(0,m.IF)();else{if("xiaomi-mimo"!==d)return g.NextResponse.json({error:"Proxy only supported for codex/xai/trae/windsurf/zed/xiaomi-mimo"},{status:400});(0,m.GJ)()}return g.NextResponse.json({success:!0})}if("ide-status"===e){if("trae"!==d&&"windsurf"!==d)return g.NextResponse.json({error:"ide-status only supported for trae/windsurf"},{status:400});let a=await (0,n.u)(d);return g.NextResponse.json(a)}if("device-code"===e){let a,b=(0,h.sO)(d);if("device_code"!==b.flowType)return g.NextResponse.json({error:"Provider does not support device code flow"},{status:400});let c=await (0,h.kP)(d,null),e=i.get("start_url"),f=i.get("region"),j=i.get("auth_method"),k="kiro"===d?{...e?{startUrl:e}:{},...f?{region:f}:{},...j?{authMethod:j}:{}}:void 0;return a=["github","kiro","kimi","kimi-coding","kilocode","codebuddy-cn","codebuddy-intl","qoder","qoder-cn","grok-cli","muse","glm","nous"].includes(d)?await (0,h.Re)(d,void 0,k):await (0,h.Re)(d,c.codeChallenge,k),g.NextResponse.json({...a,codeVerifier:a.codeVerifier||c.codeVerifier})}if("lease-status"===e){if(!["minimax-code","minimax-code-global"].includes(d))return g.NextResponse.json({error:"lease-status only supported for minimax-code/minimax-code-global"},{status:400});let a=i.get("data_dir"),b=a?String(a).trim():(0,k.S1)(null);try{let a=await (0,k.G2)(b);return g.NextResponse.json({found:!0,dataDir:b,...a})}catch(c){let a=c instanceof k.Dg?c.code:"INTERNAL_ERROR";return g.NextResponse.json({found:!1,dataDir:b,error:a,message:c.message})}}return g.NextResponse.json({error:"Unknown action"},{status:400})}catch(a){return console.log("OAuth GET error:",a),g.NextResponse.json({error:a.message},{status:500})}}async function s(a,{params:b}){try{let d,{provider:e,action:f}=await b;try{d=await a.json()}catch{return g.NextResponse.json({error:"Invalid or empty request body"},{status:400})}if("lease-connect"===f){if(!["minimax-code","minimax-code-global"].includes(e))return g.NextResponse.json({error:"lease-connect only supported for minimax-code/minimax-code-global"},{status:400});let a=d?.dataDir?String(d.dataDir).trim():(0,k.S1)(null);try{await (0,k.C2)(a)}catch(b){let a=b instanceof k.Dg?b.code:"INTERNAL_ERROR";return g.NextResponse.json({error:b.message,code:a},{status:409})}(0,k.oy)(a);let b=(await (0,j.getProviderConnections)({provider:e})).find(b=>"mcode-lease"===b.authType&&(0,k.S1)(b)===a);if(b)return g.NextResponse.json({success:!0,connection:{id:b.id,provider:b.provider},reused:!0});let c=await (0,i.createProviderConnection)({provider:e,authType:"mcode-lease",name:"minimax-code-global"===e?"MiniMax Desktop (Lease, Global)":"MiniMax Desktop (Lease)",providerSpecificData:{mcodeDataDir:a},testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider}})}if("register-session"===f){let b=new URL(a.url).searchParams.get("state")||d?.state;if(!b)return g.NextResponse.json({error:"Missing state"},{status:400});let c=!1;if("trae"===e)c=(0,m.Ex)({state:b});else if("windsurf"===e)c=(0,m.wq)({state:b});else{if("zed"!==e)return g.NextResponse.json({error:"register-session only supported for trae/windsurf/zed"},{status:400});c=(0,m.Jm)({state:b,codeVerifier:d?.codeVerifier,systemId:d?.systemId})}return g.NextResponse.json({success:c})}if("exchange"===f){let{code:a,redirectUri:b,codeVerifier:f,state:j,meta:k,systemId:n}=d;if("xiaomi-mimo"===e){if(!j)return g.NextResponse.json({error:"Missing state"},{status:400});let a=(0,m.S3)(j);if(!a||"done"!==a.status||!a.result)return g.NextResponse.json({error:a?.error||"OAuth session not completed. Please restart the login flow."},{status:400});let{uid:b,accessToken:c,baseUrl:d}=a.result,e=null;try{e=await (0,l.readDesktopPassToken)()}catch{}try{let a=await (0,i.createProviderConnection)({provider:"xiaomi-mimo",authType:"oauth",accessToken:c,refreshToken:null,expiresAt:new Date(Date.now()+31536e6).toISOString(),email:b?`${b}@xiaomi`:null,displayName:b?`Xiaomi ${b}`:"Xiaomi MiMo",providerSpecificData:{uid:b||null,baseUrl:d||"https://api.xiaomimimo.com/v1",authMethod:"oauth",mimoPassToken:e?.passToken||null,mimoUserId:e?.userId||null,mimoCUserId:e?.cUserId||null},testStatus:"active"});return(0,m.zg)(j),(0,m.GJ)(),g.NextResponse.json({success:!0,connection:{id:a.id,provider:a.provider,email:a.email,displayName:a.displayName}})}catch(a){return(0,m.zg)(j),(0,m.GJ)(),g.NextResponse.json({error:a.message},{status:500})}}if("trae"===e||"windsurf"===e){let b="string"==typeof a?a.trim():"";if(!b)return g.NextResponse.json({error:"Missing token or callback URL"},{status:400});try{let a=await (0,h.exchangeTokens)(e,b,null,null,j),c=await (0,i.createProviderConnection)({provider:e,authType:"windsurf"===e?"api_key":"oauth",...a,expiresAt:a.expiresIn?new Date(Date.now()+1e3*a.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider,email:c.email,displayName:c.displayName}})}catch(a){return g.NextResponse.json({error:a.message},{status:500})}}if(a&&a.startsWith("eyJ")&&a.includes(".")){let{extractCodexAccountInfo:b}=await Promise.resolve().then(c.bind(c,74177)),d=b(a),f={};try{let b=a.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),c=b+"=".repeat((4-b.length%4)%4);f=JSON.parse(Buffer.from(c,"base64").toString("utf8"))}catch{}let h=d.chatgptAccountId||f.account_id,j=d.chatgptPlanType||f.plan_type,k=d.email||f.email,l={authMethod:"access_token"};h&&(l.chatgptAccountId=h),j&&(l.chatgptPlanType=j);let m=await (0,i.createProviderConnection)({provider:e,authType:"access_token",accessToken:a,email:k||null,providerSpecificData:l,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:m.id,provider:m.provider,email:m.email,displayName:m.displayName}})}if(!a||!b||!f&&!["cline","clinepass","kimchi"].includes(e))return g.NextResponse.json({error:"Missing required fields"},{status:400});let o=await (0,h.exchangeTokens)(e,a,b,f,j,{...k||{},...n?{systemId:n}:{}}),p=await (0,i.createProviderConnection)({provider:e,authType:"oauth",...o,expiresAt:o.expiresIn?new Date(Date.now()+1e3*o.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:p.id,provider:p.provider,email:p.email,displayName:p.displayName}})}if("poll"===f){let a,{deviceCode:b,codeVerifier:c,extraData:f}=d;if(!b)return g.NextResponse.json({error:"Missing device code"},{status:400});if(["github","kimi","kimi-coding","kilocode","codebuddy-cn","codebuddy-intl","glm","nous"].includes(e))a=await (0,h.Su)(e,b,null,f);else if("kiro"===e)a=await (0,h.Su)(e,b,null,f);else if("qoder"===e||"qoder-cn"===e){if(!c)return g.NextResponse.json({error:"Missing code verifier"},{status:400});a=await (0,h.Su)(e,b,c,f)}else{if(!c)return g.NextResponse.json({error:"Missing code verifier"},{status:400});a=await (0,h.Su)(e,b,c)}if(a.success){let b="kimi-coding"===e?"kimi":e,c=await (0,i.createProviderConnection)({provider:b,authType:"oauth",...a.tokens,expiresAt:a.tokens.expiresIn?new Date(Date.now()+1e3*a.tokens.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider}})}let j=a.pending||"authorization_pending"===a.error||"slow_down"===a.error;return g.NextResponse.json({success:!1,error:a.error,errorDescription:a.errorDescription,pending:j,...a.fatal?{fatal:!0}:{}})}if("manual-code"===f){if("xai"!==e)return g.NextResponse.json({error:"Manual code only supported for xai"},{status:400});let{code:a,state:b}=d,c=await q(String(a||"").trim(),String(b||"").trim());return g.NextResponse.json({success:!0,connection:c})}return g.NextResponse.json({error:"Unknown action"},{status:400})}catch(a){return console.log("OAuth POST error:",a),g.NextResponse.json({error:a.message},{status:500})}}h=(p.then?(await p)():p)[0],d()}catch(a){d(a)}})},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv});var d=c(89718)},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81115:a=>{"use strict";a.exports=require("constants")},81630:a=>{"use strict";a.exports=require("http")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data");this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,7502,7774,7801,9718,866,6070,9609,8920,3943,24,4989,7187,7843,9696,2578,8623,3225,7759,5215,7552,1297,9754,5330,8895,7773,4279,5615],()=>b(b.s=29204));module.exports=c})();
1
+ (()=>{var a={};a.id=9088,a.ids=[1998,9088],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},2862:(a,b,c)=>{"use strict";c.d(b,{u:()=>q});var d=c(79748),e=c.n(d),f=c(79646),g=c(28354),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j);let l=(0,g.promisify)(f.exec),m={trae:{darwin:["/Applications/Trae.app"],win32:[i().join(process.env.LOCALAPPDATA||"","Programs","Trae","Trae.exe"),i().join(process.env.ProgramFiles||"","Trae","Trae.exe")],linux:["/usr/bin/trae","/usr/local/bin/trae","/opt/trae","/opt/Trae"]},windsurf:{darwin:["/Applications/Windsurf.app"],win32:[i().join(process.env.LOCALAPPDATA||"","Programs","Windsurf","Windsurf.exe"),i().join(process.env.ProgramFiles||"","Windsurf","Windsurf.exe")],linux:["/usr/bin/windsurf","/usr/local/bin/windsurf","/opt/windsurf","/opt/Windsurf"]}},n={trae:"trae",windsurf:"windsurf"};async function o(a){try{return await e().access(a),!0}catch{return!1}}async function p(a){try{let b="win32"===k().platform()?`where ${a}`:`which ${a}`;return await l(b,{windowsHide:!0}),!0}catch{return!1}}async function q(a){let b=k().platform(),c=m[a];if(!c)return{installed:!1,path:null};for(let a of c[b]||[])if(a&&await o(a))return{installed:!0,path:a};let d=n[a];return d&&await p(d)?{installed:!0,path:d}:{installed:!1,path:null}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){let b;this.#a=a,this.#b=(b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString(),(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`))}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29204:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/oauth/[provider]/[action]/route",pathname:"/api/oauth/[provider]/[action]",filename:"route",bundlePath:"app/api/oauth/[provider]/[action]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/oauth/[provider]/[action]/route.js",nextConfigOutput:"standalone",userland:()=>c(56632),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/oauth/[provider]/[action]/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},39006:a=>{"use strict";a.exports={rE:"0.4.65"}},40610:a=>{"use strict";a.exports=require("node:dns")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{"use strict";a.exports=require("node:os")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>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="n9router";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{return e().mkdirSync(a,{recursive:!0}),e().accessSync(a,e().constants.W_OK),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},56632:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>r,POST:()=>s});var e=c(55511),f=c.n(e),g=c(23211),h=c(74177),i=c(71998),j=c(89718),k=c(4338),l=c(12132),m=c(22898),n=c(2862),o=c(92990),p=a([h]);async function q(a,b){let c=b?(0,m.ZP)(b):null;if(!c)throw Error("xAI OAuth session not found; restart the login flow and paste the code again");if(!a)throw Error("Missing xAI authorization code");try{let d=await (0,h.exchangeTokens)("xai",a,c.redirectUri,c.codeVerifier,b),e=await (0,i.createProviderConnection)({provider:"xai",authType:"oauth",...d,expiresAt:d.expiresIn?new Date(Date.now()+1e3*d.expiresIn).toISOString():null,testStatus:"active"});return(0,m.uw)(b),(0,m.nu)(),{id:e.id,provider:e.provider,email:e.email,displayName:e.displayName}}catch(a){throw(0,m.uw)(b),(0,m.nu)(),a}}async function r(a,{params:b}){try{let{provider:d,action:e}=await b,{searchParams:i}=new URL(a.url);if("authorize"===e){if("xiaomi-mimo"===d){let{generateKeyPair:a,buildAuthorizeUrl:b,getKeyName:d}=await c.e(4152).then(c.bind(c,34152)),{publicKey:e,privateKeyDer:h}=a(),j=i.get("state")||f().randomUUID(),k=await (0,m.ag)();if(!k.success)return g.NextResponse.json({error:`Failed to start callback server: ${k.reason}`},{status:500});(0,m.n3)({state:j,privateKeyDer:h});let l=k.callbackUrl,n=b(e,l,d());return g.NextResponse.json({state:j,authorizeUrl:n,redirectUri:l,port:k.port})}let a=i.get("redirect_uri")||"http://localhost:8080/callback",b=new Set(["redirect_uri"]),e={};if(i.forEach((a,c)=>{b.has(c)||(e[c]=a)}),"zed"===d)try{let b=new URL(a).port;b&&(e.nativeAppPort=b)}catch{}let j=await (0,h.kP)(d,a,Object.keys(e).length?e:void 0);return g.NextResponse.json(j)}if("start-proxy"===e){if("trae"===d){let a=await (0,m.dW)();return g.NextResponse.json(a)}if("windsurf"===d){let a=await (0,m.zq)();return g.NextResponse.json(a)}if("zed"===d){let a=await (0,m.Ag)(i.get("native_app_port")||o.RY.defaultNativeAppPort);return g.NextResponse.json(a)}if("xiaomi-mimo"===d){let a=await (0,m.ag)();return g.NextResponse.json(a)}if(!["codex","xai"].includes(d))return g.NextResponse.json({error:"Proxy only supported for codex/xai/trae/windsurf/zed"},{status:400});let a=i.get("app_port");if(!a)return g.NextResponse.json({error:"Missing app_port"},{status:400});let b=i.get("state"),c=i.get("code_verifier"),e=i.get("redirect_uri"),f="xai"===d?await (0,m.jl)(Number(a)):await (0,m.Y0)(Number(a)),h=!1;return f.success&&b&&c&&e&&(h="xai"===d?(0,m._V)({state:b,codeVerifier:c,redirectUri:e}):(0,m.Hd)({state:b,codeVerifier:c,redirectUri:e})),g.NextResponse.json({...f,serverSide:h})}if("poll-status"===e){let a,b=i.get("state");if(!b)return g.NextResponse.json({error:"Missing state"},{status:400});if("trae"===d)a=(0,m.VZ)(b);else if("windsurf"===d)a=(0,m.Xd)(b);else if("zed"===d)a=(0,m.E1)(b);else if("xai"===d)a=(0,m.ZP)(b);else if("codex"===d)a=(0,m.cn)(b);else{if("xiaomi-mimo"!==d)return g.NextResponse.json({error:"Poll only supported for codex/xai/trae/windsurf/zed/xiaomi-mimo"},{status:400});a=(0,m.S3)(b)}if(!a)return g.NextResponse.json({status:"unknown"});if("done"===a.status||"error"===a.status){let c={...a};if("xiaomi-mimo"===d)return"error"===a.status&&((0,m.zg)(b),(0,m.GJ)()),g.NextResponse.json(c);return"trae"===d?(0,m.og)(b):"windsurf"===d?(0,m.wl)(b):"zed"===d?(0,m.Rb)(b):"xai"===d?(0,m.uw)(b):(0,m.dR)(b),g.NextResponse.json(c)}return g.NextResponse.json({status:a.status})}if("stop-proxy"===e){if("trae"===d)(0,m.hj)();else if("windsurf"===d)(0,m.rd)();else if("zed"===d)(0,m.ET)();else if("xai"===d)(0,m.nu)();else if("codex"===d)(0,m.IF)();else{if("xiaomi-mimo"!==d)return g.NextResponse.json({error:"Proxy only supported for codex/xai/trae/windsurf/zed/xiaomi-mimo"},{status:400});(0,m.GJ)()}return g.NextResponse.json({success:!0})}if("ide-status"===e){if("trae"!==d&&"windsurf"!==d)return g.NextResponse.json({error:"ide-status only supported for trae/windsurf"},{status:400});let a=await (0,n.u)(d);return g.NextResponse.json(a)}if("device-code"===e){let a,b=(0,h.sO)(d);if("device_code"!==b.flowType)return g.NextResponse.json({error:"Provider does not support device code flow"},{status:400});let c=await (0,h.kP)(d,null),e=i.get("start_url"),f=i.get("region"),j=i.get("auth_method"),k="kiro"===d?{...e?{startUrl:e}:{},...f?{region:f}:{},...j?{authMethod:j}:{}}:void 0;return a=["github","kiro","kimi","kimi-coding","kilocode","codebuddy-cn","codebuddy-intl","qoder","qoder-cn","grok-cli","muse","glm","nous"].includes(d)?await (0,h.Re)(d,void 0,k):await (0,h.Re)(d,c.codeChallenge,k),g.NextResponse.json({...a,codeVerifier:a.codeVerifier||c.codeVerifier})}if("lease-status"===e){if(!["minimax-code","minimax-code-global"].includes(d))return g.NextResponse.json({error:"lease-status only supported for minimax-code/minimax-code-global"},{status:400});let a=i.get("data_dir"),b=a?String(a).trim():(0,k.S1)(null);try{let a=await (0,k.G2)(b);return g.NextResponse.json({found:!0,dataDir:b,...a})}catch(c){let a=c instanceof k.Dg?c.code:"INTERNAL_ERROR";return g.NextResponse.json({found:!1,dataDir:b,error:a,message:c.message})}}return g.NextResponse.json({error:"Unknown action"},{status:400})}catch(a){return console.log("OAuth GET error:",a),g.NextResponse.json({error:a.message},{status:500})}}async function s(a,{params:b}){try{let d,{provider:e,action:f}=await b;try{d=await a.json()}catch{return g.NextResponse.json({error:"Invalid or empty request body"},{status:400})}if("lease-connect"===f){if(!["minimax-code","minimax-code-global"].includes(e))return g.NextResponse.json({error:"lease-connect only supported for minimax-code/minimax-code-global"},{status:400});let a=d?.dataDir?String(d.dataDir).trim():(0,k.S1)(null);try{await (0,k.C2)(a)}catch(b){let a=b instanceof k.Dg?b.code:"INTERNAL_ERROR";return g.NextResponse.json({error:b.message,code:a},{status:409})}(0,k.oy)(a);let b=(await (0,j.getProviderConnections)({provider:e})).find(b=>"mcode-lease"===b.authType&&(0,k.S1)(b)===a);if(b)return g.NextResponse.json({success:!0,connection:{id:b.id,provider:b.provider},reused:!0});let c=await (0,i.createProviderConnection)({provider:e,authType:"mcode-lease",name:"minimax-code-global"===e?"MiniMax Desktop (Lease, Global)":"MiniMax Desktop (Lease)",providerSpecificData:{mcodeDataDir:a},testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider}})}if("register-session"===f){let b=new URL(a.url).searchParams.get("state")||d?.state;if(!b)return g.NextResponse.json({error:"Missing state"},{status:400});let c=!1;if("trae"===e)c=(0,m.Ex)({state:b});else if("windsurf"===e)c=(0,m.wq)({state:b});else{if("zed"!==e)return g.NextResponse.json({error:"register-session only supported for trae/windsurf/zed"},{status:400});c=(0,m.Jm)({state:b,codeVerifier:d?.codeVerifier,systemId:d?.systemId})}return g.NextResponse.json({success:c})}if("exchange"===f){let{code:a,redirectUri:b,codeVerifier:f,state:j,meta:k,systemId:n}=d;if("xiaomi-mimo"===e){if(!j)return g.NextResponse.json({error:"Missing state"},{status:400});let a=(0,m.S3)(j);if(!a||"done"!==a.status||!a.result)return g.NextResponse.json({error:a?.error||"OAuth session not completed. Please restart the login flow."},{status:400});let{uid:b,accessToken:c,baseUrl:d}=a.result,e=null;try{e=await (0,l.readDesktopPassToken)()}catch{}try{let a=await (0,i.createProviderConnection)({provider:"xiaomi-mimo",authType:"oauth",accessToken:c,refreshToken:null,expiresAt:new Date(Date.now()+31536e6).toISOString(),email:b?`${b}@xiaomi`:null,displayName:b?`Xiaomi ${b}`:"Xiaomi MiMo",providerSpecificData:{uid:b||null,baseUrl:d||"https://api.xiaomimimo.com/v1",authMethod:"oauth",mimoPassToken:e?.passToken||null,mimoUserId:e?.userId||null,mimoCUserId:e?.cUserId||null},testStatus:"active"});return(0,m.zg)(j),(0,m.GJ)(),g.NextResponse.json({success:!0,connection:{id:a.id,provider:a.provider,email:a.email,displayName:a.displayName}})}catch(a){return(0,m.zg)(j),(0,m.GJ)(),g.NextResponse.json({error:a.message},{status:500})}}if("trae"===e||"windsurf"===e){let b="string"==typeof a?a.trim():"";if(!b)return g.NextResponse.json({error:"Missing token or callback URL"},{status:400});try{let a=await (0,h.exchangeTokens)(e,b,null,null,j),c=await (0,i.createProviderConnection)({provider:e,authType:"windsurf"===e?"api_key":"oauth",...a,expiresAt:a.expiresIn?new Date(Date.now()+1e3*a.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider,email:c.email,displayName:c.displayName}})}catch(a){return g.NextResponse.json({error:a.message},{status:500})}}if(a&&a.startsWith("eyJ")&&a.includes(".")){let{extractCodexAccountInfo:b}=await Promise.resolve().then(c.bind(c,74177)),d=b(a),f={};try{let b=a.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),c=b+"=".repeat((4-b.length%4)%4);f=JSON.parse(Buffer.from(c,"base64").toString("utf8"))}catch{}let h=d.chatgptAccountId||f.account_id,j=d.chatgptPlanType||f.plan_type,k=d.email||f.email,l={authMethod:"access_token"};h&&(l.chatgptAccountId=h),j&&(l.chatgptPlanType=j);let m=await (0,i.createProviderConnection)({provider:e,authType:"access_token",accessToken:a,email:k||null,providerSpecificData:l,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:m.id,provider:m.provider,email:m.email,displayName:m.displayName}})}if(!a||!b||!f&&!["cline","clinepass","kimchi"].includes(e))return g.NextResponse.json({error:"Missing required fields"},{status:400});let o=await (0,h.exchangeTokens)(e,a,b,f,j,{...k||{},...n?{systemId:n}:{}}),p=await (0,i.createProviderConnection)({provider:e,authType:"oauth",...o,expiresAt:o.expiresIn?new Date(Date.now()+1e3*o.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:p.id,provider:p.provider,email:p.email,displayName:p.displayName}})}if("poll"===f){let a,{deviceCode:b,codeVerifier:c,extraData:f}=d;if(!b)return g.NextResponse.json({error:"Missing device code"},{status:400});if(["github","kimi","kimi-coding","kilocode","codebuddy-cn","codebuddy-intl","glm","nous"].includes(e))a=await (0,h.Su)(e,b,null,f);else if("kiro"===e)a=await (0,h.Su)(e,b,null,f);else if("qoder"===e||"qoder-cn"===e){if(!c)return g.NextResponse.json({error:"Missing code verifier"},{status:400});a=await (0,h.Su)(e,b,c,f)}else{if(!c)return g.NextResponse.json({error:"Missing code verifier"},{status:400});a=await (0,h.Su)(e,b,c)}if(a.success){let b="kimi-coding"===e?"kimi":e,c=await (0,i.createProviderConnection)({provider:b,authType:"oauth",...a.tokens,expiresAt:a.tokens.expiresIn?new Date(Date.now()+1e3*a.tokens.expiresIn).toISOString():null,testStatus:"active"});return g.NextResponse.json({success:!0,connection:{id:c.id,provider:c.provider}})}let j=a.pending||"authorization_pending"===a.error||"slow_down"===a.error;return g.NextResponse.json({success:!1,error:a.error,errorDescription:a.errorDescription,pending:j,...a.fatal?{fatal:!0}:{}})}if("manual-code"===f){if("xai"!==e)return g.NextResponse.json({error:"Manual code only supported for xai"},{status:400});let{code:a,state:b}=d,c=await q(String(a||"").trim(),String(b||"").trim());return g.NextResponse.json({success:!0,connection:c})}return g.NextResponse.json({error:"Unknown action"},{status:400})}catch(a){return console.log("OAuth POST error:",a),g.NextResponse.json({error:a.message},{status:500})}}h=(p.then?(await p)():p)[0],d()}catch(a){d(a)}})},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv});var d=c(89718)},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81115:a=>{"use strict";a.exports=require("constants")},81630:a=>{"use strict";a.exports=require("http")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data");this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,7502,7774,7801,9718,866,6070,9609,8920,3943,24,4989,7187,7843,9696,2578,8623,3225,7759,5215,7552,1297,9754,5330,8895,7773,4279,5615],()=>b(b.s=29204));module.exports=c})();