@techysy/10router 1.3.6 → 1.4.0

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 (656) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +5 -5
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +1 -1
  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 +1 -1
  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/experimental/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +4 -4
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +2 -2
  88. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +2 -2
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +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.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/gateway-probe/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/keys/rotate/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/keys/rotate/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/models/caps/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/models/caps/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/network/egress-region/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-kill/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-status/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +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.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  272. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  276. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  282. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  285. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/security/status/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/security/status/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/settings/route.js +2 -2
  297. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/usage/quotas/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/usage/quotas/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  349. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  363. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/version/route.js +2 -2
  398. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/version/shell-update/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 +2 -2
  408. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  409. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  410. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  411. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
  412. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
  413. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  414. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +8 -8
  415. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  416. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  417. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +2 -2
  418. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  419. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  420. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  421. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  422. package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
  423. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  424. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
  425. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  426. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  427. package/app/.next-cli-build/server/app/dashboard/endpoint.html +2 -2
  428. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  429. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  430. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  431. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  432. package/app/.next-cli-build/server/app/dashboard/experimental.html +2 -2
  433. package/app/.next-cli-build/server/app/dashboard/experimental.rsc +8 -8
  434. package/app/.next-cli-build/server/app/dashboard/experimental.segments/!KGRhc2hib2FyZCk/dashboard/experimental/__PAGE__.segment.rsc +8 -8
  435. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_full.segment.rsc +8 -8
  436. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_tree.segment.rsc +2 -2
  437. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
  438. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  439. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +8 -8
  440. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  441. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  442. package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
  443. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  444. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +8 -8
  445. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  446. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  447. package/app/.next-cli-build/server/app/dashboard/profile.html +2 -2
  448. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  449. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
  450. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  451. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  452. package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  454. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
  455. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  456. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  457. package/app/.next-cli-build/server/app/dashboard/providers.html +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  459. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
  460. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  461. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
  463. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  464. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
  465. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  466. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  467. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +8 -8
  469. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +8 -8
  470. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
  471. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  472. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  474. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
  475. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  476. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +2 -2
  481. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  482. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  483. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  484. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +6 -6
  485. package/app/.next-cli-build/server/app/dashboard/skills.html +2 -2
  486. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  487. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +8 -8
  488. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  489. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/token-saver.html +2 -2
  491. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +8 -8
  492. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +8 -8
  493. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
  494. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
  496. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  497. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +8 -8
  498. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  499. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/usage.html +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
  503. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  504. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard.html +2 -2
  506. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  507. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
  508. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  509. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  510. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  511. package/app/.next-cli-build/server/app/index.html +1 -1
  512. package/app/.next-cli-build/server/app/index.rsc +6 -6
  513. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  514. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  515. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  517. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  518. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  519. package/app/.next-cli-build/server/app/landing.html +2 -2
  520. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  521. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  522. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  524. package/app/.next-cli-build/server/app/login/page.js +1 -1
  525. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  526. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  527. package/app/.next-cli-build/server/app/login.html +2 -2
  528. package/app/.next-cli-build/server/app/login.rsc +7 -7
  529. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  530. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  531. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +7 -7
  532. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  533. package/app/.next-cli-build/server/app/page.js +1 -1
  534. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  535. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  536. package/app/.next-cli-build/server/app-paths-manifest.json +5 -5
  537. package/app/.next-cli-build/server/chunks/1329.js +1 -1
  538. package/app/.next-cli-build/server/chunks/1345.js +1 -0
  539. package/app/.next-cli-build/server/chunks/1386.js +2 -2
  540. package/app/.next-cli-build/server/chunks/1806.js +1 -0
  541. package/app/.next-cli-build/server/chunks/2112.js +1 -1
  542. package/app/.next-cli-build/server/chunks/2557.js +9 -0
  543. package/app/.next-cli-build/server/chunks/2752.js +1 -0
  544. package/app/.next-cli-build/server/chunks/2926.js +1 -1
  545. package/app/.next-cli-build/server/chunks/2978.js +1 -0
  546. package/app/.next-cli-build/server/chunks/3256.js +1 -1
  547. package/app/.next-cli-build/server/chunks/3593.js +2 -2
  548. package/app/.next-cli-build/server/chunks/3659.js +1 -0
  549. package/app/.next-cli-build/server/chunks/3662.js +1 -0
  550. package/app/.next-cli-build/server/chunks/3792.js +1 -1
  551. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  552. package/app/.next-cli-build/server/chunks/3962.js +1 -0
  553. package/app/.next-cli-build/server/chunks/4008.js +1 -1
  554. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  555. package/app/.next-cli-build/server/chunks/4293.js +1 -1
  556. package/app/.next-cli-build/server/chunks/4692.js +6 -0
  557. package/app/.next-cli-build/server/chunks/4739.js +2 -2
  558. package/app/.next-cli-build/server/chunks/4780.js +2 -2
  559. package/app/.next-cli-build/server/chunks/4803.js +2 -2
  560. package/app/.next-cli-build/server/chunks/4927.js +3 -3
  561. package/app/.next-cli-build/server/chunks/507.js +2 -2
  562. package/app/.next-cli-build/server/chunks/5182.js +1 -1
  563. package/app/.next-cli-build/server/chunks/5210.js +3 -3
  564. package/app/.next-cli-build/server/chunks/5258.js +2 -2
  565. package/app/.next-cli-build/server/chunks/5433.js +1 -1
  566. package/app/.next-cli-build/server/chunks/5527.js +1 -0
  567. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  568. package/app/.next-cli-build/server/chunks/5781.js +1 -1
  569. package/app/.next-cli-build/server/chunks/595.js +1 -1
  570. package/app/.next-cli-build/server/chunks/6252.js +2 -2
  571. package/app/.next-cli-build/server/chunks/6306.js +1 -1
  572. package/app/.next-cli-build/server/chunks/6326.js +1 -1
  573. package/app/.next-cli-build/server/chunks/6457.js +1 -1
  574. package/app/.next-cli-build/server/chunks/6756.js +1 -1
  575. package/app/.next-cli-build/server/chunks/682.js +1 -1
  576. package/app/.next-cli-build/server/chunks/6947.js +1 -1
  577. package/app/.next-cli-build/server/chunks/6960.js +1 -1
  578. package/app/.next-cli-build/server/chunks/698.js +2 -2
  579. package/app/.next-cli-build/server/chunks/7067.js +1 -1
  580. package/app/.next-cli-build/server/chunks/7122.js +1 -1
  581. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  582. package/app/.next-cli-build/server/chunks/7274.js +6 -3
  583. package/app/.next-cli-build/server/chunks/7322.js +2 -2
  584. package/app/.next-cli-build/server/chunks/75.js +1 -0
  585. package/app/.next-cli-build/server/chunks/7568.js +1 -1
  586. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  587. package/app/.next-cli-build/server/chunks/7965.js +2 -2
  588. package/app/.next-cli-build/server/chunks/8062.js +2 -2
  589. package/app/.next-cli-build/server/chunks/8145.js +1 -0
  590. package/app/.next-cli-build/server/chunks/8172.js +2 -2
  591. package/app/.next-cli-build/server/chunks/{7239.js → 8318.js} +2 -2
  592. package/app/.next-cli-build/server/chunks/8439.js +1 -0
  593. package/app/.next-cli-build/server/chunks/8469.js +2 -2
  594. package/app/.next-cli-build/server/chunks/8520.js +2 -2
  595. package/app/.next-cli-build/server/chunks/8595.js +1 -1
  596. package/app/.next-cli-build/server/chunks/8672.js +1 -1
  597. package/app/.next-cli-build/server/chunks/8675.js +1 -0
  598. package/app/.next-cli-build/server/chunks/8689.js +1 -1
  599. package/app/.next-cli-build/server/chunks/8838.js +1 -1
  600. package/app/.next-cli-build/server/chunks/8895.js +9 -9
  601. package/app/.next-cli-build/server/chunks/9055.js +1 -1
  602. package/app/.next-cli-build/server/chunks/939.js +1 -1
  603. package/app/.next-cli-build/server/chunks/9417.js +6 -0
  604. package/app/.next-cli-build/server/chunks/9451.js +2 -2
  605. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  606. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  607. package/app/.next-cli-build/server/chunks/9628.js +1 -1
  608. package/app/.next-cli-build/server/chunks/9713.js +1 -0
  609. package/app/.next-cli-build/server/chunks/976.js +2 -2
  610. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  611. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  612. package/app/.next-cli-build/server/middleware.js +4 -4
  613. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  614. package/app/.next-cli-build/server/pages/404.html +2 -2
  615. package/app/.next-cli-build/server/pages/500.html +1 -1
  616. package/app/.next-cli-build/static/chunks/1243-64d16638d3aac467.js +3 -0
  617. package/app/.next-cli-build/static/chunks/1321-1ad989ddb9bd4822.js +1 -0
  618. package/app/.next-cli-build/static/chunks/5497-a519f837339f7d19.js +7 -0
  619. package/app/.next-cli-build/static/chunks/6109-7d8788b228fed22f.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/experimental/page-2df49dc3be3c6b7d.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-2a679f53191d77f7.js → page-de760afb83419302.js} +9 -9
  622. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-7a5d36237ec6b40e.js +14 -0
  623. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e0183e527ccc2c9b.js +1 -0
  624. package/app/.next-cli-build/static/css/66cb1d1c16ed3a27.css +1 -0
  625. package/app/package.json +71 -71
  626. package/app/public/i18n/changelog/en.md +21 -3
  627. package/app/public/i18n/changelog/zh-CN.md +21 -3
  628. package/app/public/i18n/changelog/zh-TW.md +21 -3
  629. package/app/public/i18n/literals/zh-CN.json +22 -0
  630. package/app/public/i18n/literals/zh-TW.json +21 -0
  631. package/app/src/lib/db/adapters/sqljsAdapter.js +42 -9
  632. package/app/src/sse/services/backgroundTokenRefresh.js +7 -0
  633. package/app/src/sse/services/codebuddyCheckin.js +6 -0
  634. package/package.json +61 -61
  635. package/app/.next-cli-build/server/chunks/1159.js +0 -7
  636. package/app/.next-cli-build/server/chunks/1710.js +0 -6
  637. package/app/.next-cli-build/server/chunks/3245.js +0 -1
  638. package/app/.next-cli-build/server/chunks/3885.js +0 -1
  639. package/app/.next-cli-build/server/chunks/4177.js +0 -1
  640. package/app/.next-cli-build/server/chunks/4282.js +0 -1
  641. package/app/.next-cli-build/server/chunks/436.js +0 -1
  642. package/app/.next-cli-build/server/chunks/4746.js +0 -1
  643. package/app/.next-cli-build/server/chunks/480.js +0 -6
  644. package/app/.next-cli-build/server/chunks/5485.js +0 -1
  645. package/app/.next-cli-build/server/chunks/653.js +0 -1
  646. package/app/.next-cli-build/server/chunks/6982.js +0 -1
  647. package/app/.next-cli-build/static/chunks/1243-25be5a7b0193949d.js +0 -3
  648. package/app/.next-cli-build/static/chunks/1321-7d951e8069135f2f.js +0 -1
  649. package/app/.next-cli-build/static/chunks/5497-dce0ac54d3e8f165.js +0 -7
  650. package/app/.next-cli-build/static/chunks/6109-c3fa41c974584a96.js +0 -1
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/experimental/page-5ec2e868aa2ff281.js +0 -1
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-21ddfd8a9e7d781f.js +0 -14
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-ec96de061407f126.js +0 -1
  654. package/app/.next-cli-build/static/css/b80ae6e58b63fd53.css +0 -1
  655. /package/app/.next-cli-build/static/{eqWYkzNeaSBj4mkYsjYbh → MH4bXJmhiPfMG7orS09FV}/_buildManifest.js +0 -0
  656. /package/app/.next-cli-build/static/{eqWYkzNeaSBj4mkYsjYbh → MH4bXJmhiPfMG7orS09FV}/_ssgManifest.js +0 -0
