9router 0.5.69 → 0.5.75

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 (920) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +14 -12
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +12 -0
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/_global-error/page.js +1 -1
  75. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  78. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  83. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  86. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  87. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  88. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  89. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  91. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  113. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  119. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  139. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  141. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -0
  233. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -0
  234. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route_client-reference-manifest.js +1 -0
  235. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +4 -0
  236. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -0
  237. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route_client-reference-manifest.js +1 -0
  238. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  271. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  279. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  281. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  283. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  285. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  287. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  289. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  291. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  293. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  351. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  365. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  405. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  407. package/app/.next-cli-build/server/app/callback.html +1 -1
  408. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  409. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  410. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  411. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  412. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  413. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  414. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +6 -6
  415. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  416. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  417. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  419. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  420. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  421. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  422. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  423. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  424. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +6 -6
  425. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  426. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  427. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  428. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  429. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +6 -6
  430. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  431. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  432. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  433. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  434. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +6 -6
  435. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  436. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  437. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  438. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  439. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  440. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  441. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  442. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  443. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  444. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +6 -6
  445. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  446. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  449. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +6 -6
  450. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  451. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  452. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  453. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  454. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +6 -6
  455. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  456. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  458. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  459. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +6 -6
  460. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  461. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  462. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  464. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +6 -6
  465. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  466. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  469. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
  470. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  471. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  480. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  482. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +6 -6
  483. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  484. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  487. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
  488. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  489. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  492. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +6 -6
  493. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  494. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  497. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
  498. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  499. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  500. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  501. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  502. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
  503. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  504. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  506. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/index.html +1 -1
  508. package/app/.next-cli-build/server/app/index.rsc +4 -4
  509. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  510. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  511. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  513. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  514. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  515. package/app/.next-cli-build/server/app/landing.html +1 -1
  516. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  517. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  518. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  519. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  520. package/app/.next-cli-build/server/app/login/page.js +1 -1
  521. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  522. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  523. package/app/.next-cli-build/server/app/login.html +1 -1
  524. package/app/.next-cli-build/server/app/login.rsc +5 -5
  525. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  526. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  527. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  528. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  529. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  530. package/app/.next-cli-build/server/app/page.js +1 -1
  531. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  532. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  533. package/app/.next-cli-build/server/app-paths-manifest.json +14 -12
  534. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  535. package/app/.next-cli-build/server/chunks/24.js +1 -1
  536. package/app/.next-cli-build/server/chunks/318.js +23 -15
  537. package/app/.next-cli-build/server/chunks/3225.js +1 -1
  538. package/app/.next-cli-build/server/chunks/3490.js +1 -0
  539. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  540. package/app/.next-cli-build/server/chunks/3558.js +1 -1
  541. package/app/.next-cli-build/server/chunks/3753.js +1 -1
  542. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  543. package/app/.next-cli-build/server/chunks/4037.js +1 -1
  544. package/app/.next-cli-build/server/chunks/412.js +5 -5
  545. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  546. package/app/.next-cli-build/server/chunks/4152.js +1 -0
  547. package/app/.next-cli-build/server/chunks/436.js +1 -1
  548. package/app/.next-cli-build/server/chunks/4572.js +1 -1
  549. package/app/.next-cli-build/server/chunks/4884.js +3 -3
  550. package/app/.next-cli-build/server/chunks/{3193.js → 5285.js} +51 -51
  551. package/app/.next-cli-build/server/chunks/5615.js +21 -2
  552. package/app/.next-cli-build/server/chunks/6922.js +1 -1
  553. package/app/.next-cli-build/server/chunks/7011.js +1 -1
  554. package/app/.next-cli-build/server/chunks/7211.js +1 -1
  555. package/app/.next-cli-build/server/chunks/7220.js +1 -0
  556. package/app/.next-cli-build/server/chunks/7524.js +1 -0
  557. package/app/.next-cli-build/server/chunks/8236.js +1 -1
  558. package/app/.next-cli-build/server/chunks/827.js +1 -1
  559. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  560. package/app/.next-cli-build/server/chunks/8416.js +1 -0
  561. package/app/.next-cli-build/server/chunks/8499.js +6 -6
  562. package/app/.next-cli-build/server/chunks/8628.js +1 -0
  563. package/app/.next-cli-build/server/chunks/8635.js +1 -1
  564. package/app/.next-cli-build/server/chunks/869.js +1 -1
  565. package/app/.next-cli-build/server/chunks/8895.js +5 -11
  566. package/app/.next-cli-build/server/chunks/9128.js +1 -0
  567. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  569. package/app/.next-cli-build/server/middleware.js +2 -2
  570. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  571. package/app/.next-cli-build/server/pages/404.html +1 -1
  572. package/app/.next-cli-build/server/pages/500.html +1 -1
  573. package/app/.next-cli-build/static/chunks/1321-b7836dc184959aa5.js +1 -0
  574. package/app/.next-cli-build/static/chunks/{5497-f014d674ae071743.js → 5497-a3aa1159d255e86a.js} +5 -5
  575. package/app/.next-cli-build/static/chunks/{6639-6558955a29787152.js → 6656-3e958a8d18a3ea5f.js} +11 -11
  576. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-7293b5299c891da8.js → page-24512774d91a05e4.js} +1 -1
  577. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-c2368ce674af4465.js → page-b7c2a57627806825.js} +1 -1
  578. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-f9d699c7c93151ee.js → page-17fb707c4ec980fc.js} +1 -1
  579. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-ff6932f680f13961.js → page-9f4b1df6277439bd.js} +4 -4
  580. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-4b5054e85975122f.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-7a7d70c435e777c7.js → layout-d80bf51e8e0a4c80.js} +1 -1
  582. package/app/.next-cli-build/static/chunks/app/_global-error/page-b01550c0e5fd888b.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-b01550c0e5fd888b.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-b01550c0e5fd888b.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-b01550c0e5fd888b.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-b01550c0e5fd888b.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-b01550c0e5fd888b.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-b01550c0e5fd888b.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-b01550c0e5fd888b.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-b01550c0e5fd888b.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-b01550c0e5fd888b.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-b01550c0e5fd888b.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-b01550c0e5fd888b.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-b01550c0e5fd888b.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-b01550c0e5fd888b.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-b01550c0e5fd888b.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-b01550c0e5fd888b.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-b01550c0e5fd888b.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-b01550c0e5fd888b.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-b01550c0e5fd888b.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-b01550c0e5fd888b.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-b01550c0e5fd888b.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-b01550c0e5fd888b.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-b01550c0e5fd888b.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-b01550c0e5fd888b.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-b01550c0e5fd888b.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-b01550c0e5fd888b.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-b01550c0e5fd888b.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-b01550c0e5fd888b.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-b01550c0e5fd888b.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-b01550c0e5fd888b.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-b01550c0e5fd888b.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-b01550c0e5fd888b.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/combos/route-b01550c0e5fd888b.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-b01550c0e5fd888b.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-b01550c0e5fd888b.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-b01550c0e5fd888b.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-b01550c0e5fd888b.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-b01550c0e5fd888b.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-b01550c0e5fd888b.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/health/route-b01550c0e5fd888b.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/init/route-b01550c0e5fd888b.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-b01550c0e5fd888b.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/keys/route-b01550c0e5fd888b.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/locale/route-b01550c0e5fd888b.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-b01550c0e5fd888b.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-b01550c0e5fd888b.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-b01550c0e5fd888b.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-b01550c0e5fd888b.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-b01550c0e5fd888b.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-b01550c0e5fd888b.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-b01550c0e5fd888b.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-b01550c0e5fd888b.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-b01550c0e5fd888b.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-b01550c0e5fd888b.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-b01550c0e5fd888b.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-b01550c0e5fd888b.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/models/route-b01550c0e5fd888b.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/models/test/route-b01550c0e5fd888b.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-b01550c0e5fd888b.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-b01550c0e5fd888b.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-b01550c0e5fd888b.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-b01550c0e5fd888b.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-b01550c0e5fd888b.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-b01550c0e5fd888b.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-b01550c0e5fd888b.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-b01550c0e5fd888b.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-b01550c0e5fd888b.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-b01550c0e5fd888b.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-b01550c0e5fd888b.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-b01550c0e5fd888b.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-b01550c0e5fd888b.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-b01550c0e5fd888b.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-b01550c0e5fd888b.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-b01550c0e5fd888b.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/pricing/route-b01550c0e5fd888b.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-b01550c0e5fd888b.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-b01550c0e5fd888b.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-b01550c0e5fd888b.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-b01550c0e5fd888b.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-b01550c0e5fd888b.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-b01550c0e5fd888b.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-b01550c0e5fd888b.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-b01550c0e5fd888b.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-b01550c0e5fd888b.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/providers/route-b01550c0e5fd888b.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-b01550c0e5fd888b.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-b01550c0e5fd888b.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-b01550c0e5fd888b.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-b01550c0e5fd888b.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-b01550c0e5fd888b.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-b01550c0e5fd888b.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-b01550c0e5fd888b.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-b01550c0e5fd888b.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-b01550c0e5fd888b.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-b01550c0e5fd888b.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-b01550c0e5fd888b.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-b01550c0e5fd888b.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-b01550c0e5fd888b.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-b01550c0e5fd888b.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-b01550c0e5fd888b.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-b01550c0e5fd888b.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-b01550c0e5fd888b.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-b01550c0e5fd888b.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-b01550c0e5fd888b.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-b01550c0e5fd888b.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/settings/route-b01550c0e5fd888b.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-b01550c0e5fd888b.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/tags/route-b01550c0e5fd888b.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-b01550c0e5fd888b.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-b01550c0e5fd888b.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-b01550c0e5fd888b.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-b01550c0e5fd888b.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-b01550c0e5fd888b.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-b01550c0e5fd888b.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-b01550c0e5fd888b.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-b01550c0e5fd888b.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-b01550c0e5fd888b.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-b01550c0e5fd888b.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-b01550c0e5fd888b.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-b01550c0e5fd888b.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-b01550c0e5fd888b.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-b01550c0e5fd888b.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-b01550c0e5fd888b.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-b01550c0e5fd888b.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-b01550c0e5fd888b.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-b01550c0e5fd888b.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-b01550c0e5fd888b.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-b01550c0e5fd888b.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-b01550c0e5fd888b.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-b01550c0e5fd888b.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-b01550c0e5fd888b.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-b01550c0e5fd888b.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-b01550c0e5fd888b.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-b01550c0e5fd888b.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-b01550c0e5fd888b.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-b01550c0e5fd888b.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-b01550c0e5fd888b.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-b01550c0e5fd888b.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-b01550c0e5fd888b.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-b01550c0e5fd888b.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-b01550c0e5fd888b.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-b01550c0e5fd888b.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-b01550c0e5fd888b.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-b01550c0e5fd888b.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-b01550c0e5fd888b.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/v1/route-b01550c0e5fd888b.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-b01550c0e5fd888b.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-b01550c0e5fd888b.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-b01550c0e5fd888b.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-b01550c0e5fd888b.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-b01550c0e5fd888b.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-b01550c0e5fd888b.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-b01550c0e5fd888b.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-b01550c0e5fd888b.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/version/route-b01550c0e5fd888b.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-b01550c0e5fd888b.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/version/update/route-b01550c0e5fd888b.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-b01550c0e5fd888b.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/page-b01550c0e5fd888b.js +1 -0
  741. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-b01550c0e5fd888b.js +1 -0
  742. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-b01550c0e5fd888b.js +1 -0
  743. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-b01550c0e5fd888b.js +1 -0
  744. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-b01550c0e5fd888b.js +1 -0
  745. package/app/.next-cli-build/static/lT_m29PZoyMEswZrqhKVs/_buildManifest.js +1 -0
  746. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  747. package/app/package.json +1 -1
  748. package/app/src/lib/oauth/providers/xiaomi-mimo.js +123 -0
  749. package/package.json +1 -1
  750. package/src/cli/utils/modelSelector.js +182 -45
  751. package/app/.next-cli-build/server/chunks/2051.js +0 -1
  752. package/app/.next-cli-build/server/chunks/2112.js +0 -1
  753. package/app/.next-cli-build/server/chunks/3284.js +0 -1
  754. package/app/.next-cli-build/server/chunks/5612.js +0 -1
  755. package/app/.next-cli-build/server/chunks/9381.js +0 -1
  756. package/app/.next-cli-build/static/chunks/1321-cb0ab4daf4a3ef56.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-abfc8e5e87ff975b.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/_global-error/page-abd10cc0f71d8acf.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-abd10cc0f71d8acf.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-abd10cc0f71d8acf.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-abd10cc0f71d8acf.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-abd10cc0f71d8acf.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-abd10cc0f71d8acf.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-abd10cc0f71d8acf.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-abd10cc0f71d8acf.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-abd10cc0f71d8acf.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-abd10cc0f71d8acf.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-abd10cc0f71d8acf.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-abd10cc0f71d8acf.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-abd10cc0f71d8acf.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-abd10cc0f71d8acf.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-abd10cc0f71d8acf.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-abd10cc0f71d8acf.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-abd10cc0f71d8acf.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-abd10cc0f71d8acf.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-abd10cc0f71d8acf.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-abd10cc0f71d8acf.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-abd10cc0f71d8acf.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-abd10cc0f71d8acf.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-abd10cc0f71d8acf.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-abd10cc0f71d8acf.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-abd10cc0f71d8acf.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-abd10cc0f71d8acf.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-abd10cc0f71d8acf.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-abd10cc0f71d8acf.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-abd10cc0f71d8acf.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-abd10cc0f71d8acf.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-abd10cc0f71d8acf.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-abd10cc0f71d8acf.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/combos/route-abd10cc0f71d8acf.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-abd10cc0f71d8acf.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-abd10cc0f71d8acf.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-abd10cc0f71d8acf.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-abd10cc0f71d8acf.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-abd10cc0f71d8acf.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-abd10cc0f71d8acf.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/health/route-abd10cc0f71d8acf.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/init/route-abd10cc0f71d8acf.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-abd10cc0f71d8acf.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/keys/route-abd10cc0f71d8acf.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/locale/route-abd10cc0f71d8acf.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-abd10cc0f71d8acf.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-abd10cc0f71d8acf.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-abd10cc0f71d8acf.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-abd10cc0f71d8acf.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-abd10cc0f71d8acf.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-abd10cc0f71d8acf.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-abd10cc0f71d8acf.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-abd10cc0f71d8acf.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-abd10cc0f71d8acf.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-abd10cc0f71d8acf.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-abd10cc0f71d8acf.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-abd10cc0f71d8acf.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/models/route-abd10cc0f71d8acf.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/models/test/route-abd10cc0f71d8acf.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-abd10cc0f71d8acf.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-abd10cc0f71d8acf.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-abd10cc0f71d8acf.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-abd10cc0f71d8acf.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-abd10cc0f71d8acf.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-abd10cc0f71d8acf.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-abd10cc0f71d8acf.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-abd10cc0f71d8acf.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-abd10cc0f71d8acf.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-abd10cc0f71d8acf.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-abd10cc0f71d8acf.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-abd10cc0f71d8acf.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-abd10cc0f71d8acf.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-abd10cc0f71d8acf.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/pricing/route-abd10cc0f71d8acf.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-abd10cc0f71d8acf.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-abd10cc0f71d8acf.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-abd10cc0f71d8acf.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-abd10cc0f71d8acf.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-abd10cc0f71d8acf.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-abd10cc0f71d8acf.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-abd10cc0f71d8acf.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-abd10cc0f71d8acf.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-abd10cc0f71d8acf.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/providers/route-abd10cc0f71d8acf.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-abd10cc0f71d8acf.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-abd10cc0f71d8acf.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-abd10cc0f71d8acf.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-abd10cc0f71d8acf.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-abd10cc0f71d8acf.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-abd10cc0f71d8acf.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-abd10cc0f71d8acf.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-abd10cc0f71d8acf.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-abd10cc0f71d8acf.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-abd10cc0f71d8acf.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-abd10cc0f71d8acf.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-abd10cc0f71d8acf.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-abd10cc0f71d8acf.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-abd10cc0f71d8acf.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-abd10cc0f71d8acf.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-abd10cc0f71d8acf.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-abd10cc0f71d8acf.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-abd10cc0f71d8acf.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-abd10cc0f71d8acf.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-abd10cc0f71d8acf.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/settings/route-abd10cc0f71d8acf.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-abd10cc0f71d8acf.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/tags/route-abd10cc0f71d8acf.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-abd10cc0f71d8acf.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-abd10cc0f71d8acf.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-abd10cc0f71d8acf.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-abd10cc0f71d8acf.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-abd10cc0f71d8acf.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-abd10cc0f71d8acf.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-abd10cc0f71d8acf.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-abd10cc0f71d8acf.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-abd10cc0f71d8acf.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-abd10cc0f71d8acf.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-abd10cc0f71d8acf.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-abd10cc0f71d8acf.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-abd10cc0f71d8acf.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-abd10cc0f71d8acf.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-abd10cc0f71d8acf.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-abd10cc0f71d8acf.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-abd10cc0f71d8acf.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-abd10cc0f71d8acf.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-abd10cc0f71d8acf.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-abd10cc0f71d8acf.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-abd10cc0f71d8acf.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-abd10cc0f71d8acf.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-abd10cc0f71d8acf.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-abd10cc0f71d8acf.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-abd10cc0f71d8acf.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-abd10cc0f71d8acf.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-abd10cc0f71d8acf.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-abd10cc0f71d8acf.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-abd10cc0f71d8acf.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-abd10cc0f71d8acf.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-abd10cc0f71d8acf.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-abd10cc0f71d8acf.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-abd10cc0f71d8acf.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-abd10cc0f71d8acf.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-abd10cc0f71d8acf.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-abd10cc0f71d8acf.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-abd10cc0f71d8acf.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/v1/route-abd10cc0f71d8acf.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-abd10cc0f71d8acf.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-abd10cc0f71d8acf.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-abd10cc0f71d8acf.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-abd10cc0f71d8acf.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-abd10cc0f71d8acf.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-abd10cc0f71d8acf.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-abd10cc0f71d8acf.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-abd10cc0f71d8acf.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/version/route-abd10cc0f71d8acf.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-abd10cc0f71d8acf.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/version/update/route-abd10cc0f71d8acf.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-abd10cc0f71d8acf.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/page-abd10cc0f71d8acf.js +0 -1
  915. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-abd10cc0f71d8acf.js +0 -1
  916. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-abd10cc0f71d8acf.js +0 -1
  917. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-abd10cc0f71d8acf.js +0 -1
  918. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-abd10cc0f71d8acf.js +0 -1
  919. package/app/.next-cli-build/static/fKNEeW0xW0FqZn_GGs3Oo/_buildManifest.js +0 -1
  920. /package/app/.next-cli-build/static/{fKNEeW0xW0FqZn_GGs3Oo → lT_m29PZoyMEswZrqhKVs}/_ssgManifest.js +0 -0
@@ -0,0 +1,123 @@
1
+ import crypto from "crypto";
2
+ import { XIAOMI_MIMO_CONFIG } from "../constants/oauth.js";
3
+
4
+ // ───────────────────────────────────────────────────────────────────────────
5
+ // Xiaomi MiMo OAuth helpers
6
+ // Custom ECDH + AES-256-GCM encrypted-callback flow (NOT standard OAuth2).
7
+ // ───────────────────────────────────────────────────────────────────────────
8
+
9
+ /**
10
+ * Generate an X25519 keypair for the OAuth handshake.
11
+ * @returns {{ publicKey: string, privateKeyDer: Buffer }}
12
+ * publicKey — base64 SPKI (for the `pk` URL param)
13
+ * privateKeyDer — PKCS8 DER Buffer (for ECDH later)
14
+ */
15
+ export function generateKeyPair() {
16
+ const { publicKey, privateKey } = crypto.generateKeyPairSync("x25519");
17
+
18
+ const publicKeyDer = publicKey.export({ format: "der", type: "spki" });
19
+ // SPKI for X25519 is 44 bytes; the raw 32-byte key is the last 32 bytes.
20
+ // But the platform expects the full base64 SPKI — pass as-is.
21
+ const publicKeyB64 = publicKeyDer.toString("base64");
22
+
23
+ const privateKeyDer = privateKey.export({ format: "der", type: "pkcs8" });
24
+
25
+ return { publicKey: publicKeyB64, privateKeyDer };
26
+ }
27
+
28
+ /**
29
+ * Decrypt the `u` query parameter from the Xiaomi OAuth callback.
30
+ *
31
+ * Wire format (base64-decoded):
32
+ * bytes 0..11 — 12-byte AES-GCM nonce
33
+ * bytes 12..43 — 32-byte ephemeral public key (raw X25519)
34
+ * bytes 44..n-16 — ciphertext
35
+ * last 16 bytes — GCM auth tag
36
+ *
37
+ * Key derivation: SHA256(ECDH(clientPrivateKey, ephemeralPublicKey))
38
+ *
39
+ * @param {Buffer} privateKeyDer — PKCS8 DER private key from generateKeyPair()
40
+ * @param {string} encryptedB64 — the `u` query param value (base64)
41
+ * @returns {{ uid: string, sk: string, url?: string }}
42
+ */
43
+ export function decryptCallback(privateKeyDer, encryptedB64) {
44
+ const raw = Buffer.from(encryptedB64, "base64");
45
+
46
+ if (raw.length < 12 + 32 + 16 + 1) {
47
+ throw new Error(`Encrypted payload too short: ${raw.length} bytes`);
48
+ }
49
+
50
+ const nonce = raw.subarray(0, 12);
51
+ const ephemeralPubRaw = raw.subarray(12, 44);
52
+ const ciphertextAndTag = raw.subarray(44);
53
+ const tag = ciphertextAndTag.subarray(ciphertextAndTag.length - 16);
54
+ const ciphertext = ciphertextAndTag.subarray(0, ciphertextAndTag.length - 16);
55
+
56
+ // Reconstruct the ephemeral public key as SPKI DER for Node crypto.
57
+ // X25519 SPKI prefix: 302a300506032b656e032100
58
+ const ephemeralPub = crypto.createPublicKey({
59
+ key: Buffer.concat([
60
+ Buffer.from("302a300506032b656e032100", "hex"),
61
+ ephemeralPubRaw,
62
+ ]),
63
+ format: "der",
64
+ type: "spki",
65
+ });
66
+
67
+ const privateKey = crypto.createPrivateKey({
68
+ key: privateKeyDer,
69
+ format: "der",
70
+ type: "pkcs8",
71
+ });
72
+
73
+ const sharedSecret = crypto.diffieHellman({ privateKey, publicKey: ephemeralPub });
74
+ const derivedKey = crypto.createHash("sha256").update(sharedSecret).digest();
75
+
76
+ const decipher = crypto.createDecipheriv("aes-256-gcm", derivedKey, nonce);
77
+ decipher.setAuthTag(tag);
78
+ const decrypted = Buffer.concat([decipher.update(ciphertext), decipher.final()]);
79
+
80
+ const parsed = JSON.parse(decrypted.toString("utf-8"));
81
+
82
+ if (!parsed || typeof parsed !== "object") {
83
+ throw new Error("Decrypted payload is not a valid object");
84
+ }
85
+
86
+ return {
87
+ uid: parsed.uid || null,
88
+ sk: parsed.sk || null,
89
+ url: parsed.url || XIAOMI_MIMO_CONFIG.defaultBaseUrl,
90
+ };
91
+ }
92
+
93
+ /**
94
+ * Build the browser authorization URL.
95
+ * @param {string} publicKey — base64 SPKI from generateKeyPair()
96
+ * @param {string} redirectUri — e.g. http://localhost:12345/
97
+ * @param {string} [keyName] — optional stable key name
98
+ * @returns {string}
99
+ */
100
+ export function buildAuthorizeUrl(publicKey, redirectUri, keyName) {
101
+ const params = new URLSearchParams({
102
+ pk: publicKey,
103
+ redirect_uri: redirectUri,
104
+ kn: XIAOMI_MIMO_CONFIG.kn,
105
+ });
106
+ if (keyName) params.set("key_name", keyName);
107
+ return `${XIAOMI_MIMO_CONFIG.platformUrl}/authorize?${params.toString()}`;
108
+ }
109
+
110
+ /**
111
+ * Get or create a stable key name for this installation.
112
+ * Stored in the 9Router data dir so re-auth reuses the same name.
113
+ */
114
+ export function getKeyName() {
115
+ // Use a deterministic name based on machine — avoids needing filesystem writes
116
+ // in the OAuth provider layer. The platform treats key_name as a label only.
117
+ const machineId = crypto
118
+ .createHash("sha256")
119
+ .update(`${process.platform}-${process.env.COMPUTERNAME || process.env.HOSTNAME || "unknown"}`)
120
+ .digest("hex")
121
+ .slice(0, 8);
122
+ return `9router-xmd-${machineId}`;
123
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "9router",
3
- "version": "0.5.69",
3
+ "version": "0.5.75",
4
4
  "description": "9Router CLI - Start and manage 9Router server",
5
5
  "bin": {
6
6
  "9router": "./cli.js"
@@ -55,7 +55,7 @@ async function getAvailableModelsGrouped() {
55
55
  }
56
56
 
57
57
  /**
58
- * Display model list and prompt for selection
58
+ * Display model list and prompt for selection with provider grouping & search
59
59
  * @param {string} title - Title to display
60
60
  * @param {string} currentValue - Current selected value (optional)
61
61
  * @param {Object} options - { excludeCombos?: boolean }
@@ -70,62 +70,199 @@ async function selectModelFromList(title, currentValue = "", options = {}) {
70
70
  if (totalModels === 0) {
71
71
  return null;
72
72
  }
73
-
74
- // Build flat list for selection
75
- const allModels = [];
76
-
77
- // Display
78
- clearScreen();
79
- console.log(`\nđŸŽ¯ ${title}`);
80
- console.log("=".repeat(50));
81
- if (currentValue) {
82
- console.log(`Current: ${currentValue}\n`);
83
- } else {
84
- console.log();
85
- }
86
-
87
- let idx = 1;
88
-
89
- // Combos first (skipped when excludeCombos is true)
73
+
74
+ // All models for flat search
75
+ const allModelsList = [
76
+ ...combos,
77
+ ...Object.values(groups).flat()
78
+ ];
79
+
80
+ // Build category list
81
+ const categories = [];
90
82
  if (combos.length > 0) {
91
- console.log("[Combos]");
92
- combos.forEach(combo => {
93
- console.log(` ${idx}. ${combo}`);
94
- allModels.push(combo);
95
- idx++;
83
+ categories.push({
84
+ id: "combos",
85
+ name: "[Combos]",
86
+ models: combos
96
87
  });
97
- console.log();
98
88
  }
99
-
100
- // Provider groups in order (by alias)
89
+
101
90
  const sortedProviders = Object.keys(groups).sort((a, b) => {
102
91
  const idxA = PROVIDER_ALIAS_ORDER.indexOf(a);
103
92
  const idxB = PROVIDER_ALIAS_ORDER.indexOf(b);
104
93
  return (idxA === -1 ? 999 : idxA) - (idxB === -1 ? 999 : idxB);
105
94
  });
106
-
107
- sortedProviders.forEach(provider => {
95
+
96
+ sortedProviders.forEach((provider) => {
108
97
  const providerName = PROVIDER_ALIAS_NAMES[provider] || provider;
109
- console.log(`[${providerName}]`);
110
- groups[provider].forEach(model => {
111
- console.log(` ${idx}. ${model}`);
112
- allModels.push(model);
113
- idx++;
98
+ categories.push({
99
+ id: provider,
100
+ name: providerName,
101
+ models: groups[provider]
114
102
  });
115
- console.log();
116
103
  });
117
-
118
- console.log(" 0. Cancel\n");
119
-
120
- // Prompt for number input
121
- const input = await prompt("Enter number: ");
122
- const num = parseInt(input, 10);
123
-
124
- if (isNaN(num) || num === 0 || num < 0 || num > allModels.length) {
125
- return null;
104
+
105
+ let filterQuery = null;
106
+
107
+ while (true) {
108
+ clearScreen();
109
+ console.log(`\nđŸŽ¯ ${title}`);
110
+ console.log("=".repeat(50));
111
+ if (currentValue) {
112
+ console.log(`Current: ${currentValue}\n`);
113
+ } else {
114
+ console.log();
115
+ }
116
+
117
+ // Active search view
118
+ if (filterQuery !== null) {
119
+ const q = filterQuery.toLowerCase().trim();
120
+ const matched = allModelsList.filter((m) => m.toLowerCase().includes(q));
121
+
122
+ console.log(`🔍 Search results for "${filterQuery}": (${matched.length} found)\n`);
123
+ if (matched.length === 0) {
124
+ console.log(" No matching models found.\n");
125
+ console.log(" 0. ← Back to providers");
126
+ console.log(" s. Search again\n");
127
+ const act = await prompt("Select option: ");
128
+ if (act.toLowerCase() === "s") {
129
+ const newQ = await prompt("Enter search keyword: ");
130
+ filterQuery = newQ.trim() || null;
131
+ } else {
132
+ filterQuery = null;
133
+ }
134
+ continue;
135
+ }
136
+
137
+ matched.forEach((m, i) => {
138
+ console.log(` ${i + 1}. ${m}`);
139
+ });
140
+ console.log("\n 0. ← Back to providers");
141
+ console.log(" s. Search again\n");
142
+
143
+ const input = await prompt("Enter number to select (or 0/s): ");
144
+ if (input.toLowerCase() === "s") {
145
+ const newQ = await prompt("Enter search keyword: ");
146
+ filterQuery = newQ.trim() || null;
147
+ continue;
148
+ }
149
+ const num = parseInt(input, 10);
150
+ if (isNaN(num) || num === 0) {
151
+ filterQuery = null;
152
+ continue;
153
+ }
154
+ if (num > 0 && num <= matched.length) {
155
+ return matched[num - 1];
156
+ }
157
+ continue;
158
+ }
159
+
160
+ // If only 1 category exists, jump straight into its model list
161
+ if (categories.length === 1) {
162
+ const singleCategory = categories[0];
163
+ console.log(`[${singleCategory.name}]`);
164
+ singleCategory.models.forEach((m, i) => {
165
+ console.log(` ${i + 1}. ${m}`);
166
+ });
167
+ console.log();
168
+ console.log(" s. 🔍 Search models");
169
+ console.log(" m. âœī¸ Enter custom model ID");
170
+ console.log(" 0. Cancel\n");
171
+
172
+ const input = await prompt("Enter choice (number / s / m / 0): ");
173
+ const trimmed = input.trim();
174
+ if (!trimmed || trimmed === "0") return null;
175
+
176
+ const lower = trimmed.toLowerCase();
177
+ if (lower === "s") {
178
+ const q = await prompt("Enter search keyword: ");
179
+ if (q.trim()) filterQuery = q.trim();
180
+ continue;
181
+ }
182
+ if (lower === "m") {
183
+ const customModel = await prompt("Enter custom model ID: ");
184
+ if (customModel.trim()) return customModel.trim();
185
+ continue;
186
+ }
187
+
188
+ const num = parseInt(trimmed, 10);
189
+ if (!isNaN(num) && num > 0 && num <= singleCategory.models.length) {
190
+ return singleCategory.models[num - 1];
191
+ }
192
+ filterQuery = trimmed;
193
+ continue;
194
+ }
195
+
196
+ // Multiple categories view
197
+ console.log("[Providers & Groups]");
198
+ categories.forEach((cat, i) => {
199
+ console.log(` ${i + 1}. ${cat.name} (${cat.models.length} models)`);
200
+ });
201
+
202
+ console.log();
203
+ console.log(" s. 🔍 Search models");
204
+ console.log(" m. âœī¸ Enter custom model ID");
205
+ console.log(" 0. Cancel\n");
206
+
207
+ const input = await prompt("Enter choice (number / keyword / s / m): ");
208
+ const trimmed = input.trim();
209
+
210
+ if (!trimmed || trimmed === "0") {
211
+ return null;
212
+ }
213
+
214
+ const lower = trimmed.toLowerCase();
215
+ if (lower === "s") {
216
+ const q = await prompt("Enter search keyword: ");
217
+ if (q.trim()) {
218
+ filterQuery = q.trim();
219
+ }
220
+ continue;
221
+ }
222
+
223
+ if (lower === "m") {
224
+ const customModel = await prompt("Enter custom model ID: ");
225
+ if (customModel.trim()) {
226
+ return customModel.trim();
227
+ }
228
+ continue;
229
+ }
230
+
231
+ const num = parseInt(trimmed, 10);
232
+ // Selected a category
233
+ if (!isNaN(num) && num > 0 && num <= categories.length) {
234
+ const selectedCategory = categories[num - 1];
235
+
236
+ while (true) {
237
+ clearScreen();
238
+ console.log(`\nđŸŽ¯ ${title} > ${selectedCategory.name}`);
239
+ console.log("=".repeat(50));
240
+ if (currentValue) {
241
+ console.log(`Current: ${currentValue}\n`);
242
+ } else {
243
+ console.log();
244
+ }
245
+
246
+ selectedCategory.models.forEach((m, i) => {
247
+ console.log(` ${i + 1}. ${m}`);
248
+ });
249
+ console.log("\n 0. ← Back\n");
250
+
251
+ const modelChoice = await prompt("Enter number to select (0 to back): ");
252
+ const modelNum = parseInt(modelChoice, 10);
253
+ if (isNaN(modelNum) || modelNum === 0) {
254
+ break;
255
+ }
256
+ if (modelNum > 0 && modelNum <= selectedCategory.models.length) {
257
+ return selectedCategory.models[modelNum - 1];
258
+ }
259
+ }
260
+ continue;
261
+ }
262
+
263
+ // User typed text directly -> treat as search query
264
+ filterQuery = trimmed;
126
265
  }
127
-
128
- return allModels[num - 1];
129
266
  }
130
267
 
131
268
  module.exports = {
@@ -1 +0,0 @@
1
- "use strict";exports.id=2051,exports.ids=[2051],exports.modules={52007:(a,b,c)=>{c.d(b,{av:()=>o,gK:()=>m});var d=c(55511),e=c(39609);let f="https://llm.kimchi.dev",g=new Set([429,500,502,503,504]),h=new Map,i=new Map;function j(a){return(("string"==typeof a?a.trim():"")||f).replace(/\/+$/,"")}function k(a){return a?.accessToken||a?.apiKey||a?.providerSpecificData?.apiKey||null}function l(a){if(!a||"object"!=typeof a)return null;let b=a.slug||a.id||a.model||a.name;if("string"!=typeof b||""===b.trim())return null;let c=Array.isArray(a.input_modalities)?a.input_modalities.filter(a=>"text"===a||"image"===a):[],d=a.limits&&"object"==typeof a.limits?a.limits:{},e=Number(d.context_window||a.contextLength||a.context_length)||void 0,f=Number(d.max_output_tokens||a.maxOutputTokens||a.max_output_tokens)||void 0,g="string"==typeof a.provider?a.provider:"",h=!0===a.reasoning,i=Array.isArray(c)&&c.includes("image")?"imageToText":"llm",j={...a,id:b.trim(),name:String(a.display_name||a.displayName||a.name||b).trim(),provider:g,upstreamProvider:g,reasoning:h,inputModalities:c,kind:i,type:i,capabilities:{vision:c.includes("image"),reasoning:h,...e?{contextWindow:e}:{},...f?{maxOutput:f}:{},...g?{upstreamProvider:g}:{}},...e?{contextLength:e}:{},...f?{maxOutputTokens:f}:{}};return"anthropic"===g&&(j.compat={supportsReasoningEffort:!1,cacheControlFormat:"anthropic"}),j}function m(a){if("string"!=typeof a||""===a.trim())return null;let b=a.includes("/")?a.split("/").pop():a;return i.get(b)||i.get(b.toLowerCase())||null}async function n(a,b,c={}){let d=`${j(b)}/v1/models/metadata?include_in_cli=true`,f=new AbortController,h=setTimeout(()=>f.abort(Error("Kimchi models fetch timeout")),2e4),i=c.signal?AbortSignal.any([c.signal,f.signal]):f.signal;try{let b=await (0,e.proxyAwareFetch)(d,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`,"User-Agent":"kimchi/0.1.40"},cache:"no-store",signal:i},c.proxyOptions||null);if(!b.ok){let a=Error(`Kimchi models ${b.status}: ${b.statusText}`);throw a.status=b.status,a.retryable=g.has(b.status),a}let f=await b.json();return Array.isArray(f?.models)?f.models:[]}finally{clearTimeout(h)}}async function o(a,b={}){let c,e,g,m=k(a);if(!m)return null;let p=a?.providerSpecificData?.kimchiEndpoint||b.endpoint||f,q=(g=(e=a?.providerSpecificData||{}).userId||e.username||a?.refreshToken||k(a)||"anonymous",(0,d.createHash)("sha256").update(`kimchi:${j(p)}:${g}`).digest("hex")),r=Date.now();if(!b.forceRefresh){let a=h.get(q);if(a&&a.expiresAt>r)return a}try{c=await n(m,p,b)}catch(a){return b.log?.warn?.("KIMCHI_MODELS",a.message),null}let s=c.map(l).filter(Boolean);if(0===s.length)return null;for(let a of s||[])a?.id&&(i.set(a.id,a),i.set(a.id.toLowerCase(),a));let t={expiresAt:Date.now()+3e5,models:s,rawModels:c};return h.set(q,t),t}},55456:(a,b,c)=>{c.d(b,{CP:()=>r,Xh:()=>l,Y8:()=>q,tM:()=>n,yI:()=>o});var d=c(94755),e=c(74075),f=c.n(e);let g="1"===process.env.CURSOR_PROTOBUF_DEBUG,h=(a,...b)=>g&&console.log(`[PROTOBUF:${a}]`,...b);new TextDecoder;let i="1.1.3",j=new Set([1,2,3,9,10,11,27,1,25]);function k(a){let b=[];for(;a>=128;)b.push(127&a|128),a>>>=7;return b.push(127&a),new Uint8Array(b)}function l(a,b,c){let d=k(a<<3|b);if(0===b)return m(d,k(c));if(2===b){let a="string"==typeof c?new TextEncoder().encode(c):c instanceof Uint8Array?c:Buffer.isBuffer(c)?new Uint8Array(c):new Uint8Array(0);return m(d,k(a.length),a)}return new Uint8Array(0)}function m(...a){let b=new Uint8Array(a.reduce((a,b)=>a+b.length,0)),c=0;for(let d of a)b.set(d,c),c+=d.length;return b}function n(a,b=!1){let c=a,d=0;b&&(c=new Uint8Array(f().gzipSync(Buffer.from(a))),d=1);let e=new Uint8Array(5+c.length);return e[0]=d,e[1]=c.length>>24&255,e[2]=c.length>>16&255,e[3]=c.length>>8&255,e[4]=255&c.length,e.set(c,5),e}function o(a,b,c=[],e=null,f=!1){h("BODY",`Generating: ${a.length} msgs, model=${b}, tools=${c.length}, reasoning=${e||"none"}, forceAgentMode=${f}`);let g=function(a,b,c=[],e=null,f=!1){return l(1,2,function(a,b,c=[],e=null,f=!1){let g,i=c?.length>0,j=i||f,n=[],o=[],p=[];for(let b=0;b<a.length;b++){let c=a[b],d=Array.isArray(c?.tool_calls)&&c.tool_calls.length>0,e=Array.isArray(c?.tool_results)&&c.tool_results.length>0;if(c?.role==="assistant"&&d&&e){h("ENCODE",`normalizing mixed assistant tool payload at msg[${b}] (calls=${c.tool_calls.length}, results=${c.tool_results.length})`),p.push({...c,tool_results:[]});let d=a[b+1],e=d?.role==="assistant"&&Array.isArray(d?.tool_results)&&d.tool_results.length>0,f=new Set(c.tool_results.map(a=>a?.tool_call_id).filter(a=>"string"==typeof a)),g=new Set((d?.tool_results||[]).map(a=>a?.tool_call_id).filter(a=>"string"==typeof a)),i=f.size>0&&f.size===g.size;if(i){for(let a of f)if(!g.has(a)){i=!1;break}}e&&i||p.push({role:"assistant",content:"",tool_results:c.tool_results});continue}p.push(c)}for(let a=0;a<p.length;a++){let b=p[a],c="user"===b.role?1:2,e=(0,d.A)(),f=a===p.length-1;n.push({content:b.content,role:c,messageId:e,isLast:f,hasTools:i,toolResults:b.tool_results||[]}),o.push({messageId:e,role:c})}let q=0;return"medium"===e?q=1:"high"===e&&(q=2),m(...n.map(a=>l(1,2,function(a,b,c,d=!1,e=!1,f=[],g=null){let h=f.length>0;return m(l(1,2,a),l(2,0,b),l(13,2,c),...g?[l(32,2,g)]:[],...h?f.map(a=>l(18,2,function(a){var b;let c,d,e=function(a){let b="string"==typeof a&&a.length>0?a:"tool";if(b.startsWith("mcp__")){let a=b.slice(5),c=a.indexOf("__");if(c>=0){let b=a.slice(0,c)||"custom",d=a.slice(c+2)||"tool";return`mcp_${b}_${d}`}return`mcp_custom_${a||"tool"}`}return b.startsWith("mcp_")?b:`mcp_custom_${b}`}(a.tool_name||a.name||""),f=a.raw_args||"{}",g=a.result_content||a.result||"",{toolCallId:h,modelCallId:i}=(b=a.tool_call_id||"",c="\nmc_",(d=b.indexOf(c))>=0?{toolCallId:b.slice(0,d),modelCallId:b.slice(d+c.length)}:{toolCallId:b,modelCallId:null}),j=a.tool_index||a.index||1,{serverName:k,selectedTool:n}=function(a){if("string"!=typeof a||!a.startsWith("mcp_"))return{serverName:"custom",selectedTool:a||"tool"};let b=a.slice(4),c=b.indexOf("_");return c<0?{serverName:"custom",selectedTool:b||"tool"}:{serverName:b.slice(0,c)||"custom",selectedTool:b.slice(c+1)||"tool"}}(e);return m(l(1,2,h),l(2,2,e),l(3,0,j>0?j:1),...i?[l(12,2,i)]:[],l(5,2,f),l(8,2,function(a,b,c,d,e=1){return m(l(1,0,19),l(28,2,m(l(1,2,c),l(2,2,d))),l(35,2,a),...b?[l(48,2,b)]:[],l(49,0,e>0?e:1))}(h,i,n,g,j)),l(11,2,function(a,b,c,d,e,f,g=1){let h;return m(l(1,0,19),l(27,2,(h=m(l(1,2,c),l(3,2,e),l(4,2,d)),l(1,2,h))),l(3,2,a),l(9,2,b),l(10,2,e),l(48,0,g>0?g:1),...f?[l(49,2,f)]:[])}(h,e,n,k,f,i,j)))}(a))):[],l(29,0,+!!e),l(47,0,e?2:1),...d&&e?[l(51,2,k(1))]:[])}(a.content,a.role,a.messageId,a.isLast,a.hasTools,a.toolResults))),l(2,0,1),l(3,2,new Uint8Array(0)),l(4,0,1),l(5,2,m(l(1,2,b),l(4,2,new Uint8Array(0)))),l(8,2,""),l(13,0,1),l(15,2,(g=m(l(1,2,new Uint8Array(0)),l(2,2,new Uint8Array(0))),m(l(1,2,"cursor\\aisettings"),l(3,2,new Uint8Array(0)),l(6,2,g),l(8,0,1),l(9,0,1)))),l(19,0,1),l(23,2,(0,d.A)()),l(26,2,m(l(1,2,process.platform||"linux"),l(2,2,process.arch||"x64"),l(3,2,process.version||"v20.0.0"),l(4,2,process.cwd?.()||"/"),l(5,2,new Date().toISOString()))),l(27,0,+!!j),...j?[l(29,2,k(1))]:[],...o.map(a=>l(30,2,function(a,b,c=null){return m(l(1,2,a),...c?[l(2,2,c)]:[],l(3,0,b))}(a.messageId,a.role))),...c?.length>0?c.map(a=>{let b,c,d;return l(34,2,(b=a.function?.name||a.name||"",c=a.function?.description||a.description||"",d=a.function?.parameters||a.input_schema||{},m(...b?[l(1,2,b)]:[],...c?[l(2,2,c)]:[],...Object.keys(d).length>0?[l(3,2,JSON.stringify(d))]:[],l(4,2,"custom"))))}):[],l(35,0,0),l(38,0,0),l(46,0,j?2:1),l(47,2,""),l(48,0,+!j),l(49,0,q),l(51,0,0),l(53,0,1),l(54,2,j?"Agent":"Ask"))}(a,b,c,e,f))}(a,b,c,e,f),i=n(g,!1);return h("BODY",`Protobuf=${g.length}B, Framed=${i.length}B`),i}function p(a,b){let c=0,d=0,e=b;for(;e<a.length;){let b=a[e];if(c|=(127&b)<<d,e++,!(128&b))break;d+=7}return[c,e]}function q(a){let b=new Map,c=0;for(;c<a.length;){let[d,e,f,g]=function(a,b){let c;if(b>=a.length)return[null,null,null,b];let[d,e]=p(a,b),f=7&d,g=e;if(0===f)[c,g]=p(a,g);else if(2===f){let[b,d]=p(a,g);c=a.slice(d,d+b),g=d+b}else 1===f?(c=a.slice(g,g+8),g+=8):5===f?(c=a.slice(g,g+4),g+=4):c=null;return[d>>3,f,c,g]}(a,c);if(null===d)break;b.has(d)||b.set(d,[]),b.get(d).push({wireType:e,value:f}),c=g}return b}function r(a){try{let b=q(a);for(let a of b.keys())j.has(a)||h("SCHEMA",`Unknown response field #${a} detected. Schema v${i} may be outdated.`);if(b.has(1)){let a=function(a){let b=q(a),c="",d="",e="",f=!1;if(b.has(3)&&(c=new TextDecoder().decode(b.get(3)[0].value).split("\n")[0]),b.has(9)&&(d=new TextDecoder().decode(b.get(9)[0].value)),b.has(11)&&(f=0!==b.get(11)[0].value),b.has(27))try{let a=q(b.get(27)[0].value);if(a.has(1)){let b=q(a.get(1)[0].value);b.has(1)&&(d=new TextDecoder().decode(b.get(1)[0].value)),b.has(3)&&(e=new TextDecoder().decode(b.get(3)[0].value))}}catch(a){h("EXTRACT",`MCP parse error: ${a.message}`)}return(!e&&b.has(10)&&(e=new TextDecoder().decode(b.get(10)[0].value)),c&&d)?{id:c,type:"function",function:{name:d,arguments:e||"{}"},isLast:f}:null}(b.get(1)[0].value);if(a)return h("EXTRACT",`Tool call: ${a.function.name}`),{text:null,error:null,toolCall:a,thinking:null}}if(b.has(2)){let{text:a,thinking:c}=function(a){let b=q(a),c=null,d=null;if(b.has(1)&&(c=new TextDecoder().decode(b.get(1)[0].value)),b.has(25))try{let a=q(b.get(25)[0].value);a.has(1)&&(d=new TextDecoder().decode(a.get(1)[0].value))}catch(a){h("EXTRACT",`Thinking parse error: ${a.message}`)}return{text:c,thinking:d}}(b.get(2)[0].value);if(a||c)return{text:a,error:null,toolCall:null,thinking:c}}return{text:null,error:null,toolCall:null,thinking:null}}catch(b){return h("EXTRACT",`Decode failed (schema v${i}): ${b.message}`),{text:null,error:null,toolCall:null,thinking:null,raw:Buffer.from(a).toString("base64"),decodeError:b.message}}}},81756:(a,b,c)=>{c.d(b,{JA:()=>h});var d=c(55511),e=c.n(d),f=c(85081);function g(a,b=""){return e().createHash("sha256").update(a+b).digest("hex")}function h(a,b=null,c=!0){let d=a.includes("::")?a.split("::")[1]:a,i=b||g(d,"machineId"),j=(0,f.Ay)(d,f.Ay.DNS),k=g(d),l=function(a){let b=Math.floor(Date.now()/1e6),c=new Uint8Array([b>>40&255,b>>32&255,b>>24&255,b>>16&255,b>>8&255,255&b]),d=165;for(let a=0;a<c.length;a++)c[a]=(c[a]^d)+a%256&255,d=c[a];let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",f="";for(let a=0;a<c.length;a+=3){let b=c[a],d=a+1<c.length?c[a+1]:0,g=a+2<c.length?c[a+2]:0;f+=e[b>>2],f+=e[(3&b)<<4|d>>4],a+1<c.length&&(f+=e[(15&d)<<2|g>>6]),a+2<c.length&&(f+=e[63&g])}return`${f}${a}`}(i),m="linux";"u">typeof process&&("win32"===process.platform?m="windows":"darwin"===process.platform&&(m="macos"));let n="x64";return"u">typeof process&&"arm64"===process.arch&&(n="aarch64"),{authorization:`Bearer ${d}`,"connect-accept-encoding":"gzip","connect-protocol-version":"1","content-type":"application/connect+proto","user-agent":"connect-es/1.6.1","x-amzn-trace-id":`Root=${e().randomUUID()}`,"x-client-key":k,"x-cursor-checksum":l,"x-cursor-client-version":"3.12.17","x-cursor-client-commit":"0fb762053c34788bb7760d5673f8a6d4c8589d50","x-cursor-client-type":"ide","x-cursor-client-os":m,"x-cursor-client-arch":n,"x-cursor-client-device-type":"desktop","x-cursor-config-version":e().randomUUID(),"x-cursor-timezone":Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC","x-ghost-mode":c?"true":"false","x-request-id":e().randomUUID(),"x-session-id":j}}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=2112,exports.ids=[2112],exports.modules={19225:(a,b,c)=>{a.exports=c(44870)},20669:(a,b,c)=>{c.d(b,{g:()=>w,s:()=>x});var d=c(80238),e=c(89718),f=c(38775),g=c(43659),h=c(41004),i=c(8521),j=c(26070);let k=Number(process.env.VIDEO_FETCH_TIMEOUT_MS||12e4),l=new Set(["generations","edits","extensions"]);function m(a){return j.B$[a]?.videoConfig||null}function n(a,b=null){if(!a)return a;let c=String(a).replace(/Bearer\s+[A-Za-z0-9._~+/=-]{8,}/gi,"Bearer [redacted]");for(let a of["accessToken","refreshToken","apiKey"]){let d=b?.[a];"string"==typeof d&&d.length>=8&&(c=c.split(d).join("[redacted]"))}return c}async function o({provider:a,action:b=null,requestId:c=null,rawBody:d=null,contentType:e=null,idempotencyKey:f=null,credentials:j,signal:p,timeoutMs:q=k,log:r,onCredentialsRefreshed:s}){let t,u,v,w=m(a);if(!w)return(0,g.A1)(h.gx.BAD_REQUEST,`Provider '${a}' does not support video generation`);if(!c&&!l.has(b))return(0,g.A1)(h.gx.BAD_REQUEST,`Unknown video action: ${b}`);let x=c?"GET":"POST",y=(u=w.baseUrl.replace(/\/$/,""),c?`${u}/${encodeURIComponent(c)}`:`${u}/${b}`),z=(v="function"==typeof AbortSignal?.timeout?AbortSignal.timeout(q):null,p&&v&&"function"==typeof AbortSignal.any?AbortSignal.any([p,v]):p||v||void 0),A=a=>fetch(y,{method:x,headers:function({token:a,contentType:b,idempotencyKey:c}){let d={Accept:"application/json"};return a&&(d.Authorization=`Bearer ${a}`),b&&(d["Content-Type"]=b),c&&(d["Idempotency-Key"]=c),d}({token:a,contentType:"POST"===x?e:null,idempotencyKey:"POST"===x?f:null}),body:"POST"===x?d:void 0,signal:z});try{t=await A(j?.accessToken||j?.apiKey)}catch(b){if(b?.name==="AbortError"||b?.name==="TimeoutError")return(0,g.A1)(h.gx.REQUEST_TIMEOUT,`[${a}] video ${x} aborted: ${b.message}`);return(0,g.A1)(h.gx.BAD_GATEWAY,n(`[${a}] video upstream fetch failed: ${b.message}`,j))}if((t.status===h.gx.UNAUTHORIZED||t.status===h.gx.FORBIDDEN)&&j?.refreshToken){let b=null;try{b=await (0,i.$B)(a,j,r)}catch(b){r?.warn?.("TOKEN",`${a} | video refresh error: ${n(b.message,j)}`)}if(b?.accessToken){r?.info?.("TOKEN",`${a.toUpperCase()} | refreshed for video ${x}`),Object.assign(j,b),s&&await s(b);try{await t.body?.cancel?.()}catch{}try{t=await A(j.accessToken||j.apiKey)}catch(b){return(0,g.A1)(h.gx.BAD_GATEWAY,n(`[${a}] video retry after refresh failed: ${b.message}`,j))}}else r?.warn?.("TOKEN",`${a.toUpperCase()} | video refresh failed — account needs re-auth`)}let B=await t.text().catch(()=>"");if(!t.ok){let b=n(B||`HTTP ${t.status}`,j);return(0,g.A1)(t.status,`[${a}] ${b.slice(0,2e3)}`)}return{success:!0,response:new Response(B,{status:t.status,headers:{"Content-Type":t.headers.get("content-type")||"application/json","Access-Control-Allow-Origin":"*"}})}}var p=c(67828),q=c(7803);let r=new Set([h.gx.UNAUTHORIZED,h.gx.FORBIDDEN,h.gx.RATE_LIMITED]);async function s(a){let b=(0,d.Tr)(a);if((await (0,e.mt)()).requireApiKey){if(!b)return(0,g.yj)(h.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(b))return(0,g.yj)(h.gx.UNAUTHORIZED,"Invalid API key")}return null}async function t(a){let b=a.headers.get("content-type")||"";if(b.includes("application/json")){let c,d=await a.text();try{c=JSON.parse(d)}catch{return{error:(0,g.yj)(h.gx.BAD_REQUEST,"Invalid JSON body")}}return{raw:d,parsed:c,contentType:b}}return{raw:Buffer.from(await a.arrayBuffer()),parsed:null,contentType:b}}async function u(a){if(!a?.model)return{provider:"xai",model:null};let b=String(a.model),c=await (0,f.mA)(b);return c.provider?m(c.provider)?{provider:c.provider,model:c.model}:b.includes("/")?{error:(0,g.yj)(h.gx.BAD_REQUEST,`Provider '${c.provider}' does not support video generation`)}:{provider:"xai",model:b}:{error:(0,g.yj)(h.gx.BAD_REQUEST,"Combos are not supported for video generation")}}function v(a,b){if(!b)return a;let c=new Headers(a.headers);return c.set("x-9router-connection-id",String(b)),new Response(a.body,{status:a.status,headers:c})}async function w(a,b){let c=await s(a);if(c)return c;let e=await t(a);if(e.error)return e.error;let f=await u(e.parsed);if(f.error)return f.error;let{provider:i,model:j}=f,k=e.raw;e.parsed&&j&&e.parsed.model!==j&&(k=JSON.stringify({...e.parsed,model:j}));let l=a.headers.get("x-connection-id")||null,m=a.headers.get("idempotency-key")||null,w=new Set,x=null,y=null;for(;;){let c=await (0,d.c1)(i,w,j,{preferredConnectionId:l});if(!c||c.allRateLimited){if(c?.allRateLimited){let a=x||c.lastError||"Unavailable",b=y||Number(c.lastErrorCode)||h.gx.SERVICE_UNAVAILABLE;return(0,g.wO)(b,`[${i}/${j||"video"}] ${a}`,c.retryAfter,c.retryAfterHuman)}if(0===w.size)return(0,g.yj)(h.gx.BAD_REQUEST,`No credentials for provider: ${i}`);return(0,g.yj)(y||h.gx.SERVICE_UNAVAILABLE,x||"All accounts unavailable")}let f=await (0,p.checkAndRefreshToken)(i,c),s=await o({provider:i,action:b,rawBody:k,contentType:e.contentType||null,idempotencyKey:m,credentials:f,signal:a.signal,log:q,onCredentialsRefreshed:async a=>{await (0,p.vN)(c.connectionId,{accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData,testStatus:"active"})}});if(s.success)return await (0,d.Pt)(c.connectionId,c,j),q.info("VIDEO",`${i.toUpperCase()} | ${b} accepted (connection ${c.connectionId})`),v(s.response,c.connectionId);let{shouldFallback:t}=await (0,d.vk)(c.connectionId,s.status,n(s.error,f),i,j);if(t&&r.has(s.status)){w.add(c.connectionId),x=s.error,y=s.status;continue}return s.response}}async function x(a,b){let c=await s(a);if(c)return c;if(!b)return(0,g.yj)(h.gx.BAD_REQUEST,"Missing video request id");let e=a.headers.get("x-connection-id")||null,f=await (0,d.c1)("xai",null,null,{preferredConnectionId:e});if(!f||f.allRateLimited)return(0,g.yj)(h.gx.BAD_REQUEST,"No credentials for provider: xai");let i=await (0,p.checkAndRefreshToken)("xai",f),j=await o({provider:"xai",requestId:b,credentials:i,signal:a.signal,log:q,onCredentialsRefreshed:async a=>{await (0,p.vN)(f.connectionId,{accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData,testStatus:"active"})}});return j.success?(await (0,d.Pt)(f.connectionId,f,null),v(j.response,f.connectionId)):(await (0,d.vk)(f.connectionId,j.status,n(j.error,i),"xai",null),j.response)}},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>i});var d=c(89718),e=c(40669),f=c(98236);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"},h=new Set(Object.keys(g));for(let a of f.default)for(let b of(h.add(a.id),a.alias&&h.add(a.alias),a.aliases||[]))h.add(b);async function i(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){if(!h.has(c.providerAlias)){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model}}return{provider:c.provider,model:c.model}}return await (0,d.Dj)(c.model)?{provider:null,model:c.model}:(0,e.js)(a,d.OM)}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}},40669:(a,b,c)=>{c.d(b,{Xh:()=>g,js:()=>i});var d=c(98236);let e={el:"elevenlabs",jina:"jina-ai","jina-ai":"jina-ai",polly:"aws-polly","aws-polly":"aws-polly"};for(let a of d.default)for(let b of(e[a.id]=a.id,a.alias&&(e[a.alias]=a.id),a.aliases||[]))e[b]=a.id;let f={"grok-build":"gcli/grok-build"};function g(a){if(!a)return{provider:null,model:null,isAlias:!1,providerAlias:null};if(a.includes("/")){let b=a.indexOf("/"),c=a.slice(0,b),d=a.slice(b+1);return{provider:e[c]||c,model:d,isAlias:!1,providerAlias:c}}return{provider:null,model:a,isAlias:!0,providerAlias:null}}function h(a,b){var c,d;if(!b)return null;let f=b[a];if(!f)return null;if("string"==typeof f&&f.includes("/")){let a=f.indexOf("/");return{provider:e[c=f.slice(0,a)]||c,model:f.slice(a+1)}}return"object"==typeof f&&f.provider&&f.model?{provider:e[d=f.provider]||d,model:f.model}:null}async function i(a,b){let c=g(a);if(!c.isAlias)return{provider:c.provider,model:c.model};let d="function"==typeof b?await b():b,e=h(c.model,d)||h(c.model,f);return e||{provider:function(a){if(!a)return"openai";let b=a.toLowerCase();return j.find(([a])=>a.test(b))?.[1]||"openai"}(c.model),model:c.model}}let j=[[/^claude-/,"anthropic"],[/^gemini-/,"gemini"],[/^gpt-/,"openai"],[/^o[134]/,"openai"],[/^deepseek-/,"openrouter"]]},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};
@@ -1 +0,0 @@
1
- exports.id=3284,exports.ids=[3284],exports.modules={962:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/McpMarketplaceModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/McpMarketplaceModal.js","default")},2422:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/UsageStats.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/UsageStats.js","default")},3080:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/OAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/OAuthModal.js","default")},4996:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/CapacityBadges.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/CapacityBadges.js","default")},5843:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/NoAuthProxyCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/NoAuthProxyCard.js","default")},7290:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Card.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Card.js","default")},10079:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>f,default:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Modal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Modal.js","default"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ConfirmModal() from the server but ConfirmModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Modal.js","ConfirmModal")},14285:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/KiroOAuthWrapper.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/KiroOAuthWrapper.js","default")},18200:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/AddCustomEmbeddingModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/AddCustomEmbeddingModal.js","default")},18421:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Tooltip.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Tooltip.js","default")},19083:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/RequestLogger.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/RequestLogger.js","default")},20359:(a,b,c)=>{Promise.resolve().then(c.bind(c,67738)),Promise.resolve().then(c.bind(c,25919)),Promise.resolve().then(c.bind(c,75171)),Promise.resolve().then(c.bind(c,99070)),Promise.resolve().then(c.bind(c,38930)),Promise.resolve().then(c.bind(c,17660)),Promise.resolve().then(c.bind(c,54510)),Promise.resolve().then(c.bind(c,62727)),Promise.resolve().then(c.bind(c,51109)),Promise.resolve().then(c.bind(c,51585)),Promise.resolve().then(c.bind(c,48781)),Promise.resolve().then(c.bind(c,43182)),Promise.resolve().then(c.bind(c,47036)),Promise.resolve().then(c.bind(c,3236)),Promise.resolve().then(c.bind(c,79488)),Promise.resolve().then(c.bind(c,83552)),Promise.resolve().then(c.bind(c,8590)),Promise.resolve().then(c.bind(c,5291)),Promise.resolve().then(c.bind(c,56110)),Promise.resolve().then(c.bind(c,267)),Promise.resolve().then(c.bind(c,53838)),Promise.resolve().then(c.bind(c,85306)),Promise.resolve().then(c.bind(c,74812)),Promise.resolve().then(c.bind(c,39645)),Promise.resolve().then(c.bind(c,20084)),Promise.resolve().then(c.bind(c,95145)),Promise.resolve().then(c.bind(c,83352)),Promise.resolve().then(c.bind(c,23048)),Promise.resolve().then(c.bind(c,50585)),Promise.resolve().then(c.bind(c,79346)),Promise.resolve().then(c.bind(c,11633)),Promise.resolve().then(c.bind(c,91809)),Promise.resolve().then(c.bind(c,91099)),Promise.resolve().then(c.bind(c,4770)),Promise.resolve().then(c.bind(c,42196)),Promise.resolve().then(c.bind(c,19308)),Promise.resolve().then(c.bind(c,53845)),Promise.resolve().then(c.bind(c,95514)),Promise.resolve().then(c.bind(c,32971)),Promise.resolve().then(c.bind(c,59026))},20493:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ComboFormModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ComboFormModal.js","default")},26866:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Sidebar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Sidebar.js","default")},29354:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/HeaderMenu.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/HeaderMenu.js","default")},29674:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/NineRemoteButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/NineRemoteButton.js","default")},30508:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735);c(45512),c(71230),c(83784),c(7290),c(10079),c(92082),c(70061),c(33893),c(70092),c(40515),c(89886),c(26866),c(92669),c(49123),c(3080),c(94582),c(70603),c(20493),c(962),c(2422),c(45205),c(29674),c(29354),c(33811),c(19083),c(82448),c(14285),c(87228),c(40167),c(80342),c(64148),c(70139),c(18200),c(5843),c(54065),c(18421),c(81923),c(4996);var e=c(61780);function f({children:a}){return(0,d.jsx)(e.default,{children:a})}c(64420)},33811:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ChangelogModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ChangelogModal.js","default")},33893:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Badge.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Badge.js","default")},37231:(a,b,c)=>{Promise.resolve().then(c.bind(c,18200)),Promise.resolve().then(c.bind(c,70061)),Promise.resolve().then(c.bind(c,33893)),Promise.resolve().then(c.bind(c,45512)),Promise.resolve().then(c.bind(c,4996)),Promise.resolve().then(c.bind(c,7290)),Promise.resolve().then(c.bind(c,33811)),Promise.resolve().then(c.bind(c,20493)),Promise.resolve().then(c.bind(c,40167)),Promise.resolve().then(c.bind(c,70139)),Promise.resolve().then(c.bind(c,49123)),Promise.resolve().then(c.bind(c,64148)),Promise.resolve().then(c.bind(c,92669)),Promise.resolve().then(c.bind(c,29354)),Promise.resolve().then(c.bind(c,80342)),Promise.resolve().then(c.bind(c,71230)),Promise.resolve().then(c.bind(c,82448)),Promise.resolve().then(c.bind(c,14285)),Promise.resolve().then(c.bind(c,87228)),Promise.resolve().then(c.bind(c,45205)),Promise.resolve().then(c.bind(c,64420)),Promise.resolve().then(c.bind(c,61780)),Promise.resolve().then(c.bind(c,92082)),Promise.resolve().then(c.bind(c,70603)),Promise.resolve().then(c.bind(c,962)),Promise.resolve().then(c.bind(c,10079)),Promise.resolve().then(c.bind(c,94582)),Promise.resolve().then(c.bind(c,29674)),Promise.resolve().then(c.bind(c,5843)),Promise.resolve().then(c.bind(c,3080)),Promise.resolve().then(c.bind(c,81923)),Promise.resolve().then(c.bind(c,19083)),Promise.resolve().then(c.bind(c,54065)),Promise.resolve().then(c.bind(c,83784)),Promise.resolve().then(c.bind(c,26866)),Promise.resolve().then(c.bind(c,89886)),Promise.resolve().then(c.bind(c,40515)),Promise.resolve().then(c.bind(c,70092)),Promise.resolve().then(c.bind(c,18421)),Promise.resolve().then(c.bind(c,2422))},40167:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/CursorAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/CursorAuthModal.js","default")},40515:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ThemeToggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ThemeToggle.js","default")},45205:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/LanguageSwitcher.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/LanguageSwitcher.js","default")},45512:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Button.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Button.js","default")},49123:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Footer.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Footer.js","default")},54065:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/SegmentedControl.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/SegmentedControl.js","default")},61780:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/layouts/DashboardLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/layouts/DashboardLayout.js","default")},64148:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/GitLabAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/GitLabAuthModal.js","default")},64420:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/layouts/AuthLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/layouts/AuthLayout.js","default")},70061:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Avatar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Avatar.js","default")},70092:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Toggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Toggle.js","default")},70139:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/EditConnectionModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/EditConnectionModal.js","default")},70603:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ManualConfigModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ManualConfigModal.js","default")},71230:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Input.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Input.js","default")},80342:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/IFlowCookieModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/IFlowCookieModal.js","default")},81923:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ProviderInfoCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ProviderInfoCard.js","default")},82448:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/KiroAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/KiroAuthModal.js","default")},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Select.js","default")},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/KiroSocialOAuthModal.js","default")},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/9router/src/shared/components/ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/9router/src/shared/components/ModelSelectModal.js","default")}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=5612,exports.ids=[5612],exports.modules={16655:(a,b,c)=>{c.d(b,{oF:()=>d.oF,tm:()=>d.tm,vF:()=>d.vF});var d=c(9248)},19225:(a,b,c)=>{a.exports=c(44870)},49804:(a,b,c)=>{c.d(b,{Q_:()=>p,Wc:()=>q,k9:()=>w,le:()=>o,qJ:()=>u,w9:()=>B,xK:()=>h,zn:()=>y});var d=c(77598),e=c.n(d),f=c(39609);let g="https://cloud.zed.dev",h={expiredToken:"x-zed-expired-token",outdatedToken:"x-zed-outdated-token",clientSupportsStatus:"x-zed-client-supports-status-messages",clientSupportsStreamEnded:"x-zed-client-supports-stream-ended-request-completion-status",serverSupportsStatus:"x-zed-server-supports-status-messages",clientSupportsXai:"x-zed-client-supports-x-ai",systemId:"x-zed-system-id"},i="zed-rsa-pkcs1:",j=new Map,k=new Map,l=new Map;function m(a,b){return String(a||b).replace(/\/+$/,"")}function n(a,b,c,d){let e=m(a?.[b],d);return`${e}${c}`}function o(a={},b={}){let{publicKey:c,privateKey:d}=e().generateKeyPairSync("rsa",{modulusLength:2048,publicKeyEncoding:{type:"pkcs1",format:"der"},privateKeyEncoding:{type:"pkcs1",format:"pem"}}),f=Number(b.nativeAppPort||a.defaultNativeAppPort||58443),g=b.systemId||e().randomUUID(),h=c.toString("base64").replace(/\+/g,"-").replace(/\//g,"_"),j=new URL(`${m(a.webBaseUrl,"https://zed.dev")}/native_app_signin`);return j.searchParams.set("native_app_port",String(f)),j.searchParams.set("native_app_public_key",h),g&&j.searchParams.set("system_id",g),{authUrl:j.toString(),privateKeyVerifier:`${i}${Buffer.from(d).toString("base64url")}`,nativeAppPort:f,systemId:g,publicKey:h}}function p(a){let b=String(a||"").trim();if(!b)throw Error("Missing Zed callback URL");let c={};try{c=JSON.parse(b)}catch{let a;try{a=new URL(b)}catch{try{a=new URL(`http://127.0.0.1/?${b.replace(/^\?/,"")}`)}catch{throw Error("Invalid Zed callback URL")}}a.searchParams.forEach((a,b)=>{c[b]=a})}let d=c.user_id||c.userId,e=c.access_token||c.accessToken||c.token;if(!d||!e)throw Error("Zed callback must include user_id and access_token");return{userId:String(d),encryptedAccessToken:String(e)}}function q(a,b){let c=function(a){var b;let c=String(a||"");if(!c.startsWith(i))throw Error("Missing Zed private key verifier; restart the login flow");return b=c.slice(i.length),Buffer.from(String(b||""),"base64url").toString("utf8")}(b),d=Buffer.from(String(a),"base64url");try{return e().privateDecrypt({key:c,padding:e().constants.RSA_PKCS1_OAEP_PADDING,oaepHash:"sha256"},d).toString("utf8")}catch(a){try{return e().privateDecrypt({key:c,padding:e().constants.RSA_PKCS1_PADDING},d).toString("utf8")}catch{let b=a instanceof Error?a.message:String(a);throw Error(`Failed to decrypt Zed access token: ${b}`)}}}function r(a){let b=(a?.providerSpecificData||{}).userId||a?.userId,c=a?.accessToken||a?.apiKey;if(!b||!c)throw Error("Zed credential is missing userId or accessToken");return`${b} ${c}`}function s(a){return String(a?.providerSpecificData?.systemId||a?.systemId||"")}async function t(a,b,c=null){let d=await (0,f.proxyAwareFetch)(a,b,c),e=await d.text(),g=null;if(e)try{g=JSON.parse(e)}catch{g={raw:e}}if(!d.ok){let a=Error(String(g?.message||g?.error?.message||g?.error||e||`HTTP ${d.status}`));throw a.status=d.status,a.body=g,a}return g}async function u(a,b={}){let c=b.config||{},d={Accept:"application/json",Authorization:r(a)},e=s(a);return e&&(d[h.systemId]=e),t(n(c,"cloudBaseUrl","/client/users/me",g),{method:"GET",headers:d,signal:b.signal??void 0},b.proxyOptions??null)}function v(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function w(a,b=null){let c=a?.providerSpecificData||{},d=v(c.organizationId||c.defaultOrganizationId);if(d)return d;let e=v(b?.default_organization_id||b?.defaultOrganizationId);if(e)return e;let f=b?.organizations||[],g=f.find(a=>a?.is_personal)||f[0];return v(g?.id)}async function x(a,b={}){var c;let d,e,f=b.config||{},i=b.organizationId||w(a);if(!i){let c=await u(a,b);i=w(a,c)}if(!i)throw Error("No Zed organization selected");let k=(c=i,d=(a?.providerSpecificData||{}).userId||a?.userId||"unknown",e=a?.accessToken||a?.apiKey||"",`${d}:${c||"default"}:${e.slice(-16)}`),l=j.get(k);if(!b.forceRefresh&&l&&l.expiresAt>Date.now())return l.token;let m={"Content-Type":"application/json",Accept:"application/json",Authorization:r(a)},o=s(a);o&&(m[h.systemId]=o);let p=await t(n(f,"cloudBaseUrl","/client/llm_tokens",g),{method:"POST",headers:m,body:JSON.stringify({organization_id:i}),signal:b.signal??void 0}),q="string"==typeof p?.token?p.token:p?.token?.[0]||p?.token?.value;if(!q)throw Error("Zed did not return an LLM token");return j.set(k,{token:q,expiresAt:Date.now()+3e6}),q}async function y(a,b,c={}){var d;let e=n(c.config||{},"llmBaseUrl",b,"https://cloud.zed.dev"),g=async b=>{let d=await x(a,{...c,forceRefresh:b});return(0,f.proxyAwareFetch)(e,{...c.fetchOptions,headers:{...c.fetchOptions?.headers||{},Authorization:`Bearer ${d}`},signal:c.signal??void 0})},i=await g(!1);return d=i,(d?.status===401||d?.headers?.has?.(h.expiredToken)||d?.headers?.has?.(h.outdatedToken))&&(i=await g(!0)),i}function z(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function A(a){let b=z(a?.id);return b?{id:b,name:a.display_name||a.displayName||b,provider:a.provider,isLatest:!!a.is_latest,contextLength:a.max_token_count??a.maxTokenCount,contextLengthInMaxMode:a.max_token_count_in_max_mode??a.maxTokenCountInMaxMode,maxOutputTokens:a.max_output_tokens??a.maxOutputTokens,supportsTools:!!a.supports_tools,supportsImages:!!a.supports_images,supportsThinking:!!a.supports_thinking,supportsDisablingThinking:!!a.supports_disabling_thinking,supportsFastMode:!!a.supports_fast_mode,supportsServerSideCompaction:!!a.supports_server_side_compaction,supportedEffortLevels:a.supported_effort_levels??a.supportedEffortLevels??[],supportsStreamingTools:!!a.supports_streaming_tools,supportsParallelToolCalls:!!a.supports_parallel_tool_calls,isDisabled:!!a.is_disabled,disabledReason:a.disabled_reason??null}:null}async function B(a,b={}){let c,d,e;if(!a?.accessToken)return null;let f=(d=(c=a?.providerSpecificData||{}).organizationId||c.defaultOrganizationId||"default",e=a?.accessToken||a?.apiKey||"",`${c.userId||"unknown"}:${d}:${e.slice(-16)}`),g=k.get(f);if(!b.forceRefresh&&g&&g.expiresAt>Date.now())return g;let i=l.get(f);if(i&&!b.forceRefresh)return i;let j=(async()=>{let c=await y(a,"/models",{...b,fetchOptions:{method:"GET",headers:{Accept:"application/json",[h.clientSupportsXai]:"true"}}});if(!c.ok){let a=await c.text().catch(()=>"");throw Error(`Zed models failed: ${c.status} ${a}`)}let d=await c.json(),e=Array.isArray(d?.models)?d.models:[],g=e.map(A).filter(Boolean).filter(a=>!a.isDisabled),i=new Map;for(let a of e){let b=z(a?.id);b&&i.set(b,a)}let j={expiresAt:Date.now()+36e5,models:g,rawModels:e,rawById:i,defaultModel:z(d?.default_model??d?.defaultModel),defaultFastModel:z(d?.default_fast_model??d?.defaultFastModel),recommendedModels:(d?.recommended_models||d?.recommendedModels||[]).map(z).filter(Boolean)};return k.set(f,j),j})();l.set(f,j);try{return await j}finally{l.get(f)===j&&l.delete(f)}}},49903:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>G,OPTIONS:()=>F,buildModelsList:()=>E});var d=c(81329),e=c(40615),f=c(89718),g=c(16655),h=c(29679),i=c(52007),j=c(53225),k=c(39609),l=c(75924),m=c(8521);let n=new Map;async function o(a,b){let c=new AbortController,d=setTimeout(()=>c.abort(),1e4);try{let d=await (0,k.proxyAwareFetch)("https://api.githubcopilot.com/models",{method:"GET",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json","Copilot-Integration-Id":"vscode-chat","editor-version":`vscode/${l.x0.VSCODE_VERSION}`,"editor-plugin-version":`copilot-chat/${l.x0.COPILOT_CHAT_VERSION}`,"user-agent":l.x0.USER_AGENT,"x-github-api-version":l.x0.API_VERSION},cache:"no-store",signal:b||c.signal});if(!d.ok){let a=Error(`Copilot /models returned ${d.status}`);throw a.status=d.status,a}let e=await d.json();return Array.isArray(e?.data)?e.data:[]}finally{clearTimeout(d)}}async function p(a,b={}){let c,d=a?.providerSpecificData?.copilotToken||a?.accessToken;if(!d)return b.log?.debug?.("COPILOT_MODELS","No copilotToken/accessToken; skipping live fetch"),null;let e=a?.providerSpecificData?.copilotToken||a?.accessToken||"copilot-anonymous",f=Date.now();if(!b.forceRefresh){let a=n.get(e);if(a&&a.expiresAt>f)return{models:a.models}}try{c=await o(d,b.signal)}catch(d){if(!d||401!==d.status&&403!==d.status||!a.accessToken)return b.log?.warn?.("COPILOT_MODELS",`Live model fetch failed: ${d?.message||d}`),null;{b.log?.info?.("COPILOT_MODELS",`Got ${d.status}; refreshing Copilot token`);let e=await (0,m.jR)(a.accessToken);if(!e?.token)return b.log?.warn?.("COPILOT_MODELS","Token refresh did not return a token"),null;if("function"==typeof b.onCredentialsRefreshed)try{await b.onCredentialsRefreshed({copilotToken:e.token,copilotTokenExpiresAt:e.expiresAt})}catch(a){b.log?.warn?.("COPILOT_MODELS",`onCredentialsRefreshed failed: ${a?.message||a}`)}try{c=await o(e.token,b.signal)}catch(a){return b.log?.warn?.("COPILOT_MODELS",`Retry after refresh failed: ${a?.message||a}`),null}}}let g=function(a){let b=new Set,c=[];for(let d of a){if(!d||"object"!=typeof d||d.capabilities?.type!=="chat"||d.policy&&"enabled"!==d.policy.state)continue;let a=d.id;!a||b.has(a)||(b.add(a),c.push({id:a,name:d.name||a}))}return c}(c);return g.length?(n.set(e,{expiresAt:f+3e5,models:g}),{models:g}):null}var q=c(52284);async function r(a){let b=!!a?.apiKey,c=b?a.apiKey:a?.accessToken;if(!c)return null;let d=new AbortController,e=setTimeout(()=>d.abort(),5e3);try{let a=b?{Accept:"application/json",Authorization:`Bearer ${c}`}:(0,q.w$)(c,{Accept:"application/json"}),e=await fetch("https://api.cline.bot/api/v1/models",{method:"GET",headers:a,signal:d.signal});if(!e.ok)return null;let f=await e.json(),g=Array.isArray(f)?f:f?.data;if(!Array.isArray(g))return null;let h=g.filter(a=>"string"==typeof a?.id&&a.id.startsWith("cline-pass/")).map(a=>({id:a.id,name:a.name||a.id}));return h.length?{models:h}:null}catch{return null}finally{clearTimeout(e)}}var s=c(38709),t=c(82578),u=c(49804),v=c(67828),w=c(39326),x=c(24);let y={kiro:async a=>{let b=await (0,h.cW)({accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData||{}},{log:console});return b?.models?.length?{models:b.models}:null},qoder:async a=>{let b=await (0,j.EV)({accessToken:a.accessToken,refreshToken:a.refreshToken,email:a.email,displayName:a.displayName,providerSpecificData:a.providerSpecificData||{}});return b?.models?.length?{models:b.models.map(a=>({id:a.id,name:a.name}))}:null},kimchi:async a=>{let b=await (0,i.av)({accessToken:a.accessToken,apiKey:a.apiKey,providerSpecificData:a.providerSpecificData||{}},{log:console});return b?.models?.length?{models:b.models}:null},github:async a=>{let b=await p({accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData||{}},{log:console,onCredentialsRefreshed:async b=>{await (0,v.vN)(a.id,{copilotToken:b.copilotToken,copilotTokenExpiresAt:b.copilotTokenExpiresAt,existingProviderSpecificData:a.providerSpecificData||{}})}});return b?.models?.length?{models:b.models}:null},clinepass:async a=>{let b=await r({accessToken:a.accessToken,apiKey:a.apiKey});return b?.models?.length?{models:b.models}:null},"grok-cli":async a=>{let b=await (0,w.B)(a.providerSpecificData||{}),c=await (0,s.M)({...a,connectionId:a.id},{log:console,proxyOptions:{connectionProxyEnabled:!0===b.connectionProxyEnabled,connectionProxyUrl:b.connectionProxyUrl||"",connectionNoProxy:b.connectionNoProxy||"",vercelRelayUrl:b.vercelRelayUrl||"",strictProxy:!0===b.strictProxy},onCredentialsRefreshed:async b=>{await (0,v.vN)(a.id,{...b,existingProviderSpecificData:a.providerSpecificData||{}})}});return c?.models?.length?{models:c.models}:null},cursor:async a=>{let b=await (0,t.FD)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}},{log:console});return b?.models?.length?{models:b.models}:null},zed:async a=>{let b=await (0,u.w9)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}});return b?.models?.length?{models:b.models.filter(a=>!a.isDisabled).map(a=>({id:a.id,name:a.name,capabilities:a.supportsTools?{tools:!0}:void 0}))}:null}},z="x-9r-internal-models-fetch",A={image:"image",tts:"tts",embedding:"embedding",stt:"stt",imageToText:"imageToText",video:"video"};function B(a){let b=a?.kind||a?.type;return b&&A[b]||"llm"}async function C(a){if(!a?.apiKey)return[];let b="string"==typeof a?.providerSpecificData?.baseUrl?a.providerSpecificData.baseUrl.trim().replace(/\/$/,""):"";if(!b)return[];let c=`${b}/models`,d={"Content-Type":"application/json"};if((0,e.mq)(a.provider))d.Authorization=`Bearer ${a.apiKey}`;else{if(!(0,e.gb)(a.provider))return[];c.endsWith("/messages/models")?c=c.slice(0,-9):c.endsWith("/messages")&&(c=`${c.slice(0,-9)}/models`),d["x-api-key"]=a.apiKey,d["anthropic-version"]="2023-06-01",d.Authorization=`Bearer ${a.apiKey}`}try{var f;let a=new AbortController,b=setTimeout(()=>a.abort(),5e3),e=await fetch(c,{method:"GET",headers:{...d,[z]:"1"},cache:"no-store",signal:a.signal});if(clearTimeout(b),!e.ok)return[];let g=(f=await e.json(),Array.isArray(f)?f:f?.data||f?.models||f?.results||[]);return Array.from(new Set(g.map(a=>a?.id||a?.name||a?.model).filter(a=>"string"==typeof a&&""!==a.trim())))}catch{return[]}}function D(a,b){let c=e.AI_PROVIDERS[a],d=Array.isArray(c?.serviceKinds)&&c.serviceKinds.length>0?c.serviceKinds:["llm"];return b.some(a=>d.includes(a))}async function E(a,b={}){let c=!0===b.skipDynamicFetch,h=[];try{h=(h=await (0,f.getProviderConnections)()).filter(a=>!1!==a.isActive)}catch(a){console.log("Could not fetch providers, returning all models")}let i=[];try{i=await (0,f.Uv)()}catch(a){console.log("Could not fetch combos")}let j=[];try{j=await (0,f.uv)()}catch(a){console.log("Could not fetch custom models")}let k={};try{k=await (0,f.OM)()}catch(a){console.log("Could not fetch model aliases")}let l={};try{l=await (0,g.vF)()}catch(a){console.log("Could not fetch disabled models")}let m=(a,b)=>Array.isArray(l[a])&&l[a].includes(b),n=new Map;for(let a of h)n.has(a.provider)||n.set(a.provider,a);let o=[];for(let b of i){if(!function(a,b){let c=a?.kind||"llm";return b.includes(c)}(b,a))continue;let c={id:b.name,object:"model",owned_by:"combo"};("webSearch"===b.kind||"webFetch"===b.kind)&&(c.kind=b.kind),o.push(c)}if(0===h.length){let b=Object.fromEntries(Object.entries(d.Xg).map(([a,b])=>[b,a]));for(let[c,e]of Object.entries(d.vq))if(D(b[c]||c,a))for(let b of e)a.includes(B(b))&&(m(c,b.id)||o.push({id:`${c}/${b.id}`,object:"model",owned_by:c}));for(let b of j){if(!b?.id||b.type&&"llm"!==b.type||!a.includes("llm"))continue;let c=b.providerAlias;if(!c)continue;let d=String(b.id).trim();d&&o.push({id:`${c}/${d}`,object:"model",owned_by:c})}}else for(let[b,f]of n.entries()){if(!D(b,a))continue;let g=d.Xg[b]||b,h=(f?.providerSpecificData?.prefix||(0,e.wG)(b)||g).trim(),i=d.vq[g]||[],l=f?.providerSpecificData?.enabledModels,n=Array.isArray(l)&&l.length>0,p=(0,e.mq)(b)||(0,e.gb)(b),q=new Map(i.map(a=>[a.id,B(a)])),r=new Map,s=new Map,t=n?Array.from(new Set(l.filter(a=>"string"==typeof a&&""!==a.trim()))):i.map(a=>a.id);p&&0===t.length&&!c&&(t=await C(f));let u=y[b];if(u&&!n)try{let a=await u(f);a?.models?.length&&(t=a.models.map(a=>a.id),r=new Map(a.models.filter(a=>a?.id).map(a=>[a.id,B(a)])),s=new Map(a.models.filter(a=>a?.id&&a.capabilities).map(a=>[a.id,a.capabilities])))}catch(a){console.log(`Live model fetch failed for ${b}: ${a?.message||a}`)}let v=t.map(a=>a.startsWith(`${h}/`)?a.slice(h.length+1):a.startsWith(`${g}/`)?a.slice(g.length+1):a.startsWith(`${b}/`)?a.slice(b.length+1):a).filter(a=>"string"==typeof a&&""!==a.trim()),w=new Map;for(let c of Array.from(new Set([...v,...j.filter(c=>{if(!c?.id)return!1;let e=(0,d.CP)(c)||"llm";if(!a.includes(e)&&!("imageToText"===e&&a.includes("llm")))return!1;let f=c.providerAlias;return f===g||f===h||f===b}).map(a=>{let b=String(a.id).trim();return b&&w.set(b,(0,d.CP)(a)||"llm"),b}).filter(a=>""!==a),...Object.values(k||{}).filter(a=>"string"==typeof a&&!!a.includes("/")&&(a.startsWith(`${h}/`)||a.startsWith(`${g}/`)||a.startsWith(`${b}/`))).map(a=>a.startsWith(`${h}/`)?a.slice(h.length+1):a.startsWith(`${g}/`)?a.slice(g.length+1):a.startsWith(`${b}/`)?a.slice(b.length+1):a).filter(a=>"string"==typeof a&&""!==a.trim())]))){let d=w.get(c),e=r.get(c),f=d||e||q.get(c)||function(a){let b=String(a).toLowerCase();return/embed/.test(b)?"embedding":/tts|speech|audio|voice/.test(b)?"tts":/image|imagen|dall-?e|flux|sdxl|sd-|stable-diffusion/.test(b)?"image":"llm"}(c),i="imageToText"===f&&a.includes("llm");if(!a.includes(f)&&!i||m(h,c)||m(g,c))continue;let j={id:`${h}/${c}`,object:"model",owned_by:h},k=s.get(c)||(0,x.capabilitiesFromServiceKind)(d||e)||("llm"===f?(0,x.getCapabilitiesForModel)(b,c):null);if(k&&(j.capabilities=k),"llm"===f||i){let a=k?.contextWindow,d=k?.maxOutput;if(!Number.isFinite(a)||!Number.isFinite(d)){let e=(0,x.getCapabilitiesForModel)(b,c);Number.isFinite(a)||(a=e.contextWindow),Number.isFinite(d)||(d=e.maxOutput)}Number.isFinite(a)&&(j.context_length=a),Number.isFinite(d)&&(j.max_completion_tokens=d)}o.push(j)}let z=e.AI_PROVIDERS[b];a.includes("webSearch")&&z?.searchConfig&&o.push({id:`${h}/search`,object:"model",kind:"webSearch",owned_by:h}),a.includes("webFetch")&&z?.fetchConfig&&o.push({id:`${h}/fetch`,object:"model",kind:"webFetch",owned_by:h})}let p=[],q=new Set;for(let a of o)!a?.id||q.has(a.id)||(q.add(a.id),p.push(a));return p}async function F(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function G(a){try{let b=a?.headers?.get(z)==="1",c=await E(["llm"],{skipDynamicFetch:b});return Response.json({object:"list",data:c},{headers:{"Access-Control-Allow-Origin":"*"}})}catch(a){return console.log("Error fetching models:",a),Response.json({error:{message:a.message,type:"server_error"}},{status:500})}}},52284:(a,b,c)=>{c.d(b,{w$:()=>e});let d=c(39006).rE||"0.0.0";function e(a,b={}){let c,f=(c=function(a){if("string"!=typeof a)return"";let b=a.trim();return b?b.startsWith("workos:")?b:`workos:${b}`:""}(a))?`Bearer ${c}`:"",g={"HTTP-Referer":"https://cline.bot","X-Title":"Cline","User-Agent":`9Router/${d}`,"X-PLATFORM":process.platform||"unknown","X-PLATFORM-VERSION":process.version||"unknown","X-CLIENT-TYPE":"9router","X-CLIENT-VERSION":d,"X-CORE-VERSION":d,"X-IS-MULTIROOT":"false",...b};return f&&(g.Authorization=f),g}},81329:(a,b,c)=>{c.d(b,{CP:()=>f,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(57247);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}}},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=9381,exports.ids=[615,1998,3662,7247,9381],exports.modules={3662:(a,b,c)=>{c.d(b,{EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i,wf:()=>g});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:3e5,maxLevel:15},g=3e4,h=18e5,i=[{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}},14170:(a,b,c)=>{c.d(b,{h:()=>d,t:()=>e});let d={OPENAI:"openai",OPENAI_RESPONSES:"openai-responses",OPENAI_RESPONSE:"openai-response",CLAUDE:"claude",GEMINI:"gemini",GEMINI_CLI:"gemini-cli",VERTEX:"vertex",CODEX:"codex",ANTIGRAVITY:"antigravity",KIRO:"kiro",CURSOR:"cursor",OLLAMA:"ollama",COMMANDCODE:"commandcode"};function e(a,b){return a.includes("/v1/responses")?d.OPENAI_RESPONSES:a.includes("/v1/messages")?d.CLAUDE:a.includes("/v1/chat/completions")&&Array.isArray(b?.input)?d.OPENAI:null}},29679:(a,b,c)=>{c.d(b,{cW:()=>l});var d=c(94755),e=c(55511),f=c(8521);let g="1.0.0",h="0.10.32",i="us-east-1",j=new Map;async function k(a,b){let c,f,j,k=a?.providerSpecificData?.profileArn||"",l=function(a){if(!a||"string"!=typeof a)return i;let b=a.split(":");return b.length>=4&&b[3]?b[3]:i}(k),m=new URLSearchParams;m.set("origin","AI_EDITOR"),k&&m.set("profileArn",k);let n=`https://q.${l}.amazonaws.com/ListAvailableModels?${m.toString()}`,o={...(f=a?.providerSpecificData?.clientId||a?.refreshToken||a?.providerSpecificData?.profileArn||a?.accessToken||"kiro-anonymous",j=(0,e.createHash)("sha256").update(String(f)).digest("hex"),{"User-Agent":`aws-sdk-js/${g} ua/2.1 os/windows#10.0.26200 lang/js md/nodejs#22.21.1 api/codewhispererruntime#${g} m/N,E KiroIDE-${h}-${j}`,"x-amz-user-agent":`aws-sdk-js/${g} KiroIDE-${h}-${j}`,"x-amzn-kiro-agent-mode":"vibe","x-amzn-codewhisperer-optout":"true","amz-sdk-request":"attempt=1; max=1","amz-sdk-invocation-id":(0,d.A)(),Accept:"application/json"}),Authorization:`Bearer ${a?.accessToken||""}`},p=new AbortController,q=setTimeout(()=>p.abort("timeout"),3e4);b&&"function"==typeof b.addEventListener&&b.addEventListener("abort",()=>p.abort(b.reason));try{c=await fetch(n,{method:"GET",headers:o,signal:p.signal})}finally{clearTimeout(q)}if(!c.ok){let a=await c.text().catch(()=>""),b=Error(`Kiro ListAvailableModels ${c.status}: ${a||c.statusText}`);throw b.status=c.status,b.body=a,b}let r=await c.json();return Array.isArray(r?.models)?r.models:[]}async function l(a,b={}){let c,d,g;if(!a||!a.accessToken)return b.log?.debug?.("KIRO_MODELS","No accessToken; skipping live fetch"),null;let h=(g=(d=a?.providerSpecificData||{}).profileArn||d.clientId||a?.refreshToken||a?.accessToken||"anonymous",(0,e.createHash)("sha256").update(`kiro:${g}`).digest("hex")),i=Date.now();if(!b.forceRefresh){let a=j.get(h);if(a&&a.expiresAt>i)return{models:a.models,rawModels:a.rawModels}}try{c=await k(a,b.signal)}catch(d){if(!d||401!==d.status||!a.refreshToken)return b.log?.warn?.("KIRO_MODELS",`ListAvailableModels failed: ${d?.message||d}`),null;{b.log?.info?.("KIRO_MODELS","Got 401 from Kiro; refreshing token");let d=await (0,f.Ql)(a.refreshToken,a.providerSpecificData,b.log);if(!d?.accessToken)return b.log?.warn?.("KIRO_MODELS","Token refresh did not return accessToken"),null;{let e={...a,...d};if("function"==typeof b.onCredentialsRefreshed)try{await b.onCredentialsRefreshed(d)}catch(a){b.log?.warn?.("KIRO_MODELS",`onCredentialsRefreshed failed: ${a?.message||a}`)}try{c=await k(e,b.signal),a.accessToken=e.accessToken,e.refreshToken&&(a.refreshToken=e.refreshToken)}catch(a){return b.log?.warn?.("KIRO_MODELS",`Retry after refresh failed: ${a?.message||a}`),null}}}}let m=[];for(let a of c){if(!a||"object"!=typeof a)continue;let b=a.modelId||a.id;if(!b)continue;let c=function(a,b,c){let d=(a||b||"Kiro").trim(),e=Number(c);if(!Number.isFinite(e)||1e-9>Math.abs(e-1)||e<=0)return`Kiro ${d}`;let f=e.toFixed(1).replace(",",".");return`Kiro ${d} (${f}x credit)`}(a.modelName,b,a.rateMultiplier),d=Number(a?.tokenLimits?.maxInputTokens)||2e5;for(let e of function(a,b){let c,d=((c=a).endsWith("-agentic")&&(c=c.slice(0,-8)),c.endsWith("-thinking")&&(c=c.slice(0,-9)),c),e=b||`Kiro ${d}`,f=[{id:d,name:e,capabilities:{thinking:!1,agentic:!1}},{id:`${d}-thinking`,name:`${e} (Thinking)`,capabilities:{thinking:!0,agentic:!1}}];return"auto"!==d&&(f.push({id:`${d}-agentic`,name:`${e} (Agentic)`,capabilities:{thinking:!1,agentic:!0}}),f.push({id:`${d}-thinking-agentic`,name:`${e} (Thinking + Agentic)`,capabilities:{thinking:!0,agentic:!0}})),f}(b,c))m.push({...e,contextLength:d,rateMultiplier:Number.isFinite(Number(a.rateMultiplier))?Number(a.rateMultiplier):1,upstreamModelId:b,description:a.description||""})}return j.set(h,{expiresAt:i+3e5,models:m,rawModels:c}),{models:m,rawModels:c}}},35024:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(26070);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},38709:(a,b,c)=>{c.d(b,{M:()=>h});var d=c(90737),e=c(93943),f=c(39609);let g=`${d.Nr}/models`;async function h(a,b={}){let{fetchFn:c=f.proxyAwareFetch,log:i=console,proxyOptions:j=null,onCredentialsRefreshed:k}=b,l=a?.accessToken;if(!l)return{models:[],warning:"Grok CLI access token is missing."};let m=b=>c(g,{method:"GET",headers:function(a,b={}){let c={Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":d.fZ,"x-xai-token-auth":"xai-grok-cli","x-grok-client-version":d.uG,"x-grok-client-identifier":d.rK,"x-grok-client-mode":"headless"},e=b?.email,f=b?.userId||b?.principalId;return e&&(c["x-email"]=e),f&&(c["x-userid"]=f),c}(b,a?.providerSpecificData)},j);try{let b=await m(l);if((401===b.status||403===b.status)&&a?.refreshToken){let c=await (0,e.Vq)("grok-cli",a,i,j);if(c?.accessToken){l=c.accessToken;try{await k?.(c)}catch(a){i?.warn?.("Grok CLI credential persistence failed",a)}b=await m(l)}}if(!b.ok){let a=await b.text().catch(()=>"");return{models:[],warning:`Grok CLI model discovery failed (${b.status})${a?`: ${a.slice(0,160)}`:""}`}}let c=function(a){let b,c=new Set,e=[];for(let[f,g]of(b=Array.isArray(a)?a:a?.data??a?.models??a?.results??[],Array.isArray(b)?b.map(a=>[null,a]):b&&"object"==typeof b?Object.entries(b):[])){let a="string"==typeof g?{id:g}:g;if(!a||"object"!=typeof a||Array.isArray(a))continue;let b=String(a.id??a.model_id??a.modelId??a.model??a.slug??f??a.name??"").trim();if(!b||c.has(b))continue;c.add(b);let h={...a,id:b,name:a.display_name??a.displayName??a.name??b},i=Number(a.context_length??a.contextLength??a.context_window??a.contextWindow),j=Number(a.max_output_tokens??a.maxOutputTokens);Number.isFinite(i)&&i>0&&(h.contextLength=i),Number.isFinite(j)&&j>0&&(h.maxOutputTokens=j),b===d.to&&(h.contextLength||=5e5,h.maxOutputTokens||=64e3),e.push(h)}return e}(await b.json());return c.length?{models:c}:{models:[],warning:"Grok CLI returned no selectable models."}}catch(a){return{models:[],warning:`Grok CLI model discovery failed: ${a.message}`}}}},39006:a=>{a.exports={rE:"0.5.69"}},39326:(a,b,c)=>{c.d(b,{B:()=>h,p:()=>g});var d=c(71998);function e(a){return null==a?"":String(a).trim()}let f=new Map;function g(a,b,c){if(!a||0===a.length)return null;if(1===a.length)return a[0];if("round-robin"===b){let b=f.get(c)||{index:-1};return b.index=(b.index+1)%a.length,f.set(c,b),a[b.index]}return"random"===b?a[Math.floor(Math.random()*a.length)]:a[0]}async function h(a={}){try{let b=e(a?.proxyPoolId),c="__none__"===b?"":b,f=function(a={}){let b=a?.connectionProxyEnabled===!0,c=e(a?.connectionProxyUrl);return{connectionProxyEnabled:b,connectionProxyUrl:c,connectionNoProxy:e(a?.connectionNoProxy)}}(a);if(c){let a=await (0,d.hr)(c),b=e(a?.proxyUrl),f=e(a?.noProxy);if(a&&!0===a.isActive&&b){if("vercel"===a.type||"cloudflare"===a.type||"deno"===a.type)return{source:a.type,proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:f,strictProxy:!0===a.strictProxy,vercelRelayUrl:b};return{source:"pool",proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!0,connectionProxyUrl:b,connectionNoProxy:f,strictProxy:!0===a.strictProxy}}}if(f.connectionProxyEnabled&&f.connectionProxyUrl)return{source:"legacy",proxyPoolId:c||null,proxyPool:null,...f};return{source:"none",proxyPoolId:c||null,proxyPool:null,...f}}catch(a){return console.error("[resolveConnectionProxyConfig] Failed to resolve proxy config:",a),{source:"error",proxyPoolId:null,proxyPool:null,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:"",strictProxy:!1}}}},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>y,wb:()=>x,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,rs:()=>u});var d=c(98236);let e="âš ī¸ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=d.default.filter(a=>a.features?.usage).map(a=>a.id),y=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},57247:(a,b,c)=>{c.d(b,{KC:()=>t,OA:()=>p,PROVIDER_MODELS:()=>f.vq,SM:()=>j,Xg:()=>s,cY:()=>u,ez:()=>o,fZ:()=>k,kt:()=>q,ux:()=>n});var d=c(35024),e=c(98236),f=c(26070),g=c(99511),h=c(59096),i=c(14170);function j(a){return f.vq[a]||[]}function k(a){let b=f.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]);function m(a,b,c){if(!a)return;let d=a.find(a=>a.id===b);if(d)return d;if(!l.has(c))return;let e=(0,g.Kq)(b);if(e!==b)return a.find(a=>a.id===e)}function n(a,b){if((!a||"oc"===a||"opencode"===a||"ocg"===a||"opencode-go"===a)&&(0,h.nh)(b))return i.h.OPENAI_RESPONSES;let c=f.vq[a];return c?(0,g.gr)(m(c,b,a)):null}function o(a,b){let c=f.vq[a];return c?(0,g.ec)(m(c,b,a)):null}function p(a,b){let c=f.vq[a];if(!c)return null;let d=m(c,b,a);return d?.kind||d?.type||null}function q(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",e=d?b.slice(0,c.index).trim():b,g=m(f.vq[a],e,a),i=g?.upstreamModelId||g?.id;if(i){let a=i.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?i.slice(0,a.index).trim():i)+(d||b)}return"cx"===a&&"string"==typeof e&&e.endsWith(h.d5)?e.slice(0,-h.d5.length)+d:e+d}let r=Object.fromEntries(e.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),s=Object.fromEntries(Object.keys(d.xq).map(a=>[a,r[a]||a]));function t(a){let b=s[a]||a;return f.vq[b]||[]}function u(a,b){return(0,g.g5)(m(f.vq[a],b,a))}},59096:(a,b,c)=>{c.d(b,{d5:()=>d,nh:()=>e});let d="-review";function e(a){if(!a||"string"!=typeof a)return!1;let b=a.replace(/\([^()]+\)\s*$/,"").trim(),c=b.includes("/")?b.split("/").pop():b;return/^muse[-_]?spark(?:$|[-_:.\s])/i.test(c)}},71998:(a,b,c)=>{c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},82578:(a,b,c)=>{c.d(b,{FD:()=>n});var d=c(55511),e=c.n(d),f=c(73496),g=c.n(f),h=c(26070),i=c(81756),j=c(55456);let k=new Map;function l(a,b){let c=a.get(b)?.[0]?.value;return c&&"number"!=typeof c?Buffer.from(c).toString("utf8"):""}async function m(a,b){var c;let d,e=a?.accessToken,f=a?.providerSpecificData?.machineId,k=(d=h.sr.cursor,d?.agentEndpoint&&d?.modelsEndpoint?`${d.agentEndpoint.replace(/\/$/,"")}${d.modelsEndpoint}`:null);if(!e||!f||!k)return null;let m={...(0,i.JA)(e,f,a?.providerSpecificData?.ghostMode!==!1),accept:"application/proto","content-type":"application/proto"};delete m["connect-accept-encoding"],delete m["connect-protocol-version"];let n=await (c=new Uint8Array,new Promise((a,d)=>{let e=new URL(k),f=g().connect(`https://${e.host}`),h=[],i={},j=!1,l=a=>(...b)=>{if(!j){j=!0,clearTimeout(n);try{f.close()}catch{}a(...b)}},n=setTimeout(l(()=>{d(Error("Cursor GetUsableModels timed out"))}),1e4);f.on("error",l(d));let o=f.request({":method":"POST",":path":e.pathname,":authority":e.host,":scheme":"https",...m});if(o.on("response",a=>{i=a}),o.on("data",a=>{h.push(a)}),o.on("end",l(()=>{a({status:Number(i[":status"]||0),body:Buffer.concat(h)})})),o.on("error",l(d)),b){let a=l(()=>d(Error("Request aborted")));b.aborted?a():b.addEventListener("abort",a,{once:!0})}o.end(c&&c.length?Buffer.from(c):void 0)}));if(200!==n.status){let a=Error(`Cursor GetUsableModels returned ${n.status}`);throw a.status=n.status,a}return function(a){let b=(0,j.Y8)(a),c=new Set,d=[];for(let a of b.get(1)||[]){if(!a?.value||"number"==typeof a.value)continue;let b=(0,j.Y8)(a.value),e=l(b,1).trim();if(!e||c.has(e))continue;c.add(e);let f=(l(b,4)||l(b,5)||l(b,3)||e).trim();d.push({id:e,name:f})}return d}(new Uint8Array(n.body))}async function n(a,b={}){let c;if(!a?.accessToken||!a?.providerSpecificData?.machineId)return b.log?.debug?.("CURSOR_MODELS","No Cursor access token or machine ID; skipping live fetch"),null;let d=(c=[a?.providerSpecificData?.machineId,a?.accessToken].filter(Boolean).join(":"))?e().createHash("sha256").update(`cursor:${c}`).digest("hex"):"cursor-anonymous",f=Date.now();if(!b.forceRefresh){let a=k.get(d);if(a?.expiresAt>f)return{models:a.models}}try{let c=await m(a,b.signal);if(!c?.length)return null;return k.set(d,{expiresAt:f+3e5,models:c}),{models:c}}catch(a){return b.log?.warn?.("CURSOR_MODELS",`Live model fetch failed: ${a?.message||a}`),null}}},85081:(a,b,c)=>{c.d(b,{Ay:()=>j});var d=c(77598);let e=function(a){return Array.isArray(a)?a=Buffer.from(a):"string"==typeof a&&(a=Buffer.from(a,"utf8")),(0,d.createHash)("sha1").update(a).digest()},f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,g=function(a){let b;if(!("string"==typeof a&&f.test(a)))throw TypeError("Invalid UUID");return Uint8Array.of((b=parseInt(a.slice(0,8),16))>>>24,b>>>16&255,b>>>8&255,255&b,(b=parseInt(a.slice(9,13),16))>>>8,255&b,(b=parseInt(a.slice(14,18),16))>>>8,255&b,(b=parseInt(a.slice(19,23),16))>>>8,255&b,(b=parseInt(a.slice(24,36),16))/0x10000000000&255,b/0x100000000&255,b>>>24&255,b>>>16&255,b>>>8&255,255&b)};var h=c(50122);function i(a,b,c,d){var f=b,i=d;let j="string"==typeof a?function(a){let b=new Uint8Array((a=unescape(encodeURIComponent(a))).length);for(let c=0;c<a.length;++c)b[c]=a.charCodeAt(c);return b}(a):a,k="string"==typeof f?g(f):f;if("string"==typeof f&&(f=g(f)),f?.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+j.length);if(l.set(k),l.set(j,k.length),(l=e(l))[6]=15&l[6]|80,l[8]=63&l[8]|128,c){if((i=i||0)<0||i+16>c.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let a=0;a<16;++a)c[i+a]=l[a];return c}return(0,h.k)(l)}i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8";let j=i},89718:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(9248)},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};