@@ -2,24 +2,42 @@
2
2
 
3
3
  這裡展示面向用戶的關鍵更新;完整開發明細見 [CHANGELOG.md](https://github.com/techysy/10router/blob/main/CHANGELOG.md)。
4
4
 
5
- ## v1.3.6 (2026-10-07)
5
+ ## v1.4.0 (2026-10-10)
6
6
 
7
7
  ### ✨ 新增
8
8
 
9
- - **免費線卡片新增 CreditDaddy 閘道狀態**(issue #49):ZCode Free / MiniMax Free / Trae Free 卡片現在會探測本地閘道連接埠並直觀顯示連通狀態,不通時給出下載連結與開啟引導。
9
+ - **API 金鑰支援每日 Token 限額**:每個客戶端 key 可設每日上限(如 100M/天),超限回傳 429 `rate_limit_error`,伺服器本地零點自動重置;Endpoint 頁有全域總開關,每 key 隨時增改限額,列表即時顯示今日用量佔比。
10
+ - **配額追蹤器卡片圖示直達供應商官網**:配額頁每張卡片左上角的供應商 logo 現在點擊即在新分頁開啟對應官網/控制台。
11
+ - **「隱藏零餘額供應商卡片」開關**:實驗頁的卡片隱藏新增第二檔——0 餘額/0 積分的連接卡片可整卡隱藏,與既有「隱藏無配額卡片」互相獨立、可疊加。
12
+ - **「待重新授權」帳號狀態**:OAuth 帳號重新整理權杖失效時,連接列亮起「待重新授權」標記並冷卻 24 小時(不再每 2 分鐘空撞一次);重新授權立即恢復。
13
+ - **CodeBuddy 模型面對齊官方積分頁**:國際線補上整條 Claude 線(Opus 5.5 / Sonnet 5.5 等 8 款)與 Grok-4.7、Gemini-3.8-Flash、GPT-6.1-Sol;國內線新增 GLM-5.3-FlashX(0.14x)與 StepFun Step-5-Preview(0.43x);Space-Bunny 折扣結束回調 0.08x。新增「付費檔」「訂閱優先」兩種模型徽章。
14
+ - **OpenCode / Token Harbor 新模型**:OpenCode 付費線補齊 Claude Haiku 5.5(能力宣告修正為 1M)等新上架模型;Token Harbor 收錄 `claude-haiku-5.5:free`。
15
+ - **Trae Free 模型目錄對齊官方目錄**(issue #54):新增 18 款,移除 10 款已被上游下架的模型。
16
+ - **免費線卡片的 CreditDaddy 閘道狀態**(issue #49):桌面 v1.3.5 修訂資產已先行帶上,本版起全渠道生效。
17
+ - **Release 資產命名平台化**:Windows / macOS / fnOS 安裝包檔名統一為「軟體名-平台-…」,同一 Release 頁面內同平台資產自動聚類排序。
10
18
 
11
19
  ### 🐛 修復
12
20
 
13
- - **升級安裝不再彈「無法關閉」**:升級時安裝器此前會執行舊版本凍結的解除安裝器,其程序檢查即使在沒有 10Router 程序執行時也可能失敗並反覆重試後彈框。現在新安裝器自帶清理、跳過舊解除安裝器,用戶資料不受影響。
21
+ - **combo 模型組的上下文視窗現在正確發給客戶端**:此前組合條目只寫嵌套能力區塊,客戶端讀不到頂層 `context_window` 只能按模型名猜、且往高猜,長上下文直到上游硬失敗。
22
+ - **流式請求統計口徑兩處修正**:答覆完整送達後客戶端提前斷開不再記成失敗(issue #48 / #50);上游中途掐斷的乾淨結束不再記成成功,改記「截斷」;SSE 流中被丟棄的損壞行會計數並顯示在請求明細。
23
+ - **重新整理權杖處理三連修**:輪換後的新權杖落庫失敗時立即報錯,不再靜默用舊權杖把帳號整體踢下線;sql.js 模式落盤失敗自動重排重試;401 自動刷新重試失敗時把真實原因透傳給客戶端。
24
+ - **StepFun CN 實名閘門不再誤報「額度用完」**:未完成實名核驗的 403 不再把模型鎖 2 分鐘,儀表盤給出實名頁直達連結,combo 立即穿透到下一候選。
25
+ - **GitHub Copilot 配額按類別分行**:chat / completions 月度視窗不再併入資源包合計,與 Antigravity 口徑一致。
26
+ - **自訂連接名稱優先顯示**:連接列不再被使用者名稱/信箱擠掉自訂名稱。
27
+ - **模型目錄與能力參數糾錯**:客戶端拿到的上下文/輸出上限對齊各供應商真實值(修復別名漂移、目錄查找落空、combo 聚合缺口等同源問題)。
28
+ - **Windows 安裝器三連修**:升級不再彈「無法關閉」、不再執行舊版卸載器;UAC 被拒絕不再無聲失敗。
29
+ - **fnOS 打包修復**:不再誤覆蓋 standalone 自帶的精簡 next 模組(裝上即起不來的根因)。
14
30
 
15
31
  ## v1.3.5 (2026-10-05)
16
32
 
17
33
  ### ✨ 新增
18
34
 
35
+ - **免費線卡片新增 CreditDaddy 閘道狀態**(issue #49):ZCode Free / MiniMax Free / Trae Free 卡片現在會探測本地閘道連接埠並直觀顯示連通狀態,不通時給出下載連結與開啟引導。
19
36
  - **新增 Trae Free 供應商(`trae-free`)**:經本地 CreditDaddy 閘道使用 Trae(SOLO)遠端 Agent 額度,與 ZCode Free / MiniMax Free 同款接線——免登入卡片、主機/連接埠共享、路徑按線獨立,12 款模型(Doubao Seed Code、MiniMax M2.7、GLM 5 系、DeepSeek V4 系、Kimi K2.5/2.6、Qwen 3.5/3.6),支援思考流;卡片圖示為從客戶端 exe 提取的官方黑白標。
20
37
 
21
38
  ### 🐛 修復
22
39
 
40
+ - **升級安裝不再彈「無法關閉」(Windows 安裝包已原位替換更新)**:升級時新安裝器自帶清理、跳過舊版本凍結的舊解除安裝器程式碼,不再觸發幽靈程序的無法關閉彈窗或靜默退出碼 2,用戶資料不受影響。
23
41
  - **中途夭折的串流請求不再留下一條「綠色 0 token」的假成功**(issue #48)—— 串流請求一開就寫入佔位記錄,但那時還沒產出任何內容、狀態卻已是「成功」。上游隨後斷鏈時,中止路徑完全不碰資料庫,那列記錄再沒人修正:一次被掐斷的請求會在詳情列表裡一直顯示成「已完成、且恰好沒花錢」。現在進行中的記錄就顯示為進行中,被中止的串流請求記為失敗。
24
42
  - **單一模型失敗不再把整條連線標記為「不可用」**(issue #46)—— 這才是根因:按模型的鎖在寫入時,會連帶寫一個帳號級的「不可用」標誌,而選路自始至終只看那把按模型的鎖。於是兄弟模型照常工作、連線卻顯示為停擺。現在這個標誌只在真正的帳號級失敗時才寫。
25
43
  - **CreditDaddy 三條線的 404 不再被報成「模型不存在」**(issue #47):CreditDaddy 已把閘道端點遷到帶品牌名的路徑(`/gateway/zcode/…` 等),404 說的是端點而不是你的模型。現在提示會直說這一點,卡片上也給出排查指引:路徑要保留品牌段;若 CreditDaddy 版本早於這次改名(仍只提供舊的裸端點),應升級 CreditDaddy 而不是改那個輸入框。
@@ -330,6 +330,15 @@
330
330
  "Create model combos with fallback support": "创建具有后备支持的模型组合",
331
331
  "Create your first API key to get started": "创建您的第一个 API 密钥以开始使用",
332
332
  "Created": "已创建",
333
+ "Daily Token Limit": "每日 Token 限额",
334
+ "Daily token limits": "每日 Token 限额开关",
335
+ "Master switch for the per-key daily token caps. Turning this off stops enforcement but keeps every key's configured limit.": "每个密钥每日 Token 限额的总开关。关闭后不再拦截请求,但保留各密钥已配置的限额值。",
336
+ "Daily token limit exceeded for API key \"{name}\" (used {used} / {limit} today). Resets in {reset}.": "API 密钥 \"{name}\" 今日 Token 限额已用完(今日已用 {used} / {limit})。将在 {reset} 后重置。",
337
+ "(rotated)": "(已轮换)",
338
+ "Edit Daily Token Limit": "编辑每日 Token 限额",
339
+ "e.g. 100000000 — empty means unlimited": "例如 100000000 — 留空表示不限",
340
+ "Leave empty to remove the limit.": "留空以移除限额。",
341
+ "Limit reached": "已达限额",
333
342
  "Creating...": "创建中...",
334
343
  "Credit multiplier": "积分倍率",
335
344
  "Current": "当前",
@@ -831,6 +840,7 @@
831
840
  "Open DevTools (F12) → Application/Storage → Cookies": "打开 DevTools (F12) → 应用程序/存储 → Cookie",
832
841
  "Open Settings": "打开设置",
833
842
  "Open platform.iflow.cn in your browser": "在浏览器中打开platform.iflow.cn",
843
+ "Open provider site": "打开提供商官网",
834
844
  "OpenAI / ElevenLabs / Edge / Google / Deepgram voices.": "OpenAI / ElevenLabs / Edge / Google / Deepgram 语音。",
835
845
  "OpenAI Codex CLI": "OpenAI Codex CLI",
836
846
  "OpenAI Compatible (Prod)": "OpenAI 兼容(生产)",
@@ -1025,6 +1035,10 @@
1025
1035
  "Retry": "重试",
1026
1036
  "rides the free quota": "走免费额度",
1027
1037
  "promo free until": "限时免费至",
1038
+ "Paid tier": "付费档",
1039
+ "Not available on every plan yet — needs a paid tier, or is still rolling out": "尚未对所有账号档位开放——需付费档,或仍在灰度中",
1040
+ "Sub priority": "订阅优先",
1041
+ "Prioritized for subscribers": "订阅用户排队优先",
1028
1042
  "Risk Notice": "风险提示",
1029
1043
  "Roo AI Assistant": "Roo AI 助手",
1030
1044
  "Rotate providers across requests instead of strict fallback order.": "在请求间轮换提供商,而不是严格的回退顺序。",
@@ -1261,6 +1275,8 @@
1261
1275
  "Turn off Empty": "关闭空账号",
1262
1276
  "Turn on Available": "可用账号",
1263
1277
  "Hide no-quota provider cards": "隐藏无配额提供商卡片",
1278
+ "Hide zero-balance provider cards": "隐藏零余额提供商卡片",
1279
+ "Quota page view: hide cards whose quota is fully depleted (0 balance / 0 credits)": "配额页视图:隐藏配额已耗尽(0 余额 / 0 积分)的卡片",
1264
1280
  "Nested cycle quota bars": "嵌套周期配额条",
1265
1281
  "Draw contained windows (rolling ⊂ weekly ⊂ monthly) as one nested track instead of flat rows": "把包含关系的周期窗口(滚动 ⊂ 每周 ⊂ 月度)画成一条嵌套轨道,而不是拆分平铺行",
1266
1282
  "Quota page view: hide cards that have no quota to display": "配额页视图:隐藏没有配额可显示的卡片",
@@ -1273,6 +1289,8 @@
1273
1289
  "Unified Endpoint": "统一端点",
1274
1290
  "Unknown": "未知",
1275
1291
  "Partial": "部分受限",
1292
+ "Needs re-auth": "待重新授权",
1293
+ "Refresh token expired or revoked. Please re-authorize this connection.": "刷新令牌已失效或被吊销,请重新授权该连接。",
1276
1294
  "Unauthorized": "会话已过期或无访问权限,请重新登录后重试",
1277
1295
  "Unselect all": "取消选择全部",
1278
1296
  "Update": "更新",
@@ -1456,6 +1474,8 @@
1456
1474
  "Rolling": "滚动",
1457
1475
  "Weekly": "每周",
1458
1476
  "Monthly": "每月",
1477
+ "chat": "聊天",
1478
+ "completions": "补全",
1459
1479
  "session (5h)": "滚动",
1460
1480
  "Session (5h)": "滚动",
1461
1481
  "weekly (7d)": "每周",
@@ -1763,6 +1783,8 @@
1763
1783
  "Individual quota reached. Resets at {time} (in {duration}).": "该账号额度已用完,将于 {time} 重置(约 {duration} 后);可升级订阅提升限额。",
1764
1784
  "Individual quota reached for model {model}. Resets at {time} (in {duration}).": "模型 {model} 的额度已用完,将于 {time} 重置(约 {duration} 后);该账号的其它模型仍可正常使用。",
1765
1785
  "Subscription quota used up. Please wait for the quota reset.": "该账号额度已用完,请等待重置。",
1786
+ "This account must complete real-name verification before StepFun will serve it. Complete it at {url}, then retry.": "该账号需先完成实名(人脸)核验,StepFun 才会放行调用:前往 {url} 完成核验后重试。",
1787
+ "Complete verification": "去完成核验",
1766
1788
  "Retry on empty": "空回复时切换",
1767
1789
  "When the model returns an empty answer (content filter or zero output), fall through to the next model. The abandoned attempt still consumes its input tokens.": "当模型返回空回复(内容审查或零输出)时,自动改用下一个模型。被放弃的调用仍会消耗其输入 token。",
1768
1790
  "{n}d": "{n}天",
@@ -87,9 +87,23 @@
87
87
  "Date": "日期",
88
88
  "Time": "時間",
89
89
  "Created": "已建立",
90
+ "Daily Token Limit": "每日 Token 限額",
91
+ "Daily token limits": "每日 Token 限額開關",
92
+ "Master switch for the per-key daily token caps. Turning this off stops enforcement but keeps every key's configured limit.": "每個金鑰每日 Token 限額的總開關。關閉後不再攔截請求,但保留各金鑰已配置的限額值。",
93
+ "Daily token limit exceeded for API key \"{name}\" (used {used} / {limit} today). Resets in {reset}.": "API 金鑰 \"{name}\" 今日 Token 限額已用完(今日已用 {used} / {limit})。將在 {reset} 後重置。",
94
+ "(rotated)": "(已輪換)",
95
+ "Edit Daily Token Limit": "編輯每日 Token 限額",
96
+ "e.g. 100000000 — empty means unlimited": "例如 100000000 — 留空表示不限",
97
+ "Leave empty to remove the limit.": "留空以移除限額。",
98
+ "Limit reached": "已達限額",
99
+ "tokens": "Token",
90
100
  "Credit multiplier": "積分倍率",
91
101
  "rides the free quota": "走免費額度",
92
102
  "promo free until": "限時免費至",
103
+ "Paid tier": "付費檔",
104
+ "Not available on every plan yet — needs a paid tier, or is still rolling out": "尚未對所有帳號檔位開放——需付費檔,或仍在灰度中",
105
+ "Sub priority": "訂閱優先",
106
+ "Prioritized for subscribers": "訂閱使用者排隊優先",
93
107
  "Updated": "已更新",
94
108
  "Actions": "操作",
95
109
  "Details": "詳細信息",
@@ -269,6 +283,8 @@
269
283
  "Turn off Empty": "關閉空帳號",
270
284
  "Turn on Available": "可用帳號",
271
285
  "Hide no-quota provider cards": "隱藏無配額提供者卡片",
286
+ "Hide zero-balance provider cards": "隱藏零餘額提供者卡片",
287
+ "Quota page view: hide cards whose quota is fully depleted (0 balance / 0 credits)": "配額頁檢視:隱藏配額已耗盡(0 餘額 / 0 積分)的卡片",
272
288
  "Nested cycle quota bars": "巢狀週期配額條",
273
289
  "Draw contained windows (rolling ⊂ weekly ⊂ monthly) as one nested track instead of flat rows": "把包含關係的週期窗口(滾動 ⊂ 每週 ⊂ 月度)畫成一條巢狀軌道,而不是拆分平鋪行",
274
290
  "Quota page view: hide cards that have no quota to display": "配額頁檢視:隱藏沒有配額可顯示的卡片",
@@ -587,6 +603,8 @@
587
603
  "Individual quota reached. Resets at {time} (in {duration}).": "該帳號額度已用完,將於 {time} 重置(約 {duration} 後);可升級訂閱提升限額。",
588
604
  "Individual quota reached for model {model}. Resets at {time} (in {duration}).": "模型 {model} 的額度已用完,將於 {time} 重置(約 {duration} 後);該帳號的其它模型仍可正常使用。",
589
605
  "Subscription quota used up. Please wait for the quota reset.": "該帳號額度已用完,請等待重置。",
606
+ "This account must complete real-name verification before StepFun will serve it. Complete it at {url}, then retry.": "該帳號需先完成實名(人臉)核驗,StepFun 才會放行呼叫:前往 {url} 完成核驗後重試。",
607
+ "Complete verification": "去完成核驗",
590
608
  "Retry on empty": "空回覆時切換",
591
609
  "When the model returns an empty answer (content filter or zero output), fall through to the next model. The abandoned attempt still consumes its input tokens.": "當模型返回空回覆(內容審查或零輸出)時,自動改用下一個模型。被放棄的呼叫仍會消耗其輸入 token。",
592
610
  "{n}d": "{n}天",
@@ -641,6 +659,7 @@
641
659
  "Beta toggles for provider tools, daily check-ins, and dashboard security": "提供商工具、每日簽到與儀表板安全的內測開關",
642
660
  "No dashboard password is set yet": "尚未設定儀表板密碼",
643
661
  "Open dashboard": "開啟儀表板",
662
+ "Open provider site": "開啟供應商官網",
644
663
  "Dashboard: local access only": "儀表板僅本機存取",
645
664
  "Refuse every non-local request to the dashboard and its management APIs. The LLM API (/v1) is unaffected — it uses its own API keys. Takes effect immediately; you will lose remote access to this dashboard until you turn it off from the machine itself.": "拒絕所有非本機來源對儀表板及其管理介面的請求。LLM 介面(/v1)不受影響,它使用自己的 API 金鑰。立即生效;關閉前你將無法從其它裝置存取本儀表板(需在本機操作)。",
646
665
  "Exposure": "暴露面",
@@ -659,6 +678,8 @@
659
678
  "Anyone who can reach the port": "任何能存取該連接埠的人",
660
679
  "Unknown": "未知",
661
680
  "Partial": "部分受限",
681
+ "Needs re-auth": "待重新授權",
682
+ "Refresh token expired or revoked. Please re-authorize this connection.": "刷新權杖已失效或被吊銷,請重新授權該連線。",
662
683
  "Anyone who can reach the port and knows the password": "任何能存取該連接埠且知道密碼的人",
663
684
  "Remote access to the dashboard stays disabled until a password is set. Set the first password on the machine running 10Router (open http://127.0.0.1:20128 there), or start it with the INITIAL_PASSWORD environment variable.": "在設定密碼之前,儀表板的遠端存取維持關閉。請在執行 10Router 的機器上設定第一個密碼(在該機開啟 http://127.0.0.1:20128),或以 INITIAL_PASSWORD 環境變數啟動。",
664
685
  "No password is set yet, so the dashboard opens on this machine only. Set a password on the Settings page to reach it from other devices. The gateway API (/v1) is unaffected.": "尚未設定密碼:儀表板目前只能在本機開啟。請在「設定」頁設定一組密碼,即可從其它裝置存取;閘道介面(/v1)不受影響。",
@@ -19,23 +19,43 @@ export async function createSqlJsAdapter(filePath) {
19
19
 
20
20
  let dirty = false;
21
21
  let saveTimer = null;
22
+ let saveFailures = 0;
22
23
  const SAVE_DEBOUNCE_MS = 100;
24
+ const SAVE_RETRY_MAX_MS = 30_000;
23
25
 
24
26
  function persist() {
25
27
  const data = db.export();
26
28
  fs.writeFileSync(filePath, Buffer.from(data));
27
29
  dirty = false;
30
+ saveFailures = 0;
28
31
  }
29
32
 
30
33
  function scheduleSave() {
31
34
  dirty = true;
32
35
  if (saveTimer) clearTimeout(saveTimer);
33
- saveTimer = setTimeout(() => {
34
- saveTimer = null;
35
- if (dirty) {
36
- try { persist(); } catch (e) { console.error("[sqljs] save failed:", e); }
37
- }
38
- }, SAVE_DEBOUNCE_MS);
36
+ saveTimer = setTimeout(runSave, SAVE_DEBOUNCE_MS);
37
+ }
38
+
39
+ function runSave() {
40
+ saveTimer = null;
41
+ if (!dirty) return;
42
+ try {
43
+ persist();
44
+ } catch (e) {
45
+ // A lost write is not always harmless. The request path persists rotated
46
+ // refresh tokens through this adapter, and a consumed token left in the
47
+ // DB gets the whole OAuth session revoked on the next request (see
48
+ // persistRefreshedCredentials). Retrying on the next mutation alone means
49
+ // a quiet install that stops writing loses the batch outright — and the
50
+ // write that triggered it has already reported success. Back off rather
51
+ // than spin: a permanently locked file settles at the cap instead of
52
+ // hammering the disk.
53
+ saveFailures += 1;
54
+ const delay = Math.min(SAVE_DEBOUNCE_MS * 2 ** saveFailures, SAVE_RETRY_MAX_MS);
55
+ console.error(`[sqljs] save failed (retrying in ${delay}ms):`, e?.message || e);
56
+ if (saveTimer) clearTimeout(saveTimer);
57
+ saveTimer = setTimeout(runSave, delay);
58
+ }
39
59
  }
40
60
 
41
61
  function paramsObj(params) {
@@ -101,12 +121,25 @@ export async function createSqlJsAdapter(filePath) {
101
121
 
102
122
  function close() {
103
123
  if (saveTimer) clearTimeout(saveTimer);
104
- if (dirty) persist();
124
+ saveTimer = null;
125
+ // Never throw out of close(): a failed final write must not stop the caller
126
+ // shutting down, but it must not vanish either.
127
+ if (dirty) {
128
+ try { persist(); } catch (e) {
129
+ console.error("[sqljs] final save failed, in-memory changes are lost:", e?.message || e);
130
+ }
131
+ }
105
132
  db.close();
106
133
  }
107
134
 
108
- // Flush on shutdown
109
- const flush = () => { if (dirty) try { persist(); } catch {} };
135
+ // Flush on shutdown. A silent `catch {}` here hid the exact failure that loses
136
+ // a rotated refresh token at process exit, so log it loudly instead.
137
+ const flush = () => {
138
+ if (!dirty) return;
139
+ try { persist(); } catch (e) {
140
+ console.error("[sqljs] shutdown save failed, in-memory changes are lost:", e?.message || e);
141
+ }
142
+ };
110
143
  process.on("beforeExit", flush);
111
144
  process.on("SIGINT", flush);
112
145
  process.on("SIGTERM", flush);
@@ -4,6 +4,7 @@
4
4
  import * as log from "../utils/logger.js";
5
5
  import { getRefreshLeadMs } from "open-sse/services/tokenRefresh.js";
6
6
  import { getCredentialExpiryMs } from "open-sse/services/oauthCredentialManager.js";
7
+ import { isNeedsReauthCooling } from "open-sse/services/accountFallback.js";
7
8
 
8
9
  /** Refresh when expiry is within 30 minutes (or the provider on-request lead, whichever larger). */
9
10
  export const BACKGROUND_REFRESH_LEAD_MS = 30 * 60 * 1000;
@@ -56,6 +57,12 @@ export function selectConnectionsNeedingRefresh(connections, nowMs = Date.now())
56
57
  const authType = String(conn.authType || "").toLowerCase().replace(/_/g, "");
57
58
  if (authType !== "oauth") continue;
58
59
  if (!conn.refreshToken) continue;
60
+ // Needs-reauth cooling: the refresh token is known-dead until the user
61
+ // re-authorizes. Without this skip the 5-minute tick would probe the corpse
62
+ // forever and each rejection rewrites needsReauthUntil to a fresh 24h, so
63
+ // the account would never re-enter rotation. First tick after the window
64
+ // expires probes once and (if still dead) starts a new window.
65
+ if (isNeedsReauthCooling(conn, nowMs)) continue;
59
66
 
60
67
  const expiresAtMs = getCredentialExpiryMs(conn);
61
68
  if (expiresAtMs === null) continue;
@@ -18,6 +18,7 @@
18
18
  // rejects the whole run or kills the server.
19
19
 
20
20
  import * as log from "../utils/logger.js";
21
+ import { isNeedsReauthCooling } from "open-sse/services/accountFallback.js";
21
22
 
22
23
  const DAILY_CHECKIN_URL = "https://www.codebuddy.cn/v2/billing/meter/daily-checkin";
23
24
  const STATUS_URL = "https://www.codebuddy.cn/v2/billing/meter/checkin-activity-status";
@@ -118,6 +119,9 @@ export function isEligibleCbcnConnection(conn) {
118
119
  if (!conn || !conn.accessToken) return false;
119
120
  if (conn.provider !== "codebuddy-cn") return false;
120
121
  if (conn.isActive === false) return false;
122
+ // Needs-reauth cooling: the token set is known-dead. A check-in would 401,
123
+ // its refresh re-marks the account and re-extends the cooldown window forever.
124
+ if (isNeedsReauthCooling(conn)) return false;
121
125
  const claims = decodeJwt(conn.accessToken) || {};
122
126
  return isCodeBuddyCnRealm(claims.iss || "");
123
127
  }
@@ -131,6 +135,8 @@ export function isEligibleCbIntlConnection(conn) {
131
135
  if (!conn || !conn.accessToken) return false;
132
136
  if (conn.provider !== "codebuddy-intl") return false;
133
137
  if (conn.isActive === false) return false;
138
+ // Same needs-reauth cooling skip as the CN check-in — see above.
139
+ if (isNeedsReauthCooling(conn)) return false;
134
140
  const claims = decodeJwt(conn.accessToken) || {};
135
141
  return isCodeBuddyRealm(claims.iss || "");
136
142
  }
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "@techysy/10router",
3
- "version": "1.3.6",
4
- "description": "10Router CLI - Start and manage 10Router server",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "bin": {
9
- "10router": "./cli.js"
10
- },
11
- "files": [
12
- "cli.js",
13
- "src",
14
- "hooks",
15
- "app",
16
- "README.md",
17
- "LICENSE"
18
- ],
19
- "scripts": {
20
- "dev": "nodemon -I --watch cli.js --watch src --watch hooks --ext js,json cli.js",
21
- "build": "node scripts/build-cli.js",
22
- "pack:cli": "npm run build && npm pack --pack-destination ..",
23
- "publish:cli": "npm run build && npm publish --registry https://registry.npmjs.org",
24
- "postinstall": "node hooks/postinstall.js || exit 0",
25
- "prepublishOnly": "npm run build"
26
- },
27
- "dependencies": {
28
- "enquirer": "^2.4.1",
29
- "node-forge": "^1.3.3",
30
- "node-machine-id": "^1.1.12",
31
- "react": "19.2.1",
32
- "react-dom": "19.2.1"
33
- },
34
- "comment_postinstall": "`|| exit 0` is deliberate: this hook only warms ~/.10router/runtime, and cli.js re-runs the same ensureSqliteRuntime/ensureTrayRuntime on every start, so a failure here costs nothing. Without it npm aborts the whole install — e.g. running Windows npm against a WSL path, where cmd.exe cannot cd to a UNC directory, falls back to C:\\Windows and node then cannot find hooks/postinstall.js at all, so the script's own try/catch never gets to run.",
35
- "comment_sqlite": "sql.js + better-sqlite3 are NOT bundled here. They are installed into ~/.10router/runtime/node_modules by hooks/postinstall.js (and re-checked at runtime by cli.js). This avoids Windows EBUSY errors when updating the global CLI, since native .node files no longer live under the locked install dir. Both runtime deps are installed WITH save (never --no-save): the runtime dir is a single shared npm project, so a package found in node_modules but missing from runtime/package.json is pruned as extraneous by the other hook's next install, and the two hooks would otherwise uninstall each other in a ping-pong.",
36
- "comment_systray": "systray2 is NOT bundled here. It is lazy-installed into ~/.10router/runtime/node_modules by hooks/postinstall.js on macOS/Linux only. Windows uses PowerShell NotifyIcon (zero binary). This avoids shipping unsigned Go binaries that trigger antivirus false positives (Kaspersky). We use the systray2 fork because the legacy systray@1.0.5 ships a 2017 x86_64 binary that fails on modern macOS dyld.",
37
- "engines": {
38
- "node": ">=18.0.0"
39
- },
40
- "keywords": [
41
- "10router",
42
- "cli",
43
- "proxy",
44
- "ai",
45
- "api"
46
- ],
47
- "license": "MIT",
48
- "repository": {
49
- "type": "git",
50
- "url": "git+https://github.com/techysy/10router.git",
51
- "directory": "cli"
52
- },
53
- "homepage": "https://github.com/techysy/10router#readme",
54
- "bugs": {
55
- "url": "https://github.com/techysy/10router/issues"
56
- },
57
- "devDependencies": {
58
- "esbuild": "^0.25.12",
59
- "nodemon": "^3.1.14"
60
- }
61
- }
1
+ {
2
+ "name": "@techysy/10router",
3
+ "version": "1.4.0",
4
+ "description": "10Router CLI - Start and manage 10Router server",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "bin": {
9
+ "10router": "./cli.js"
10
+ },
11
+ "files": [
12
+ "cli.js",
13
+ "src",
14
+ "hooks",
15
+ "app",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "scripts": {
20
+ "dev": "nodemon -I --watch cli.js --watch src --watch hooks --ext js,json cli.js",
21
+ "build": "node scripts/build-cli.js",
22
+ "pack:cli": "npm run build && npm pack --pack-destination ..",
23
+ "publish:cli": "npm run build && npm publish --registry https://registry.npmjs.org",
24
+ "postinstall": "node hooks/postinstall.js || exit 0",
25
+ "prepublishOnly": "npm run build"
26
+ },
27
+ "dependencies": {
28
+ "enquirer": "^2.4.1",
29
+ "node-forge": "^1.3.3",
30
+ "node-machine-id": "^1.1.12",
31
+ "react": "19.2.1",
32
+ "react-dom": "19.2.1"
33
+ },
34
+ "comment_postinstall": "`|| exit 0` is deliberate: this hook only warms ~/.10router/runtime, and cli.js re-runs the same ensureSqliteRuntime/ensureTrayRuntime on every start, so a failure here costs nothing. Without it npm aborts the whole install — e.g. running Windows npm against a WSL path, where cmd.exe cannot cd to a UNC directory, falls back to C:\\Windows and node then cannot find hooks/postinstall.js at all, so the script's own try/catch never gets to run.",
35
+ "comment_sqlite": "sql.js + better-sqlite3 are NOT bundled here. They are installed into ~/.10router/runtime/node_modules by hooks/postinstall.js (and re-checked at runtime by cli.js). This avoids Windows EBUSY errors when updating the global CLI, since native .node files no longer live under the locked install dir. Both runtime deps are installed WITH save (never --no-save): the runtime dir is a single shared npm project, so a package found in node_modules but missing from runtime/package.json is pruned as extraneous by the other hook's next install, and the two hooks would otherwise uninstall each other in a ping-pong.",
36
+ "comment_systray": "systray2 is NOT bundled here. It is lazy-installed into ~/.10router/runtime/node_modules by hooks/postinstall.js on macOS/Linux only. Windows uses PowerShell NotifyIcon (zero binary). This avoids shipping unsigned Go binaries that trigger antivirus false positives (Kaspersky). We use the systray2 fork because the legacy systray@1.0.5 ships a 2017 x86_64 binary that fails on modern macOS dyld.",
37
+ "engines": {
38
+ "node": ">=18.0.0"
39
+ },
40
+ "keywords": [
41
+ "10router",
42
+ "cli",
43
+ "proxy",
44
+ "ai",
45
+ "api"
46
+ ],
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/techysy/10router.git",
51
+ "directory": "cli"
52
+ },
53
+ "homepage": "https://github.com/techysy/10router#readme",
54
+ "bugs": {
55
+ "url": "https://github.com/techysy/10router/issues"
56
+ },
57
+ "devDependencies": {
58
+ "esbuild": "^0.25.12",
59
+ "nodemon": "^3.1.14"
60
+ }
61
+ }
@@ -1,7 +0,0 @@
1
- "use strict";exports.id=1159,exports.ids=[1159],exports.modules={12557:(a,b,c)=>{c.d(b,{Bl:()=>m,Hu:()=>u,Qo:()=>i,S5:()=>o,d5:()=>q,hk:()=>h,jl:()=>j,kJ:()=>n,pT:()=>p,vt:()=>r,wz:()=>k});var d=c(3662);let e=new Set([401,402,403,404,429]),f=/^(?:(\d+(?:\.\d+)?)h)?(?:(\d+(?:\.\d+)?)m)?(?:(\d+(?:\.\d+)?)s)?$/i;function g(a){let b="string"==typeof a?a:"";if(!b)return null;let c=/"quotaResetDelay"\s*:\s*"([^"]+)"/.exec(b)||/"retryDelay"\s*:\s*"([^"]+)"/.exec(b)||/\bResets in\s+([0-9hms.]+)/i.exec(b);if(c){var d;let a,b=(d=c[1].replace(/[.\s]+$/,""),(a=f.exec(String(d||"").trim()))&&(a[1]||a[2]||a[3])?Math.round(3600*parseFloat(a[1]||0)+60*parseFloat(a[2]||0)+parseFloat(a[3]||0)):null);if(null!==b&&b>0)return 1e3*b}let e=/"quotaResetTimeStamp"\s*:\s*"([^"]+)"/.exec(b);if(e){let a=Date.parse(e[1]);if(Number.isFinite(a)){let b=a-Date.now();if(b>0)return b}}return null}function h(a,b,c=0,f=null){let i=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"";for(let b of d.t2)if((!b.provider||b.provider===f)&&(b.text&&i&&i.includes(b.text)||b.status&&b.status===a)){if(b.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a,b){let c=g(a);if(null!==c)return Math.min(c,d.$e);let e=function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(Math.min(b+1,d.EQ.maxLevel)),f=function(a){let b="string"==typeof a?a:"";if(!b)return null;let c=b.match(/(\d+)\s*秒(?:钟)?后(?:重试|再试|再尝试)?/);return c||(c=b.match(/(?:retry|try again|come back|wait)\s+(?:after|in)\s+(\d+)\s*(?:s|sec|secs|seconds?)\b/i))?parseInt(c[1],10):null}(a);return null===f?e:Math.min(Math.max(e,1e3*f),d.fh)}(i,c),newBackoffLevel:a,channelScope:!!b.channelScope}}return{shouldFallback:!0,cooldownMs:b.cooldownMs,channelScope:!!b.channelScope}}return a>=400&&a<500&&!e.has(a)?{shouldFallback:!1,cooldownMs:0,channelScope:!1}:{shouldFallback:!0,cooldownMs:d.wf,channelScope:!1}}function i(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let j="modelLock_",k=`${j}__all`;function l(a){return a?`${j}${a}`:k}function m(a,b){let c=a[l(b)]||a[k];return!!c&&new Date(c).getTime()>Date.now()}function n(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(j)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function o(a,b){return{[l(a)]:new Date(Date.now()+b).toISOString()}}function p(a,b=Date.now()){let c=a?.lastAt?new Date(a.lastAt).getTime():0,e=c>0&&b-c<=d.Dt,f=e?d.X8.long:d.X8.short;return{until:new Date(b+f).toISOString(),lastAt:new Date(b).toISOString(),strikes:(a?.strikes||0)+1,durationMs:f,escalated:e}}function q(a,b=Date.now()){if(!a?.until)return 0;let c=new Date(a.until).getTime();return Number.isFinite(c)?Math.max(0,c-b):0}function r(a){return`${a}
2
-
3
- 提示:当前请求触发上游渠道级安全风控(非账号问题)。出路:1. 开启新对话重试(推荐);2. 输入 /compact 压缩会话后重试;3. 稍等窗口结束后自动恢复。(注意:切到其它渠道前请确认该渠道也有同名模型,否则会报 11102 模型不存在。)`}let s=/too many requests|rate[_\s-]*limit|频率限制|quota.*exceeded|"429"|\[\s*429\s*\]/i,t={"xiaomi-mimo":"小米 MiMo 为体验/免费通道,每分钟请求数与 Token 数(TPM)均有硬限制,超出即拒绝。"};function u(a,b){if(!s.test(String(a||"")))return a;let c=g(a);if(null!==c||/Individual quota reached|QUOTA_EXHAUSTED|RESOURCE_EXHAUSTED/i.test(a)){let b="";if(null!==c)try{b=new Date(Date.now()+c).toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"})}catch{b=""}return`${a}
4
-
5
- 提示:该账号的本阶段额度已用尽(非故障、非账号异常),系统已按上游重置时间自动冷却${b?`,约 ${b} 自动恢复`:""};期间请切换其他模型或渠道。`}let d=t[b]?` ${t[b]}`:"";return`${a}
6
-
7
- 提示:上游触发了限流(HTTP 429),非账号异常,已按上游提示自动冷却并稍后自动恢复;期间可切换其他模型或渠道,或稍候重试。${d}`}},43659:(a,b,c)=>{c.d(b,{A1:()=>j,Yx:()=>h,lR:()=>l,wO:()=>k,xJ:()=>e,yj:()=>f,zL:()=>i});var d=c(3662);function e(a,b){let c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""});return{type:"error",error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}}}function f(a,b,c=null){return new Response(JSON.stringify(e(a,b)),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*",...c}})}let g=/"validation_url"\s*:\s*"([^"]+)"/;function h(a){if(!a||!a.includes("VALIDATION_REQUIRED"))return null;let b=g.exec(a);if(!b)return null;let c=b[1];try{c=JSON.parse(`"${c}"`)}catch{}return`Google requires account verification (VALIDATION_REQUIRED). Most often this means the account's 18+ age verification is missing — complete it at https://myaccount.google.com/age-verification (check the birthdate at https://myaccount.google.com/birthday first). Otherwise open this URL in a browser signed in to the affected account, complete "Verify your account", then retry: ${c}`}async function i(a,b=null){let c="";try{c=await a.text()}catch{c=""}let e=h(c);if(b&&"function"==typeof b.parseError)try{let f=b.parseError(a,c);if(f&&"object"==typeof f){let b=e||f.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:f.status||a.status,message:b,resetsAtMs:f.resetsAtMs}}}catch{}if(e)return{statusCode:a.status,message:e};let f="";try{let a=JSON.parse(c);f=a.error?.message||a.message||a.error||c}catch{f=c}let g=("string"==typeof f?f:JSON.stringify(f))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:g}}function j(a,b,c,d=null){return{success:!1,status:a,error:b,resetsAtMs:c,response:f(a,b,d)}}function k(a,b,c,d,e=null){let f=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({type:"error",error:{type:a>=500?"api_error":"invalid_request_error",message:`${b} (${d})`}}),{status:a,headers:{...e,"Content-Type":"application/json","retry-after":String(f)}})}function l(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}}};
@@ -1,6 +0,0 @@
1
- exports.id=1710,exports.ids=[1710,1998,4755,6457,8838],exports.modules={7803:(a,b,c)=>{"use strict";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)}`}},29679:(a,b,c)=>{"use strict";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}}},38709:(a,b,c)=>{"use strict";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}`}}}},39326:(a,b,c)=>{"use strict";c.d(b,{B:()=>j,p:()=>i});var d=c(71998),e=c(72082);function f(a){return null==a?"":String(a).trim()}function g(a){let b=f(a);if(!b)return"";if((0,e.isEncrypted)(b))try{return f((0,e.decryptSecret)(b))}catch(a){console.warn(`[ConnectionProxy] Could not decrypt proxy URL: ${a?.message||a}`)}return b}let h=new Map;function i(a,b,c){if(!a||0===a.length)return null;if(1===a.length)return a[0];if("round-robin"===b){let b=h.get(c)||{index:-1};return b.index=(b.index+1)%a.length,h.set(c,b),a[b.index]}return"random"===b?a[Math.floor(Math.random()*a.length)]:a[0]}async function j(a={}){try{let b=f(a?.proxyPoolId),c="__none__"===b?"":b,e=function(a={}){let b=a?.connectionProxyEnabled===!0,c=g(a?.connectionProxyUrl),d=f(a?.connectionNoProxy);return{connectionProxyEnabled:b,connectionProxyUrl:c,connectionNoProxy:d,strictProxy:a?.strictProxy===!0}}(a),h=!1;if(c){let a=await (0,d.hr)(c);h=a?.strictProxy===!0;let b=g(a?.proxyUrl),e=f(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:e,strictProxy:!0===a.strictProxy,vercelRelayUrl:b};return{source:"pool",proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!0,connectionProxyUrl:b,connectionNoProxy:e,strictProxy:!0===a.strictProxy}}}if(e.connectionProxyEnabled&&e.connectionProxyUrl)return{source:"legacy",proxyPoolId:c||null,proxyPool:null,...e,strictProxy:h||e.strictProxy};return{source:"none",proxyPoolId:c||null,proxyPool:null,...e,strictProxy:h||e.strictProxy}}catch(a){return console.error("[resolveConnectionProxyConfig] Failed to resolve proxy config:",a),{source:"error",proxyPoolId:null,proxyPool:null,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:"",strictProxy:!1}}}},50122:(a,b,c)=>{"use strict";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()}},69704:(a,b,c)=>{"use strict";c.d(b,{Dg:()=>k,F8:()=>u,KC:()=>w,L7:()=>d,OQ:()=>j,R$:()=>l,RB:()=>D,Ty:()=>z,UJ:()=>q,VD:()=>r,_G:()=>i,bR:()=>t,bg:()=>h,cT:()=>y,cn:()=>p,h3:()=>o,ii:()=>n,j9:()=>f,jJ:()=>m,li:()=>s,pM:()=>C,pr:()=>E,qk:()=>A,rf:()=>g,t6:()=>x,xG:()=>B});let d="https://openapi.qoder.sh",e="https://api3.qoder.sh",f="https://api2.qoder.sh",g="https://qoder.com/device/selectAccounts",h=`${d}/api/v1/deviceToken/poll`,i=`${d}/api/v1/userinfo`,j=`${d}/api/v1/jobToken/exchange`,k="https://qoder.com",l="https://gateway.qoder.com.cn",m="https://openapi.qoder.com.cn",n="https://qoder.cn/device/selectAccounts",o=`${m}/api/v1/deviceToken/poll`,p=`${m}/api/v1/userinfo`,q=`${m}/api/v1/jobToken/exchange`,r="https://qoder.cn",s=l,t=`${l}/algo/api/v2/model/list`,u="/api/v2/service/pro/sse/agent_chat_generation",v=`${e}/algo${u}?FetchKeys=llm_model_result&AgentId=agent_common`,w=`${v}&Encode=1`,x=`${e}/algo/api/v2/model/list`,y="1.0.0",z="5",A="disagree",B="v2",C="x86_64_windows",D="5",E=`-----BEGIN PUBLIC KEY-----
2
- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
3
- 4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
4
- 6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
5
- XcW+ML9FoCI6AOvOzwIDAQAB
6
- -----END PUBLIC KEY-----`},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,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,getProviderConnections:()=>d.getProviderConnections,h1:()=>d.h1,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv});var d=c(89718)},78335:()=>{},82578:(a,b,c)=>{"use strict";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)=>{"use strict";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)=>{"use strict";c.d(b,{Bf:()=>d.Bf,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,Um:()=>d.Um,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,getSettings:()=>d.mt,h1:()=>d.h1,hj:()=>d.hj,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,updateSettings:()=>d.Xx,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(27274)},94755:(a,b,c)=>{"use strict";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)}},96487:()=>{}};
@@ -1 +0,0 @@
1
- exports.id=3245,exports.ids=[3245],exports.modules={62409:(a,b,c)=>{"use strict";c.d(b,{v:()=>f});var d=c(92990);let e="https://prod.us-east-1.auth.desktop.kiro.dev";class f{async registerClient(a="us-east-1"){(0,d.S6)(a);let b=`https://oidc.${a}.amazonaws.com/client/register`,c=await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientName:d.Tx.clientName,clientType:d.Tx.clientType,scopes:d.Tx.scopes,grantTypes:d.Tx.grantTypes,issuerUrl:d.Tx.issuerUrl})});if(!c.ok){let a=await c.text();throw Error(`Failed to register client: ${a}`)}let e=await c.json();return{clientId:e.clientId,clientSecret:e.clientSecret,clientSecretExpiresAt:e.clientSecretExpiresAt}}async startDeviceAuthorization(a,b,c,e="us-east-1"){(0,d.S6)(e);let f=`https://oidc.${e}.amazonaws.com/device_authorization`,g=await fetch(f,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,startUrl:c})});if(!g.ok){let a=await g.text();throw Error(`Failed to start device authorization: ${a}`)}let h=await g.json();return{deviceCode:h.deviceCode,userCode:h.userCode,verificationUri:h.verificationUri,verificationUriComplete:h.verificationUriComplete,expiresIn:h.expiresIn,interval:h.interval||5}}async pollDeviceToken(a,b,c,e="us-east-1"){(0,d.S6)(e);let f=`https://oidc.${e}.amazonaws.com/token`,g=await fetch(f,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,deviceCode:c,grantType:"urn:ietf:params:oauth:grant-type:device_code"})}),h=await g.json();return!g.ok||h.error?{success:!1,error:h.error,errorDescription:h.error_description,pending:"authorization_pending"===h.error||"slow_down"===h.error}:{success:!0,tokens:{accessToken:h.accessToken,refreshToken:h.refreshToken,expiresIn:h.expiresIn,tokenType:h.tokenType}}}buildSocialLoginUrl(a,b,c){return`${e}/login?idp=${"google"===a?"Google":"Github"}&redirect_uri=${encodeURIComponent("kiro://kiro.kiroAgent/authenticate-success")}&code_challenge=${b}&code_challenge_method=S256&state=${c}&prompt=select_account`}async exchangeSocialCode(a,b){let c=await fetch(`${e}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:a,code_verifier:b,redirect_uri:"kiro://kiro.kiroAgent/authenticate-success"})});if(!c.ok){let a=await c.text();throw Error(`Token exchange failed: ${a}`)}let d=await c.json();return{accessToken:d.accessToken,refreshToken:d.refreshToken,profileArn:d.profileArn,expiresIn:d.expiresIn||3600}}async refreshToken(a,b={}){let{authMethod:c,clientId:f,clientSecret:g,region:h}=b;if(f&&g){let b=h||"us-east-1";(0,d.S6)(b);let c=`https://oidc.${b}.amazonaws.com/token`,e=await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:f,clientSecret:g,refreshToken:a,grantType:"refresh_token"})});if(!e.ok){let a=await e.text();throw Error(`Token refresh failed: ${a}`)}let i=await e.json();return{accessToken:i.accessToken,refreshToken:i.refreshToken||a,profileArn:i.profileArn,expiresIn:i.expiresIn}}let i=await fetch(`${e}/refreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:a})});if(!i.ok){let a=await i.text();throw Error(`Token refresh failed: ${a}`)}let j=await i.json();return{accessToken:j.accessToken,refreshToken:j.refreshToken||a,profileArn:j.profileArn,expiresIn:j.expiresIn||3600}}async validateImportToken(a){if(!a.startsWith("aorAAAAAG"))throw Error("Invalid token format. Token should start with aorAAAAAG...");try{let b=await this.refreshToken(a);return{accessToken:b.accessToken,refreshToken:b.refreshToken||a,profileArn:b.profileArn,expiresIn:b.expiresIn,authMethod:"imported"}}catch(a){throw Error(`Token validation failed: ${a.message}`)}}async listAvailableProfiles(a,b="us-east-1"){(0,d.S6)(b);let c=`https://codewhisperer.${b}.amazonaws.com`,e=await fetch(c,{method:"POST",headers:{"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.ListAvailableProfiles",Authorization:`Bearer ${a}`,Accept:"application/json"},body:JSON.stringify({maxResults:10})});if(!e.ok){let a=await e.text();throw Error(`Failed to list profiles: ${a}`)}let f=await e.json(),g=Array.isArray(f?.profiles)?f.profiles:[],h=a=>a?.arn||a?.profileArn||null,i=g.find(a=>h(a)?.split(":")[3]===b)||g[0];return h(i)}async listAvailableApiKeyModels(a,b="us-east-1"){(0,d.S6)(b);let c=new URLSearchParams({origin:"AI_EDITOR"}),e=`https://q.${b}.amazonaws.com/ListAvailableModels?${c}`,f=await fetch(e,{method:"GET",headers:{Authorization:`Bearer ${a}`,TokenType:"API_KEY",Accept:"application/json","User-Agent":"AWS-SDK-JS/3.0.0 kiro-ide/1.0.0","X-Amz-User-Agent":"aws-sdk-js/3.0.0 kiro-ide/1.0.0"}});if(!f.ok){let a=await f.text();throw Error(`Failed to list API-key models: ${a}`)}let g=await f.json(),h=Array.isArray(g?.models)?g.models:[];if(0===h.length)throw Error("API key returned no available models");return h}async validateApiKey(a,b="us-east-1"){if(!a||"string"!=typeof a||!a.trim())throw Error("API key is required");let c=a.trim();try{await this.listAvailableApiKeyModels(c,b)}catch(a){throw Error(`API key validation failed: ${a.message}`)}return{accessToken:c,refreshToken:null,profileArn:null,region:b,authMethod:"api_key"}}async listAvailableModels(a,b){let c=await fetch("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.ListAvailableModels",Authorization:`Bearer ${a}`,Accept:"application/json"},body:JSON.stringify({origin:"AI_EDITOR",profileArn:b})});if(!c.ok){let a=await c.text();throw Error(`Failed to list models: ${a}`)}return((await c.json()).models||[]).map(a=>({id:a.modelId,name:a.modelName||a.modelId,description:a.description,rateMultiplier:a.rateMultiplier,rateUnit:a.rateUnit,maxInputTokens:a.tokenLimits?.maxInputTokens||0}))}extractEmailFromJWT(a){try{let b=a.split(".");if(3!==b.length)return null;let c=b[1];for(;c.length%4;)c+="=";let d=JSON.parse(atob(c.replace(/-/g,"+").replace(/_/g,"/")));return d.email||d.preferred_username||d.sub}catch{return null}}}},78335:()=>{},92990:(a,b,c)=>{"use strict";c.d(b,{DI:()=>i,DV:()=>z,LT:()=>j,MZ:()=>u,Nl:()=>y,Nu:()=>o,OV:()=>h,RY:()=>H,S6:()=>r,SK:()=>D,Td:()=>A,Tx:()=>p,WN:()=>s,Ww:()=>I,YT:()=>m,ZL:()=>l,_0:()=>F,aV:()=>t,cD:()=>n,eD:()=>E,f7:()=>x,hF:()=>k,lB:()=>v,oe:()=>C,qp:()=>B,sA:()=>G,w1:()=>w});var d=c(21820),e=c(74129),f=c(26070);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qoder},l={...f.sr.iflow},m={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function n(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let o={...f.sr.github},p={...f.sr.kiro},q=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function r(a){if("string"!=typeof a||!q.test(a))throw Error("Invalid region");return a}let s={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},t={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},u={...f.sr.kilocode},v={...f.sr.cline},w={...f.sr.clinepass},x={...f.sr.gitlab},y={...f.sr["codebuddy-cn"]},z={...f.sr["codebuddy-intl"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",app:"MiMo",timeoutMs:3e5,pendingTtlMs:864e5},D={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},E={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},F={...f.sr.glm},G={...f.sr.muse},H={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},I=3e5},96487:()=>{}};