@hilbras/omnihilbras 2.9.17 → 2.9.18

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 (802) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +26 -25
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +1 -1
  5. package/app/.next-cli-build/react-loadable-manifest.json +1 -1
  6. package/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +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_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  58. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  60. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  61. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  62. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  65. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  67. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  68. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  69. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  70. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  71. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  72. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  73. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  74. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  75. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  76. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  79. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  83. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  84. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  87. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  89. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  91. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  96. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  97. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  98. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  100. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  102. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  108. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  123. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/models/chat/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/models/test-batch/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/observability/export/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/observability/log/[id]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/observability/logs/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/observability/settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/observability/stats/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/providers/[id]/refresh/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/providers/web-session/[id]/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  181. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  182. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  184. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  185. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  186. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  187. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  188. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  189. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  190. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  191. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  192. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/skills/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/skills/install/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/skills/mine/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/skills/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -0
  202. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -0
  203. package/app/.next-cli-build/server/app/api/token-saver/stats/route_client-reference-manifest.js +1 -0
  204. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  206. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/usage/rate-limit/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/workspaces/[id]/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/workspaces/route.js +1 -1
  257. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  258. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  259. package/app/.next-cli-build/server/app/callback.html +1 -1
  260. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  261. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  262. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  263. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  264. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
  265. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  266. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  267. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  268. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  269. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +2 -2
  270. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +3 -3
  271. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
  272. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +3 -3
  273. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  274. package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
  275. package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  276. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  277. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  278. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  279. package/app/.next-cli-build/server/app/dashboard/endpoint.html +2 -2
  280. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  281. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  282. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  283. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  284. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
  285. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  286. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  287. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  288. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  289. package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
  290. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +3 -3
  291. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +3 -3
  292. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +3 -3
  293. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  294. package/app/.next-cli-build/server/app/dashboard/observability.html +1 -1
  295. package/app/.next-cli-build/server/app/dashboard/observability.rsc +3 -3
  296. package/app/.next-cli-build/server/app/dashboard/observability.segments/!KGRhc2hib2FyZCk/dashboard/observability/__PAGE__.segment.rsc +3 -3
  297. package/app/.next-cli-build/server/app/dashboard/observability.segments/_full.segment.rsc +3 -3
  298. package/app/.next-cli-build/server/app/dashboard/observability.segments/_tree.segment.rsc +2 -2
  299. package/app/.next-cli-build/server/app/dashboard/profile.html +2 -2
  300. package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  301. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  302. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  303. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  304. package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
  305. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  306. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  307. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  308. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  309. package/app/.next-cli-build/server/app/dashboard/providers.html +2 -2
  310. package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  311. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  312. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  313. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  314. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
  315. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
  316. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
  317. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
  318. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  319. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
  320. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  321. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  322. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  323. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  324. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  325. package/app/.next-cli-build/server/app/dashboard/quota.rsc +3 -3
  326. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  327. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +3 -3
  328. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  329. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  330. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  331. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  332. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  333. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  334. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  335. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  336. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.html +2 -2
  337. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.rsc +3 -3
  338. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/!KGRhc2hib2FyZCk/dashboard/settings/workspaces/__PAGE__.segment.rsc +3 -3
  339. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_full.segment.rsc +3 -3
  340. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_tree.segment.rsc +2 -2
  341. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  342. package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  343. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  344. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  345. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  346. package/app/.next-cli-build/server/app/dashboard/token-saver.html +2 -2
  347. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  348. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  349. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  350. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  351. package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
  352. package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  353. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  354. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  355. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  356. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  357. package/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
  358. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
  359. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
  360. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  361. package/app/.next-cli-build/server/app/dashboard.html +2 -2
  362. package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  363. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  364. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  365. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  367. package/app/.next-cli-build/server/app/index.html +1 -1
  368. package/app/.next-cli-build/server/app/index.rsc +3 -3
  369. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  370. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  371. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  372. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  373. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  374. package/app/.next-cli-build/server/app/landing.html +1 -1
  375. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  376. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  377. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  378. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  379. package/app/.next-cli-build/server/app/login/page.js +1 -1
  380. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  381. package/app/.next-cli-build/server/app/login.html +1 -1
  382. package/app/.next-cli-build/server/app/login.rsc +3 -3
  383. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  384. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  385. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  386. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  387. package/app/.next-cli-build/server/app/page.js +1 -1
  388. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  389. package/app/.next-cli-build/server/app-paths-manifest.json +26 -25
  390. package/app/.next-cli-build/server/chunks/2220.js +1 -1
  391. package/app/.next-cli-build/server/chunks/2617.js +1 -1
  392. package/app/.next-cli-build/server/chunks/3449.js +1 -1
  393. package/app/.next-cli-build/server/chunks/412.js +1 -1
  394. package/app/.next-cli-build/server/chunks/436.js +1 -1
  395. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  396. package/app/.next-cli-build/server/chunks/6500.js +1 -1
  397. package/app/.next-cli-build/server/chunks/6651.js +1 -1
  398. package/app/.next-cli-build/server/chunks/6708.js +1 -1
  399. package/app/.next-cli-build/server/chunks/6717.js +4 -4
  400. package/app/.next-cli-build/server/chunks/6723.js +1 -1
  401. package/app/.next-cli-build/server/chunks/7121.js +1 -1
  402. package/app/.next-cli-build/server/chunks/7803.js +1 -1
  403. package/app/.next-cli-build/server/chunks/7955.js +1 -1
  404. package/app/.next-cli-build/server/chunks/7995.js +3 -3
  405. package/app/.next-cli-build/server/chunks/820.js +1 -1
  406. package/app/.next-cli-build/server/chunks/8287.js +1 -1
  407. package/app/.next-cli-build/server/chunks/8525.js +1 -1
  408. package/app/.next-cli-build/server/chunks/8895.js +8 -8
  409. package/app/.next-cli-build/server/chunks/8932.js +3 -3
  410. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  411. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  412. package/app/.next-cli-build/server/middleware.js +5 -5
  413. package/app/.next-cli-build/server/pages/404.html +1 -1
  414. package/app/.next-cli-build/server/pages/500.html +1 -1
  415. package/app/.next-cli-build/static/9kVgf54H8v8zuxRTWW3ii/_buildManifest.js +1 -0
  416. package/app/.next-cli-build/static/chunks/{2723-980ec665a3b2b3c8.js → 2723-ec17a63c7dc8f8a1.js} +1 -1
  417. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-586a8a6d92e35094.js +1 -0
  418. package/app/.next-cli-build/static/chunks/app/_global-error/{page-71c46ee5f58adc36.js → page-42d07bf3f8296a6b.js} +1 -1
  419. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  420. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  421. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  422. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-42d07bf3f8296a6b.js +1 -0
  423. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-42d07bf3f8296a6b.js +1 -0
  424. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-42d07bf3f8296a6b.js +1 -0
  425. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-42d07bf3f8296a6b.js +1 -0
  426. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-42d07bf3f8296a6b.js +1 -0
  427. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-42d07bf3f8296a6b.js +1 -0
  428. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-42d07bf3f8296a6b.js +1 -0
  429. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-42d07bf3f8296a6b.js +1 -0
  430. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-42d07bf3f8296a6b.js +1 -0
  431. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-42d07bf3f8296a6b.js +1 -0
  432. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-42d07bf3f8296a6b.js +1 -0
  433. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-42d07bf3f8296a6b.js +1 -0
  434. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-42d07bf3f8296a6b.js +1 -0
  435. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-42d07bf3f8296a6b.js +1 -0
  436. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-42d07bf3f8296a6b.js +1 -0
  437. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-42d07bf3f8296a6b.js +1 -0
  438. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-42d07bf3f8296a6b.js +1 -0
  439. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-42d07bf3f8296a6b.js +1 -0
  440. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-42d07bf3f8296a6b.js +1 -0
  441. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-42d07bf3f8296a6b.js +1 -0
  442. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-42d07bf3f8296a6b.js +1 -0
  443. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-42d07bf3f8296a6b.js +1 -0
  444. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-42d07bf3f8296a6b.js +1 -0
  445. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-42d07bf3f8296a6b.js +1 -0
  446. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-42d07bf3f8296a6b.js +1 -0
  447. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-42d07bf3f8296a6b.js +1 -0
  448. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-42d07bf3f8296a6b.js +1 -0
  449. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-42d07bf3f8296a6b.js +1 -0
  450. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-42d07bf3f8296a6b.js +1 -0
  451. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-42d07bf3f8296a6b.js +1 -0
  452. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-42d07bf3f8296a6b.js +1 -0
  453. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-42d07bf3f8296a6b.js +1 -0
  454. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-42d07bf3f8296a6b.js +1 -0
  455. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-42d07bf3f8296a6b.js +1 -0
  456. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-42d07bf3f8296a6b.js +1 -0
  457. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-42d07bf3f8296a6b.js +1 -0
  458. package/app/.next-cli-build/static/chunks/app/api/combos/route-42d07bf3f8296a6b.js +1 -0
  459. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-42d07bf3f8296a6b.js +1 -0
  460. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-42d07bf3f8296a6b.js +1 -0
  461. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-42d07bf3f8296a6b.js +1 -0
  462. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-42d07bf3f8296a6b.js +1 -0
  463. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-42d07bf3f8296a6b.js +1 -0
  464. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-42d07bf3f8296a6b.js +1 -0
  465. package/app/.next-cli-build/static/chunks/app/api/health/route-42d07bf3f8296a6b.js +1 -0
  466. package/app/.next-cli-build/static/chunks/app/api/init/route-42d07bf3f8296a6b.js +1 -0
  467. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-42d07bf3f8296a6b.js +1 -0
  468. package/app/.next-cli-build/static/chunks/app/api/keys/route-42d07bf3f8296a6b.js +1 -0
  469. package/app/.next-cli-build/static/chunks/app/api/locale/route-42d07bf3f8296a6b.js +1 -0
  470. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-42d07bf3f8296a6b.js +1 -0
  471. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-42d07bf3f8296a6b.js +1 -0
  472. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-42d07bf3f8296a6b.js +1 -0
  473. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-42d07bf3f8296a6b.js +1 -0
  474. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-42d07bf3f8296a6b.js +1 -0
  475. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-42d07bf3f8296a6b.js +1 -0
  476. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-42d07bf3f8296a6b.js +1 -0
  477. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-42d07bf3f8296a6b.js +1 -0
  478. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-42d07bf3f8296a6b.js +1 -0
  479. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-42d07bf3f8296a6b.js +1 -0
  480. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-42d07bf3f8296a6b.js +1 -0
  481. package/app/.next-cli-build/static/chunks/app/api/models/route-42d07bf3f8296a6b.js +1 -0
  482. package/app/.next-cli-build/static/chunks/app/api/models/test/route-42d07bf3f8296a6b.js +1 -0
  483. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-42d07bf3f8296a6b.js +1 -0
  484. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-42d07bf3f8296a6b.js +1 -0
  485. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-42d07bf3f8296a6b.js +1 -0
  486. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-42d07bf3f8296a6b.js +1 -0
  487. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-42d07bf3f8296a6b.js +1 -0
  488. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-42d07bf3f8296a6b.js +1 -0
  489. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-42d07bf3f8296a6b.js +1 -0
  490. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-42d07bf3f8296a6b.js +1 -0
  491. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-42d07bf3f8296a6b.js +1 -0
  492. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-42d07bf3f8296a6b.js +1 -0
  493. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-42d07bf3f8296a6b.js +1 -0
  494. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-42d07bf3f8296a6b.js +1 -0
  495. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-42d07bf3f8296a6b.js +1 -0
  496. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-42d07bf3f8296a6b.js +1 -0
  497. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-42d07bf3f8296a6b.js +1 -0
  498. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-42d07bf3f8296a6b.js +1 -0
  499. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-42d07bf3f8296a6b.js +1 -0
  500. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-42d07bf3f8296a6b.js +1 -0
  501. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-42d07bf3f8296a6b.js +1 -0
  502. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-42d07bf3f8296a6b.js +1 -0
  503. package/app/.next-cli-build/static/chunks/app/api/observability/export/route-42d07bf3f8296a6b.js +1 -0
  504. package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-42d07bf3f8296a6b.js +1 -0
  505. package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-42d07bf3f8296a6b.js +1 -0
  506. package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-42d07bf3f8296a6b.js +1 -0
  507. package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-42d07bf3f8296a6b.js +1 -0
  508. package/app/.next-cli-build/static/chunks/app/api/pricing/route-42d07bf3f8296a6b.js +1 -0
  509. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-42d07bf3f8296a6b.js +1 -0
  510. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-42d07bf3f8296a6b.js +1 -0
  511. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-42d07bf3f8296a6b.js +1 -0
  512. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-42d07bf3f8296a6b.js +1 -0
  513. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-42d07bf3f8296a6b.js +1 -0
  514. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-42d07bf3f8296a6b.js +1 -0
  515. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-42d07bf3f8296a6b.js +1 -0
  516. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-42d07bf3f8296a6b.js +1 -0
  517. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-42d07bf3f8296a6b.js +1 -0
  518. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-42d07bf3f8296a6b.js +1 -0
  519. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-42d07bf3f8296a6b.js +1 -0
  520. package/app/.next-cli-build/static/chunks/app/api/providers/route-42d07bf3f8296a6b.js +1 -0
  521. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-42d07bf3f8296a6b.js +1 -0
  522. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-42d07bf3f8296a6b.js +1 -0
  523. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-42d07bf3f8296a6b.js +1 -0
  524. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-42d07bf3f8296a6b.js +1 -0
  525. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-42d07bf3f8296a6b.js +1 -0
  526. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-42d07bf3f8296a6b.js +1 -0
  527. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-42d07bf3f8296a6b.js +1 -0
  528. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-42d07bf3f8296a6b.js +1 -0
  529. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-42d07bf3f8296a6b.js +1 -0
  530. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-42d07bf3f8296a6b.js +1 -0
  531. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-42d07bf3f8296a6b.js +1 -0
  532. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-42d07bf3f8296a6b.js +1 -0
  533. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-42d07bf3f8296a6b.js +1 -0
  534. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-42d07bf3f8296a6b.js +1 -0
  535. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-42d07bf3f8296a6b.js +1 -0
  536. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-42d07bf3f8296a6b.js +1 -0
  537. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-42d07bf3f8296a6b.js +1 -0
  538. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-42d07bf3f8296a6b.js +1 -0
  539. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-42d07bf3f8296a6b.js +1 -0
  540. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-42d07bf3f8296a6b.js +1 -0
  541. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-42d07bf3f8296a6b.js +1 -0
  542. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-42d07bf3f8296a6b.js +1 -0
  543. package/app/.next-cli-build/static/chunks/app/api/settings/route-42d07bf3f8296a6b.js +1 -0
  544. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-42d07bf3f8296a6b.js +1 -0
  545. package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-42d07bf3f8296a6b.js +1 -0
  546. package/app/.next-cli-build/static/chunks/app/api/skills/install/route-42d07bf3f8296a6b.js +1 -0
  547. package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-42d07bf3f8296a6b.js +1 -0
  548. package/app/.next-cli-build/static/chunks/app/api/skills/route-42d07bf3f8296a6b.js +1 -0
  549. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-42d07bf3f8296a6b.js +1 -0
  550. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-42d07bf3f8296a6b.js +1 -0
  551. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-42d07bf3f8296a6b.js +1 -0
  552. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-42d07bf3f8296a6b.js +1 -0
  553. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-42d07bf3f8296a6b.js +1 -0
  554. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-42d07bf3f8296a6b.js +1 -0
  555. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-42d07bf3f8296a6b.js +1 -0
  556. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-42d07bf3f8296a6b.js +1 -0
  557. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-42d07bf3f8296a6b.js +1 -0
  558. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-42d07bf3f8296a6b.js +1 -0
  559. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-42d07bf3f8296a6b.js +1 -0
  560. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-42d07bf3f8296a6b.js +1 -0
  561. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-42d07bf3f8296a6b.js +1 -0
  562. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-42d07bf3f8296a6b.js +1 -0
  563. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-42d07bf3f8296a6b.js +1 -0
  564. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-42d07bf3f8296a6b.js +1 -0
  565. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-42d07bf3f8296a6b.js +1 -0
  566. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-42d07bf3f8296a6b.js +1 -0
  567. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-42d07bf3f8296a6b.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-42d07bf3f8296a6b.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-42d07bf3f8296a6b.js +1 -0
  570. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-42d07bf3f8296a6b.js +1 -0
  571. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-42d07bf3f8296a6b.js +1 -0
  572. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-42d07bf3f8296a6b.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-42d07bf3f8296a6b.js +1 -0
  574. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-42d07bf3f8296a6b.js +1 -0
  575. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-42d07bf3f8296a6b.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-42d07bf3f8296a6b.js +1 -0
  577. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-42d07bf3f8296a6b.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-42d07bf3f8296a6b.js +1 -0
  579. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-42d07bf3f8296a6b.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-42d07bf3f8296a6b.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-42d07bf3f8296a6b.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-42d07bf3f8296a6b.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-42d07bf3f8296a6b.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-42d07bf3f8296a6b.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-42d07bf3f8296a6b.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-42d07bf3f8296a6b.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-42d07bf3f8296a6b.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/v1/route-42d07bf3f8296a6b.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-42d07bf3f8296a6b.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-42d07bf3f8296a6b.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-42d07bf3f8296a6b.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-42d07bf3f8296a6b.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-42d07bf3f8296a6b.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-42d07bf3f8296a6b.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-42d07bf3f8296a6b.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-42d07bf3f8296a6b.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-42d07bf3f8296a6b.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/version/route-42d07bf3f8296a6b.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-42d07bf3f8296a6b.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/version/update/route-42d07bf3f8296a6b.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-42d07bf3f8296a6b.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/workspaces/route-42d07bf3f8296a6b.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-42d07bf3f8296a6b.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/page-42d07bf3f8296a6b.js +1 -0
  605. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-42d07bf3f8296a6b.js +1 -0
  606. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-42d07bf3f8296a6b.js +1 -0
  607. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-42d07bf3f8296a6b.js +1 -0
  608. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-42d07bf3f8296a6b.js +1 -0
  609. package/app/.next-cli-build/static/chunks/{webpack-315c670ea50ab5f5.js → webpack-63a1ee96e77f5614.js} +1 -1
  610. package/app/.next-cli-build/static/css/64ed2322a01084a6.css +1 -0
  611. package/app/package.json +1 -1
  612. package/package.json +1 -1
  613. package/app/.next-cli-build/static/T_fU1zddh_BOaSHScvc4v/_buildManifest.js +0 -1
  614. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-b2441cbfb9cb0ea2.js +0 -1
  615. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-71c46ee5f58adc36.js +0 -1
  616. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-71c46ee5f58adc36.js +0 -1
  617. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-71c46ee5f58adc36.js +0 -1
  618. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-71c46ee5f58adc36.js +0 -1
  619. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-71c46ee5f58adc36.js +0 -1
  620. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-71c46ee5f58adc36.js +0 -1
  621. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-71c46ee5f58adc36.js +0 -1
  622. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-71c46ee5f58adc36.js +0 -1
  623. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-71c46ee5f58adc36.js +0 -1
  624. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-71c46ee5f58adc36.js +0 -1
  625. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-71c46ee5f58adc36.js +0 -1
  626. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-71c46ee5f58adc36.js +0 -1
  627. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-71c46ee5f58adc36.js +0 -1
  628. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-71c46ee5f58adc36.js +0 -1
  629. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-71c46ee5f58adc36.js +0 -1
  630. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-71c46ee5f58adc36.js +0 -1
  631. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-71c46ee5f58adc36.js +0 -1
  632. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-71c46ee5f58adc36.js +0 -1
  633. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-71c46ee5f58adc36.js +0 -1
  634. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-71c46ee5f58adc36.js +0 -1
  635. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-71c46ee5f58adc36.js +0 -1
  636. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-71c46ee5f58adc36.js +0 -1
  637. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-71c46ee5f58adc36.js +0 -1
  638. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-71c46ee5f58adc36.js +0 -1
  639. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-71c46ee5f58adc36.js +0 -1
  640. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-71c46ee5f58adc36.js +0 -1
  641. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-71c46ee5f58adc36.js +0 -1
  642. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-71c46ee5f58adc36.js +0 -1
  643. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-71c46ee5f58adc36.js +0 -1
  644. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-71c46ee5f58adc36.js +0 -1
  645. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-71c46ee5f58adc36.js +0 -1
  646. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-71c46ee5f58adc36.js +0 -1
  647. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-71c46ee5f58adc36.js +0 -1
  648. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-71c46ee5f58adc36.js +0 -1
  649. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-71c46ee5f58adc36.js +0 -1
  650. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-71c46ee5f58adc36.js +0 -1
  651. package/app/.next-cli-build/static/chunks/app/api/combos/route-71c46ee5f58adc36.js +0 -1
  652. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-71c46ee5f58adc36.js +0 -1
  653. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-71c46ee5f58adc36.js +0 -1
  654. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-71c46ee5f58adc36.js +0 -1
  655. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-71c46ee5f58adc36.js +0 -1
  656. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-71c46ee5f58adc36.js +0 -1
  657. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-71c46ee5f58adc36.js +0 -1
  658. package/app/.next-cli-build/static/chunks/app/api/health/route-71c46ee5f58adc36.js +0 -1
  659. package/app/.next-cli-build/static/chunks/app/api/init/route-71c46ee5f58adc36.js +0 -1
  660. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-71c46ee5f58adc36.js +0 -1
  661. package/app/.next-cli-build/static/chunks/app/api/keys/route-71c46ee5f58adc36.js +0 -1
  662. package/app/.next-cli-build/static/chunks/app/api/locale/route-71c46ee5f58adc36.js +0 -1
  663. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-71c46ee5f58adc36.js +0 -1
  664. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-71c46ee5f58adc36.js +0 -1
  665. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-71c46ee5f58adc36.js +0 -1
  666. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-71c46ee5f58adc36.js +0 -1
  667. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-71c46ee5f58adc36.js +0 -1
  668. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-71c46ee5f58adc36.js +0 -1
  669. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-71c46ee5f58adc36.js +0 -1
  670. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-71c46ee5f58adc36.js +0 -1
  671. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-71c46ee5f58adc36.js +0 -1
  672. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-71c46ee5f58adc36.js +0 -1
  673. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-71c46ee5f58adc36.js +0 -1
  674. package/app/.next-cli-build/static/chunks/app/api/models/route-71c46ee5f58adc36.js +0 -1
  675. package/app/.next-cli-build/static/chunks/app/api/models/test/route-71c46ee5f58adc36.js +0 -1
  676. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-71c46ee5f58adc36.js +0 -1
  677. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-71c46ee5f58adc36.js +0 -1
  678. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-71c46ee5f58adc36.js +0 -1
  679. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-71c46ee5f58adc36.js +0 -1
  680. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-71c46ee5f58adc36.js +0 -1
  681. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-71c46ee5f58adc36.js +0 -1
  682. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-71c46ee5f58adc36.js +0 -1
  683. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-71c46ee5f58adc36.js +0 -1
  684. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-71c46ee5f58adc36.js +0 -1
  685. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-71c46ee5f58adc36.js +0 -1
  686. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-71c46ee5f58adc36.js +0 -1
  687. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-71c46ee5f58adc36.js +0 -1
  688. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-71c46ee5f58adc36.js +0 -1
  689. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-71c46ee5f58adc36.js +0 -1
  690. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-71c46ee5f58adc36.js +0 -1
  691. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-71c46ee5f58adc36.js +0 -1
  692. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-71c46ee5f58adc36.js +0 -1
  693. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-71c46ee5f58adc36.js +0 -1
  694. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-71c46ee5f58adc36.js +0 -1
  695. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-71c46ee5f58adc36.js +0 -1
  696. package/app/.next-cli-build/static/chunks/app/api/observability/export/route-71c46ee5f58adc36.js +0 -1
  697. package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-71c46ee5f58adc36.js +0 -1
  698. package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-71c46ee5f58adc36.js +0 -1
  699. package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-71c46ee5f58adc36.js +0 -1
  700. package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-71c46ee5f58adc36.js +0 -1
  701. package/app/.next-cli-build/static/chunks/app/api/pricing/route-71c46ee5f58adc36.js +0 -1
  702. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-71c46ee5f58adc36.js +0 -1
  703. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-71c46ee5f58adc36.js +0 -1
  704. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-71c46ee5f58adc36.js +0 -1
  705. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-71c46ee5f58adc36.js +0 -1
  706. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-71c46ee5f58adc36.js +0 -1
  707. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-71c46ee5f58adc36.js +0 -1
  708. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-71c46ee5f58adc36.js +0 -1
  709. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-71c46ee5f58adc36.js +0 -1
  710. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-71c46ee5f58adc36.js +0 -1
  711. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-71c46ee5f58adc36.js +0 -1
  712. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-71c46ee5f58adc36.js +0 -1
  713. package/app/.next-cli-build/static/chunks/app/api/providers/route-71c46ee5f58adc36.js +0 -1
  714. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-71c46ee5f58adc36.js +0 -1
  715. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-71c46ee5f58adc36.js +0 -1
  716. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-71c46ee5f58adc36.js +0 -1
  717. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-71c46ee5f58adc36.js +0 -1
  718. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-71c46ee5f58adc36.js +0 -1
  719. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-71c46ee5f58adc36.js +0 -1
  720. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-71c46ee5f58adc36.js +0 -1
  721. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-71c46ee5f58adc36.js +0 -1
  722. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-71c46ee5f58adc36.js +0 -1
  723. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-71c46ee5f58adc36.js +0 -1
  724. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-71c46ee5f58adc36.js +0 -1
  725. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-71c46ee5f58adc36.js +0 -1
  726. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-71c46ee5f58adc36.js +0 -1
  727. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-71c46ee5f58adc36.js +0 -1
  728. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-71c46ee5f58adc36.js +0 -1
  729. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-71c46ee5f58adc36.js +0 -1
  730. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-71c46ee5f58adc36.js +0 -1
  731. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-71c46ee5f58adc36.js +0 -1
  732. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-71c46ee5f58adc36.js +0 -1
  733. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-71c46ee5f58adc36.js +0 -1
  734. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-71c46ee5f58adc36.js +0 -1
  735. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-71c46ee5f58adc36.js +0 -1
  736. package/app/.next-cli-build/static/chunks/app/api/settings/route-71c46ee5f58adc36.js +0 -1
  737. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-71c46ee5f58adc36.js +0 -1
  738. package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-71c46ee5f58adc36.js +0 -1
  739. package/app/.next-cli-build/static/chunks/app/api/skills/install/route-71c46ee5f58adc36.js +0 -1
  740. package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-71c46ee5f58adc36.js +0 -1
  741. package/app/.next-cli-build/static/chunks/app/api/skills/route-71c46ee5f58adc36.js +0 -1
  742. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-71c46ee5f58adc36.js +0 -1
  743. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-71c46ee5f58adc36.js +0 -1
  744. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-71c46ee5f58adc36.js +0 -1
  745. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-71c46ee5f58adc36.js +0 -1
  746. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-71c46ee5f58adc36.js +0 -1
  747. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-71c46ee5f58adc36.js +0 -1
  748. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-71c46ee5f58adc36.js +0 -1
  749. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-71c46ee5f58adc36.js +0 -1
  750. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-71c46ee5f58adc36.js +0 -1
  751. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-71c46ee5f58adc36.js +0 -1
  752. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-71c46ee5f58adc36.js +0 -1
  753. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-71c46ee5f58adc36.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-71c46ee5f58adc36.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-71c46ee5f58adc36.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-71c46ee5f58adc36.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-71c46ee5f58adc36.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-71c46ee5f58adc36.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-71c46ee5f58adc36.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-71c46ee5f58adc36.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-71c46ee5f58adc36.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-71c46ee5f58adc36.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-71c46ee5f58adc36.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-71c46ee5f58adc36.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-71c46ee5f58adc36.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-71c46ee5f58adc36.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-71c46ee5f58adc36.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-71c46ee5f58adc36.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-71c46ee5f58adc36.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-71c46ee5f58adc36.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-71c46ee5f58adc36.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-71c46ee5f58adc36.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-71c46ee5f58adc36.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-71c46ee5f58adc36.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-71c46ee5f58adc36.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-71c46ee5f58adc36.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-71c46ee5f58adc36.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-71c46ee5f58adc36.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-71c46ee5f58adc36.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/v1/route-71c46ee5f58adc36.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-71c46ee5f58adc36.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-71c46ee5f58adc36.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-71c46ee5f58adc36.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-71c46ee5f58adc36.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-71c46ee5f58adc36.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-71c46ee5f58adc36.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-71c46ee5f58adc36.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-71c46ee5f58adc36.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-71c46ee5f58adc36.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/version/route-71c46ee5f58adc36.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-71c46ee5f58adc36.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/version/update/route-71c46ee5f58adc36.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-71c46ee5f58adc36.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/workspaces/route-71c46ee5f58adc36.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-71c46ee5f58adc36.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/page-71c46ee5f58adc36.js +0 -1
  797. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-71c46ee5f58adc36.js +0 -1
  798. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-71c46ee5f58adc36.js +0 -1
  799. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-71c46ee5f58adc36.js +0 -1
  800. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-71c46ee5f58adc36.js +0 -1
  801. package/app/.next-cli-build/static/css/9f8aedd7a6be48de.css +0 -1
  802. /package/app/.next-cli-build/static/{T_fU1zddh_BOaSHScvc4v → 9kVgf54H8v8zuxRTWW3ii}/_ssgManifest.js +0 -0
@@ -146,7 +146,7 @@ Content-Type: ${d||"application/octet-stream"}\r
146
146
 
147
147
  `)),c.enqueue(i.encode(k.$U)),j=!0;return}h&&(m.handleInner(h,c),n())};return new Response(new ReadableStream({async start(a){try{let b;for(;-1!==(b=g.indexOf("\n"));){let c=g.slice(0,b);if(g=g.slice(b+1),o(c,a),j){await e.cancel().catch(()=>{}),a.close();return}}for(h&&(g+=d.decode()).length>0&&(o(g,a),g="");!j&&!h;){let b,{done:c,value:f}=await e.read();if(c){(g+=d.decode()).length>0&&(o(g,a),g="");break}for(g+=d.decode(f,{stream:!0});-1!==(b=g.indexOf("\n"));){let c=g.slice(0,b);if(g=g.slice(b+1),o(c,a),j){await e.cancel().catch(()=>{}),a.close();return}}}}catch{}finally{if(!j)try{m.flush(a),j=!0}catch{}try{a.close()}catch{}await e.cancel().catch(()=>{})}},cancel:()=>e.cancel().catch(()=>{})}),{status:a.status,statusText:a.statusText,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache"}})}class N extends h.H{constructor(a="qoder"){super(a,i.xq[a]),this.region="qoder-cn"===a?"cn":"intl"}buildUrl(a){return`${(0,m.e9)(a,this.region)}/algo${m.F8}?FetchKeys=llm_model_result&AgentId=agent_common&Encode=1`}async execute({model:a,body:b,stream:c,credentials:f,signal:g,log:h,proxyOptions:i=null}){let k,m,o,p,q=f?.apiKey||f?.accessToken;if((0,n.zh)(q))try{f=await (0,n._M)(f,i,g,this.region)}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:this.buildUrl(f),headers:{},transformedBody:b}}let r=this.buildUrl(f),s=f?.providerSpecificData||{};if(!s.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:r,headers:{},transformedBody:b};if(!f?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:r,headers:{},transformedBody:b};try{({qoderKey:k,payload:m}=await J({model:a,body:b,credentials:f,log:h,proxyOptions:i,signal:g,region:this.region}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:r,headers:{},transformedBody:b}}let t=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,e=Math.floor(c/3),f=b.slice(c-e)+b.slice(e,c-e)+b.slice(0,e),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=f.charCodeAt(a);b<128&&d[b]>=0?g[a]=d[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(m),"utf8")),u=Buffer.from(t,"latin1");try{o=(0,e.d)(u,r,{userId:s.userId,authToken:f.accessToken,name:f.displayName||"",email:f.email||"",machineId:s.machineId||""})}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:r,headers:{},transformedBody:b}}let v={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":k,"X-Model-Source":m.model_config&&m.model_config.source||"system","Accept-Encoding":"identity",...o},w=this.config?.timeoutMs||l.pH,x=new AbortController,y=setTimeout(()=>x.abort(Error("fetch connect timeout")),w),z=g?AbortSignal.any([g,x.signal]):x.signal;try{p=await (0,j.proxyAwareFetch)(r,{method:"POST",headers:v,body:u,signal:z},{...i,strictProxy:!0})}catch(a){if(z.aborted)throw z.reason;throw a}finally{clearTimeout(y)}return p.ok?{response:await M(p,`${this.provider}/${k}`,h),url:r,headers:v,transformedBody:m}:{response:p,url:r,headers:v,transformedBody:m}}async refreshCredentials(){return null}needsRefresh(){return!1}}},57197:(a,b,c)=>{"use strict";c.d(b,{e:()=>q});var d=c(77598),e=c(74957),f=c(35024),g=c(78959),h=c(92536),i=c(13699),j=c(47655);let k=f.xq["duckduckgo-web"]||i.A.transport,l={challenge:"PROVIDER_UNAVAILABLE",quota:"PROVIDER_UNAVAILABLE","rate-limit":"PROVIDER_REQUEST_FAILED","bad-request":"INVALID_REQUEST",unavailable:"PROVIDER_REQUEST_FAILED"},m={challenge:"Duck.ai refused the request at its anti-bot check. That usually means too many requests from this address in a short window — waiting a few minutes is the fix, not retrying, and not re-pasting a cookie.",quota:"Duck.ai is refusing this address rather than this request. A pasted cookie can help and is optional; a request from a different address may work immediately.","rate-limit":"Duck.ai is rate limiting this address. Retrying later is the fix.","bad-request":"Duck.ai refused the request as malformed. See the message for which field.",unavailable:"Duck.ai could not be reached. If this is a network problem on the gateway host it will work again on its own; if it keeps happening, the service may have changed."};function n(a){return(Array.isArray(a)?a:[]).map(a=>{var b;return{role:String(a?.role||"user"),content:"string"==typeof(b=a?.content)?b:Array.isArray(b)?b.map(a=>"string"==typeof a?a:a&&"object"==typeof a&&"text"in a&&"string"==typeof a.text?a.text:"").join(""):""}})}function o(a,b,c,d){return new Response(JSON.stringify({error:{message:a,type:b,code:d}}),{status:c,headers:{"Content-Type":"application/json"}})}async function p(a,b,c,d,e,f){let g="",h=b;for await(let b of(0,j.readDuckDuckGoEvents)(a,f))"string"==typeof b.model&&b.model&&(h=b.model),g+=(0,j.duckDuckGoWebContent)(b);if(!g)return o("Duck.ai answered 200 with no text in the stream","upstream_error",502,l.unavailable);let i=Math.ceil(e.length/4),k=Math.ceil(g.length/4);return new Response(JSON.stringify({id:c,object:"chat.completion",created:d,model:h,system_fingerprint:null,choices:[{index:0,message:{role:"assistant",content:g},finish_reason:"stop",logprobs:null}],usage:{prompt_tokens:i,completion_tokens:k,total_tokens:i+k}}),{status:200,headers:{"Content-Type":"application/json"}})}class q extends e.H{constructor(){super("duckduckgo-web",k)}buildUrl(a,b,c=0,d=null){return j.DUCKDUCKGO_WEB.baseUrl}buildHeaders(a,b=!0){return(0,j.duckDuckGoHeaders)({accept:b?"text/event-stream":"application/json",cookieHeader:(0,j.duckDuckGoWebCookieHeader)(a)})}transformRequest(a,b,c,e){return(0,j.buildDuckDuckGoWebPayload)({model:a||j.DUCKDUCKGO_WEB.defaultModel,messages:n(b?.messages),publicKey:(0,j.publicKeyJwk)(),conversationId:(0,d.randomUUID)(),messageId:(0,d.randomUUID)()})}async refuseUnsupported(a,b,c,d){if(b?.tool_choice==="required")return'Duck.ai answers in prose and has no way to force a tool call. Send `tool_choice: "auto"` or omit it.';let e=[];try{e=(0,j.freeDuckDuckGoWebModels)(await (0,j.duckDuckGoCatalog)({signal:c,proxyOptions:d}))}catch{return}if(0===e.length||e.some(b=>b.id===a))return;let f=e.map(a=>a.id).join(", ");return`Duck.ai does not offer ${a} on its free tier. Duck.ai serves ${f} free. ${a} is not free on this account, and a request for it would be refused by the service.`}async execute({model:a,body:b,stream:c,credentials:e,signal:f,log:i,proxyOptions:k}){let q,r=b?.messages;if(!Array.isArray(r)||0===r.length)return{response:o("Missing or empty messages array","invalid_request",400,"INVALID_REQUEST"),url:j.DUCKDUCKGO_WEB.baseUrl,headers:{},transformedBody:b};let s=a||b?.model||j.DUCKDUCKGO_WEB.defaultModel,t=(0,j.duckDuckGoWebCookieHeader)(e),u=this.buildHeaders(e,c),v=await this.refuseUnsupported(s,b,f,k);if(v)return{response:o(v,"invalid_request",400,"NOT_SUPPORTED"),url:j.DUCKDUCKGO_WEB.baseUrl,headers:u,transformedBody:b};try{var w;let a,i;q=this.transformRequest(s,b,c,e);let{response:m,headers:v}=await (0,j.duckDuckGoTurn)({payload:q,cookieHeader:t,signal:f,proxyOptions:k});if(!m.body)return{response:o("Duck.ai returned an empty response body","upstream_error",502,l.unavailable),url:j.DUCKDUCKGO_WEB.baseUrl,headers:v??u,transformedBody:q};let x=`chatcmpl-ddg-${(0,d.randomUUID)().slice(0,12)}`,y=Math.floor(Date.now()/1e3);return{response:c?new Response((w=m.body,a=new TextEncoder,i=(a,b=null)=>(0,h.N)({id:x,object:"chat.completion.chunk",created:y,model:s,system_fingerprint:null,choices:[{index:0,delta:a,finish_reason:b,logprobs:null}]}),new ReadableStream({async start(b){try{b.enqueue(a.encode(i({role:"assistant"})));let c="";for await(let d of(0,j.readDuckDuckGoEvents)(w,f)){let e=(0,j.duckDuckGoWebContent)(d);e&&(c+=e,b.enqueue(a.encode(i({content:e}))))}c?b.enqueue(a.encode(i({},"stop"))):b.enqueue(a.encode(i({content:"[Error: Duck.ai answered 200 with no text in the stream]"},"stop"))),b.enqueue(a.encode(g.$U))}catch(c){b.enqueue(a.encode(i({content:`[Error: ${c.message||String(c)}]`},"stop"))),b.enqueue(a.encode(g.$U))}finally{b.close()}}})),{status:200,headers:{...g.uB}}):await p(m.body,s,x,y,n(r).map(a=>a.content).join("\n"),f),url:j.DUCKDUCKGO_WEB.baseUrl,headers:v??u,transformedBody:q}}catch(e){let a=e instanceof j.DuckDuckGoWebError?e.kind:"unavailable",b=m[a]||m.unavailable,c=e?.message?` (${e.message})`:"",d=Number.isInteger(e?.status)&&e.status>=400?e.status:502;return i?.warn?.("DDG-WEB",`${a}: ${e?.message||String(e)}`),{response:o(`${b}${c}`,"upstream_error",d,l[a]),url:j.DUCKDUCKGO_WEB.baseUrl,headers:u,transformedBody:q}}}}},61433:(a,b,c)=>{"use strict";c.d(b,{r:()=>h});var d=c(55511),e=c.n(d),f=c(74957),g=c(35024);class h extends f.H{constructor(){super("iflow",g.xq.iflow)}generateUUID(){return e().randomUUID()}createIFlowSignature(a,b,c,d){if(!d)return"";let f=`${a}:${b}:${c}`,g=e().createHmac("sha256",d);return g.update(f),g.digest("hex")}buildHeaders(a,b=!0){let c=`session-${this.generateUUID()}`,d=Date.now(),e=this.config.headers["User-Agent"]||"iFlow-Cli",f=a.apiKey||a.accessToken||"",g=this.createIFlowSignature(e,c,d,f),h={"Content-Type":"application/json",...this.config.headers,"session-id":c,"x-iflow-timestamp":d.toString(),"x-iflow-signature":g};return a.apiKey&&(h.Authorization=`Bearer ${a.apiKey}`),b&&(h.Accept="text/event-stream"),h}buildUrl(a,b,c=0,d=null){return this.config.baseUrl}transformRequest(a,b,c,d){return c&&b.messages&&!b.stream_options&&(b.stream_options={include_usage:!0}),b}}},67068:(a,b,c)=>{"use strict";c.r(b),c.d(b,{checkWebSession:()=>u,connectWebSession:()=>v,parseTokenHarborCookie:()=>m,refusalFor:()=>r,sessionExpiresAt:()=>q,sessionValueProblem:()=>p});var d=c(39609),e=c(67528),f=c(54051);let g=e.A.transport||{},h=e.A.models||[],i="sb-auth-auth-token",j="base64-",k="Paste the Cookie header or the sb-auth-auth-token value from tokenharbor.ai.",l=`The "${i}" cookie is empty, which is what the browser stores when you are signed out. Sign in at tokenharbor.ai and copy it again.`;function m(a){var b;let c=String(a||"").trim();if(!c)throw Error(k);let d=(b=c).startsWith(j)?b:b===i?"":null;if(null!==d){if(!d)throw Error(l);let a=p(d);if(a)throw Error(a);return`${i}=${d}`}if(RegExp(`(?:^|;\\s*)${i}=\\s*(?:;|$)`).test(c))throw Error(l);let e=(0,f.parseCookieHeader)((function(a){if(!/[\r\n]/.test(a))return a;let b=a.split(/\r?\n/).map(a=>a.trim()).filter(Boolean);return b.find(a=>/^cookie\s*:/i.test(a))||b[0]||a})(c).replace(/^\s*cookie\s*:\s*/i,"")),g=Object.keys(e),h=g.filter(a=>a===i||a.startsWith(`${i}.`)).sort((a,b)=>n(a)-n(b));if(0===h.length)throw Error(`That Cookie header carries no "${i}" cookie. Sign in at tokenharbor.ai and copy it again.`);let m=h.map(a=>e[a]??"").join("");if(!m)throw Error(l);let o=p(m);if(o)throw Error(o);let q={};for(let a of g)a===i||a.startsWith(`${i}.`)||(q[a]=e[a]);let r=(0,f.cookieHeaderFrom)(q),s=`${i}=${m}`;return r?`${r}; ${s}`:s}function n(a){if(a===i)return 0;let b=Number(a.slice(i.length+1));return Number.isFinite(b)?b+1:Number.MAX_SAFE_INTEGER}function o(a){try{let b=a.replace(/-/g,"+").replace(/_/g,"/"),c=b+"=".repeat((4-b.length%4)%4),d=atob(c),e=Uint8Array.from(d,a=>a.charCodeAt(0));return new TextDecoder().decode(e)}catch{return}}function p(a){let b;if(!a.startsWith(j))return 3===a.split(".").length?void 0:`That session value is not in the shape tokenharbor.ai stores it in — it should start with "${j}". Copy the whole value of the cookie, or the whole Cookie header.`;let c=o(a.slice(j.length));if(void 0===c)return"That session cookie is not valid base64, which almost always means the paste was cut short. Select the entire cookie value — it is long, and a partially copied one is refused here rather than sent and reported as a dead session.";try{b=JSON.parse(c)}catch{return"That session cookie was cut short: it decodes to something that is not complete JSON. Copy the whole cookie value (or the whole Cookie header) and paste it again — the session itself is probably fine."}if(!b||"object"!=typeof b||"string"!=typeof b.access_token)return`That cookie decodes, but it carries no access token, so this adapter does not recognise it as a Token Harbor session. Confirm you copied the cookie named "${i}".`}function q(a){let b=function(a){let b=String(a||"").trim();if(b.startsWith(j))return b;let c=b.match(RegExp(`(?:^|;\\s*)${i}=([^;]+)`));return c?.[1]?.trim()??void 0}(a);if(void 0===b)return;let c=o(b.slice(j.length));if(void 0!==c)try{let a=JSON.parse(c);return"number"==typeof a.expires_at?a.expires_at:void 0}catch{return}}function r(a,b,c){if(401===a||403===a){let d=c?q(c):void 0,e=void 0!==d&&1e3*d<=Date.now()?`The pasted session expired at ${new Date(1e3*d).toISOString()}. Sign in at tokenharbor.ai and copy a fresh cookie.`:"Sign in at tokenharbor.ai again and paste a fresh cookie. A 403 can also be Cloudflare refusing the request rather than the session being dead.";return`Token Harbor refused this session while ${b} (${a}). ${e}`}return 429===a?`Token Harbor is rate limiting this session (${a}) while ${b}.`:402===a?`Token Harbor refused ${b}: the account has no balance for this model (402). The ":free" models do not bill.`:`Token Harbor answered ${a} while ${b}.`}async function s(a){let b,c=g.profileUrl;if(!c)return{ok:!1,detail:"Token Harbor Web is not configured in this build."};try{let e;b=await (0,d.proxyAwareFetch)(c,{method:"GET",headers:(e=g.origin,{...(0,f.browserFingerprintHeaders)({origin:e,referer:e?`${e}/chat`:void 0,accept:"application/json"}),Cookie:a})})}catch(a){return{ok:!1,detail:`Token Harbor could not be reached: ${a?.message||String(a)}`}}let e=await b.json().catch(()=>void 0),h=(0,f.readBodyRefusal)(e)||(e?.ok===!1?"the service answered ok:false":void 0);return b.ok?h?{ok:!1,detail:`Token Harbor did not accept the session (${h}). Sign in at tokenharbor.ai again and paste a fresh cookie.`}:{ok:!0,detail:"Token Harbor accepted the session cookie.",email:"string"==typeof e?.email?e.email:void 0}:{ok:!1,detail:r(b.status,"checking the session",a)}}function t(){return h.map(a=>a.id).filter(Boolean)}async function u(a){let b;try{b=m(a)}catch(a){return{ok:!1,detail:a?.message||k}}let c=await s(b);return c.ok?{ok:!0,detail:c.detail,models:t()}:{ok:!1,detail:c.detail}}async function v(a){let b;try{b=m(a)}catch(b){let a=b?.message||k;return{ok:!1,error:a,detail:a}}let c=await s(b);return c.ok?{ok:!0,credential:b,models:t(),name:"Token Harbor Web",email:c.email}:{ok:!1,error:c.detail,detail:c.detail}}},72936:(a,b,c)=>{"use strict";c.d(b,{z:()=>e});var d=c(77598);function e(){let a=(0,d.randomUUID)().replace(/-/g,"");return{"X-Conversation-ID":(0,d.randomUUID)(),"X-Conversation-Request-ID":(0,d.randomUUID)(),"X-Conversation-Message-ID":a,"X-Request-ID":a}}},73200:(a,b,c)=>{"use strict";c.d(b,{p:()=>t,parseAgentTarget:()=>r});var d=c(74957),e=c(92536),f=c(78959),g=c(40615);[...Object.keys(g.br||{}),...Object.keys(g.mh||{})];let h=[{type:"function",function:{name:"web_search",description:"Search the web for current information. Returns up to 8 results with title, url, and snippet.",parameters:{type:"object",properties:{query:{type:"string",description:"The search query."}},required:["query"]}}},{type:"function",function:{name:"web_fetch",description:"Fetch and read a web page (or search + page in one step when only a query is given).",parameters:{type:"object",properties:{url:{type:"string",description:"The page URL to read."},query:{type:"string",description:"Optional: search this and fetch the top result instead of a literal URL."}}}}},{type:"function",function:{name:"image_gen",description:"Generate an image from a text prompt. Returns a URL or base64 of the image.",parameters:{type:"object",properties:{prompt:{type:"string",description:"What to draw."},width:{type:"number",description:"Optional width in px."},height:{type:"number",description:"Optional height in px."}},required:["prompt"]}}},{type:"function",function:{name:"tts",description:"Convert text to speech. Returns an audio URL/data-uri.",parameters:{type:"object",properties:{text:{type:"string",description:"The text to speak."},voice:{type:"string",description:"Optional voice name."}},required:["text"]}}},{type:"function",function:{name:"stt",description:"Transcribe audio to text. Provide an audio URL or data-uri.",parameters:{type:"object",properties:{audio:{type:"string",description:"Audio URL or base64 data-uri."},language:{type:"string",description:'Optional hint, e.g. "en".'}},required:["audio"]}}},{type:"function",function:{name:"embeddings",description:"Compute embedding vectors for text. Returns the vector array.",parameters:{type:"object",properties:{input:{type:"string",description:"The text to embed."}},required:["input"]}}},{type:"function",function:{name:"video_gen",description:"Generate a short video from a text prompt. Returns a video URL.",parameters:{type:"object",properties:{prompt:{type:"string",description:"Describe the video."}},required:["prompt"]}}}];async function i(){try{let{getCliToken:a}=await c.e(3867).then(c.bind(c,13867));return await a()}catch{return process.env.OMNIHILBRAS_AGENT_API_KEY?.trim()||"dummy"}}async function j(a,b,c){let d,e=await fetch(`${(d=process.env.OMNIHILBRAS_AGENT_API_BASE?.trim())?d.replace(/\/+$/,""):"http://127.0.0.1:20127"}${a}`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":c},body:JSON.stringify(b??{}),signal:AbortSignal.timeout(6e4)}),f=await e.text().catch(()=>"");if(!e.ok)throw Error(`${a} → HTTP ${e.status}${f?`: ${f.slice(0,200)}`:""}`);let g=f.trim();if(!g)return"{}";try{return JSON.parse(g)}catch{return g}}function k(a,b){if("web_search"===b)try{let b="string"==typeof a?JSON.parse(a):a,c=b?.results;if(Array.isArray(c)&&c.length)return c.slice(0,8).map((a,b)=>{let c=a.title||a.name||"",d=a.url||a.link||"",e=(a.snippet||a.content||a.description||"").slice(0,300);return`${b+1}. ${c} — ${d}${e?`
148
148
  ${e}`:""}`}).join("\n")}catch{}let c="string"==typeof a?a:JSON.stringify(a);return c.length<=12e3?c:`${c.slice(0,12e3)}
149
- …[truncated]`}function l(a){return`[tool error] ${String(a||"unknown error").slice(0,500)}`}h.map(a=>a.function.name);let m={web_search:async({query:a,provider:b},c)=>{if(!a)throw Error("web_search needs a query");return k(await j("/api/v1/search",{...b?{provider:b}:{},query:a,max_results:8},c),"web_search")},web_fetch:async({url:a,query:b,provider:c},d)=>{let e=await j("/api/v1/web/fetch",{...c?{provider:c}:{},...a?{url:a}:{query:b}},d),f=e?.content??e?.text??e;return k("string"==typeof f?f:e,"web_fetch")},image_gen:async({prompt:a,width:b,height:c,provider:d},e)=>{if(!a)throw Error("image_gen needs a prompt");let f=await j("/api/v1/images/generations",{...d?{provider:d}:{},prompt:a,...b?{width:Number(b)}:{},...c?{height:Number(c)}:{}},e),g=f?.data?.[0]?.url||f?.url||f?.data?.[0]?.b64_json||f;return k("string"==typeof g?g:f,"image_gen")},tts:async({text:a,voice:b,provider:c},d)=>{if(!a)throw Error("tts needs text to speak");return k(await j("/api/v1/audio/speech",{...c?{provider:c}:{},text:a,...b?{voice:b}:{}},d),"tts")},stt:async({audio:a,language:b,provider:c},d)=>{if(!a)throw Error("stt needs audio (URL or data-uri)");let e=await j("/api/v1/audio/transcriptions",{...c?{provider:c}:{},audio:a,...b?{language:b}:{}},d),f=e?.text||e?.transcript||e;return k("string"==typeof f?f:e,"stt")},embeddings:async({input:a,provider:b},c)=>{if(!a)throw Error("embeddings needs input text");let d=await j("/api/v1/embeddings",{...b?{provider:b}:{},input:a},c),e=d?.data?.[0]?.embedding||d,f=Array.isArray(e)?e.length:"?";return k(`[vector: ${f} dims] ${JSON.stringify(Array.isArray(e)?e.slice(0,12):e)}`,"embeddings")},video_gen:async({prompt:a,provider:b},c)=>{if(!a)throw Error("video_gen needs a prompt");let d=await j("/api/v1/videos/generations",{...b?{provider:b}:{},prompt:a},c),e=d?.data?.[0]?.url||d?.url||d;return k("string"==typeof e?e:d,"video_gen")}};async function n(a,b,c={}){let d=m[a];if(!d)return{ok:!1,result:l(`unknown tool "${a}"`)};let e=c.log;try{let c=await i();e?.info?.("AGENT-TOOLS",`→ ${a} ${JSON.stringify(b||{}).slice(0,120)}`);let f=await d(b||{},c);return{ok:!0,result:f}}catch(b){return e?.warn?.("AGENT-TOOLS",`${a} failed: ${b?.message||b}`),{ok:!1,result:l(b?.message||b),error:b?.message||String(b)}}}async function o({messages:a,chatTurn:b,log:c,ctx:d={},executeTool:e=n}){let f=c||d.log,g=[{role:"system",content:"You are an autonomous agent. You can use the tools provided to answer the user.\nWhen a tool call is needed, call it; otherwise answer in plain text.\nUse tools to look things up (web_search, web_fetch), produce media (image_gen, tts, stt, video_gen), or compute embeddings.\nAfter each tool result, continue reasoning. Stop when the task is complete — do not loop on successful calls."},...a],h=0,i=0,j=null;for(;;){if(h>=6){f?.warn?.("AGENT-LOOP","round cap (6) reached with pending tools; returning last answer");break}let a=await b(g),c=a?.message||{};j=c;let d=Array.isArray(c.tool_calls)?c.tool_calls:[];if(0===d.length)return{messages:g,answer:"string"==typeof c.content?c.content:q(c.content),toolCalls:i,rounds:h,finished:"answer"};for(let a of(g.push({role:"assistant",content:c.content||null,tool_calls:d.map((a,b)=>({id:a.id||`call_${b}_${i+b}`,type:"function",function:{name:a.function?.name||a.name||"tool",arguments:JSON.stringify(p(a.function?.arguments))}}))}),d.slice(0,8))){let b=a.function?.name||a.name||"tool",c=p(a.function?.arguments);f?.info?.("AGENT-LOOP",`round ${h+1}: ${b} ${JSON.stringify(c).slice(0,120)}`);let{ok:d,result:j,error:k}=await e(b,c,{log:f});i+=1;let l=a.id||`call_${i}`;g.push({role:"tool",tool_call_id:l,content:j}),d||f?.warn?.("AGENT-LOOP",`tool ${b} errored (${String(k).slice(0,120)}); feeding back so the model can route around it`)}h+=1}return{messages:g,answer:"string"==typeof j?.content?j.content:q(j?.content),toolCalls:i,rounds:h,finished:"cap"}}function p(a){if(null==a)return{};if("object"==typeof a)return a;try{let b=JSON.parse(a);return b&&"object"==typeof b?b:{value:a}}catch{return{value:a}}}function q(a){return null==a?"":"string"==typeof a?a:Array.isArray(a)?a.map(a=>"string"==typeof a?a:a?.text||"").join(""):String(a)}function r(a){let b=String(a||"").trim(),c=b.startsWith("webcookie-agent/")?b.slice(16):b.startsWith("wca/")?b.slice(4):b;if(!c||"any"===c)return{provider:null,modelId:null};let[d,...e]=c.split("/");return{provider:d,modelId:e.join("/")||null}}async function s({provider:a,modelId:b,messages:d,credentials:e,log:f}){let g,{getExecutor:i}=await Promise.resolve().then(c.bind(c,55330)),j=i(a),k=await j.execute({model:b,body:{messages:d,model:b,tools:h,stream:!1},stream:!1,credentials:e,signal:AbortSignal.timeout(12e4),log:f,proxyOptions:null}),l=await k.response.text();try{g=JSON.parse(l)}catch{g={}}let m=g?.choices?.[0]||{};return{message:{role:"assistant",content:"string"==typeof m.message?.content?m.message.content:null,tool_calls:Array.isArray(m.message?.tool_calls)?m.message.tool_calls:void 0},finish_reason:m.finish_reason||"stop"}}class t extends d.H{constructor(){super("webcookie-agent",null)}buildUrl(){return"webcookie-agent"}buildHeaders(){return{"Content-Type":"application/json"}}async execute({model:a,body:b,stream:d,credentials:g,signal:h,log:i,memberProvider:j}){let k=r(a),l=j||k.provider,{PROVIDER_MODELS:m}=await Promise.resolve().then(c.bind(c,3689)),n=k.modelId||m[l]?.[0]?.id||"any",p=Array.isArray(b?.messages)?b.messages:[],q=async a=>{if(!g)return{message:{role:"assistant",content:`No active session is connected for ${l}. Add a ${l} connection in the dashboard (a signed-in browser session), then retry.`,tool_calls:void 0},finish_reason:"stop"};try{return await s({provider:l,modelId:n,messages:a,credentials:g,log:i})}catch(a){return i?.warn?.("WEBCOOKIE-AGENT",`${l} turn failed: ${a?.message||a}`),{message:{role:"assistant",content:`[${l} unavailable] ${String(a?.message||a).slice(0,200)}`,tool_calls:void 0},finish_reason:"stop"}}},t=await o({messages:p,chatTurn:q,log:i,ctx:{log:i}}),u=t.answer||"",v=`chatcmpl-wca-${crypto.randomUUID().slice(0,12)}`,w=Math.floor(Date.now()/1e3),x="cap"===t.finished?"length":"stop",y=[];for(let a of t.messages||[])if("assistant"===a.role&&Array.isArray(a.tool_calls))for(let b of a.tool_calls)y.push({id:b.id||`call_${y.length+1}`,type:"function",function:{name:b.function?.name||b.name||"tool",arguments:"string"==typeof b.function?.arguments?b.function.arguments:JSON.stringify(b.function?.arguments||{})}});let z={role:"assistant",content:u,...y.length>0?{tool_calls:y}:{}},A=a||"webcookie-agent";if(d){let a=new TextEncoder;return{response:new Response(new ReadableStream({start(b){b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:{role:"assistant"},finish_reason:null,logprobs:null}]})));let c={content:u};z.tool_calls?.length&&(c.tool_calls=z.tool_calls.map((a,b)=>({index:b,id:a.id,type:a.type,function:a.function}))),b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:c,finish_reason:null,logprobs:null}]}))),b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:{},finish_reason:x,logprobs:null}]}))),b.enqueue(a.encode(f.$U)),b.close()}}),{status:200,headers:{"Content-Type":"text/event-stream"}}),url:this.buildUrl(),headers:this.buildHeaders(),transformedBody:b,responseFormat:"openai"}}return{response:new Response(JSON.stringify({id:v,object:"chat.completion",created:w,model:A,choices:[{index:0,message:z,finish_reason:x,logprobs:null}]}),{status:200,headers:{"Content-Type":"application/json"}}),url:this.buildUrl(),headers:this.buildHeaders(),transformedBody:b,responseFormat:"openai"}}errorResult(a,b,c,d){return{response:new Response(JSON.stringify({error:{message:b,type:c,code:d}}),{status:a,headers:{"Content-Type":"application/json"}}),url:this.buildUrl(),headers:this.buildHeaders()}}}},73483:(a,b,c)=>{"use strict";c.d(b,{Gh:()=>k,IF:()=>o,O9:()=>g,OF:()=>n,WL:()=>h,_6:()=>j,_L:()=>m,f5:()=>l,lm:()=>f});var d=c(14170);let e="1"===process.env.LOG_USAGE_VERBOSE,f={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function g(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function h(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function i(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function j(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens??a.prompt_tokens_details?.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f};return e>0&&(h.reasoning_tokens=e),h}function k(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function l(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return i({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return i({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return i({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return i({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?i({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?i({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0),cached_tokens:a.prompt_eval_cached_count||0}):null}function m(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function n(a,b,c=d.h.OPENAI){var e,f;return e=function(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}(a),f=b&&!(b<=0)?Math.max(1,Math.floor(b/4)):0,c===d.h.CLAUDE?g({input_tokens:e,output_tokens:f,estimated:!0}):g({prompt_tokens:e,completion_tokens:f,total_tokens:e+f,estimated:!0})}function o(a,b,c=null,d=null,g=null){if(!b||"object"!=typeof b||!e)return;let h=a?.toUpperCase()||"UNKNOWN",i=b?.prompt_tokens||b?.input_tokens||0,j=b?.completion_tokens||b?.output_tokens||0,k=d?d.slice(0,8)+"...":"unknown",l=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${f.green}[USAGE] ${h} | in=${i} | out=${j} | account=${k}${f.reset}`;b.estimated&&(l+=` ${f.yellow}(estimated)${f.reset}`);let m=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;m&&(l+=` | cache_read=${m}`);let n=b.cache_creation_input_tokens;n&&(l+=` | cache_create=${n}`);let p=b.reasoning_tokens;p&&(l+=` | reasoning=${p}`),console.log(l)}},73870:(a,b,c)=>{"use strict";c.d(b,{w:()=>l});var d=c(74957),e=c(35024),f=c(57247),g=c(8521),h=c(39609);let i=new Map;function j(a){if("string"!=typeof a)return null;try{let b=JSON.parse(a);if("authorized_user"===b.type&&b.client_id&&b.client_secret&&b.refresh_token)return b;return null}catch{return null}}async function k(a){if(i.has(a))return i.get(a);let b=await fetch(`https://aiplatform.googleapis.com/v1/publishers/google/models/__probe__:generateContent?key=${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:"{}"}),c=await b.json().catch(()=>null),d=(c?.[0]?.error?.message||c?.error?.message||"").match(/projects\/([^/]+)\//),e=d?.[1]||null;return e&&i.set(a,e),e}class l extends d.H{constructor(a="vertex"){super(a,e.xq[a]||{})}buildUrl(a,b,c=0,d=null){let e=(0,g.Sc)(d?.apiKey),h=j(d?.apiKey),i=!!e||!!h||!!d?.accessToken,k=i?null:d?.apiKey,l=e?.project_id||h?.quota_project_id||d?.providerSpecificData?.projectId;if("vertex-partner"===this.provider){if(!l)throw Error("Vertex partner models require a project_id. Add it in providerSpecificData or use Service Account JSON.");let a=`https://aiplatform.googleapis.com/v1/projects/${l}/locations/global/endpoints/openapi/chat/completions`;return k?`${a}?key=${k}`:a}let m=b?"streamGenerateContent":"generateContent";if(i){if(!l)throw Error("Vertex OAuth/ADC requires a project_id. Add quota_project_id to your ADC JSON or set providerSpecificData.projectId.");let c=d?.providerSpecificData?.location||(0,f.V2)(this.provider,a)?.defaultLocation||"us-central1",e=`https://aiplatform.googleapis.com/v1/projects/${l}/locations/${c}/publishers/google/models/${a}:${m}`;return b&&(e+="?alt=sse"),e}let n=d?.providerSpecificData?.location||"global",o=l?`https://aiplatform.googleapis.com/v1/projects/${l}/locations/${n}/publishers/google/models/${a}:${m}`:`https://aiplatform.googleapis.com/v1/publishers/google/models/${a}:${m}`;return b&&(o+="?alt=sse"),k&&(o+=b?`&key=${k}`:`?key=${k}`),o}buildHeaders(a,b=!0){let c={"Content-Type":"application/json"};return a.accessToken&&(c.Authorization=`Bearer ${a.accessToken}`),b&&(c.Accept="text/event-stream"),c}async refreshCredentials(a,b){let c=(0,g.Sc)(a?.apiKey);if(!c)return null;let d=await (0,g.pb)(c,b);return d?{accessToken:d.accessToken,expiresAt:d.expiresAt}:null}async execute({model:a,body:b,stream:c,credentials:d,signal:e,log:f,proxyOptions:i=null}){let l=(0,g.Sc)(d?.apiKey),m=j(d?.apiKey);if(l){let a=await (0,g.pb)(l,f);if(!a?.accessToken)throw Error("Vertex: failed to mint access token from Service Account JSON");d.accessToken=a.accessToken}if(m){let a=await (0,g.I9)(m.refresh_token,m.client_id,m.client_secret,f);if(!a?.accessToken)throw Error("Vertex: failed to refresh access token from ADC JSON (authorized_user)");d.accessToken=a.accessToken}if("vertex-partner"===this.provider&&!l&&!m&&!d?.providerSpecificData?.projectId){let a=await k(d.apiKey);if(!a)throw Error("Vertex: could not resolve project_id from API key. Please add it manually in provider settings.");f?.debug?.("VERTEX",`Resolved project_id: ${a}`),d.providerSpecificData={...d.providerSpecificData,projectId:a}}let n=this.buildUrl(a,c,0,d),o=this.buildHeaders(d,c),p=this.transformRequest(a,b,c,d);return{response:await (0,h.proxyAwareFetch)(n,{method:"POST",headers:o,body:JSON.stringify(p),signal:e},i),url:n,headers:o,transformedBody:p}}}},76467:(a,b,c)=>{"use strict";c.d(b,{B:()=>N});var d=c(74957),e=c(35024),f=c(6382),g=c(94755),h=c(8521),i=c(78959),j=c(24),k=c(41004),l=c(68421),m=c(8658);let n=l.bJ.maxMessageBytes,o=l.bJ.maxHeadersBytes,p=new Set(["assistantResponseEvent","reasoningContentEvent","codeEvent","toolUseEvent","messageStopEvent","metadataEvent","MetadataEvent","contextUsageEvent","meteringEvent","metricsEvent"]),q=new TextEncoder,r=new TextDecoder,s=Object.freeze({tool:"Retry the previous response because its Kiro tool_call wrapper was malformed. If you use the wrapper tool named tool_call, its input must contain a non-empty name and an arguments field.",ellipsis:"Retry the previous response because it ended with only an ellipsis. Return the complete final answer, not only ... or ….",short_final:"Retry the previous response because its final only announced a future action. Complete the check now and return the result or a concrete blocker."}),t=/^(?:(?:(?:現在|接著|接下來|下一步)[,,::\s]*(?:我(?:只)?(?:會|要|將|再)?\s*)?|我只再)(?:補|查|確認|驗證|追(?:查|蹤)?|繼續|檢查|測試)|我(?:會|要|將)(?:再|重新)?(?:補(?:齊|查)?|抓取|查(?:詢)?|確認|驗證|追(?:查|蹤)?|繼續|檢查|測試)|(?:(?:next|now|then)\b[\s,:-]*)?(?:i(?:'ll| will| am going to| need to)|let me)\s+(?:verify|check|confirm|validate|investigate|trace|continue|follow up|test)\b)/iu,u=/^目前證據顯示[\s\S]{1,700}[。.!?;;]\s*最後補查\s+504\s+access\s+log[,,]\s*確認\s+host[//]路徑與是否為集中流量[。.!]?$/iu,v=/^(?:(?:next|now|then)\b[\s,:-]*)?(?:i(?:'ll| will| am going to| need to)|let me)\s+(?:verify|check|confirm|validate|investigate|trace|continue|follow up|test)\b/iu,w=/(?:[:;\n]|[.!?]\s+\S|\b(?:status|checksum|response|deployment)\s+(?:is|are|was|were|matches?|equals?|returned)\b)/iu,x=/^(?:(?:現在|接著|接下來|下一步)[,,::\s]*(?:我(?:只)?(?:會|要|將|再)?\s*)?|我只再|我(?:會|要|將)(?:再|重新)?)(?:補|抓取|查|確認|驗證|追|繼續|檢查|測試)/u,y=/(?:[。!?]\s*\S|(?:版本|狀態|回應|結果|部署|校驗碼)(?:是|為|等於|顯示))/u,z=/(?:請(?:你|先)|你(?:先|需要|可以|提供|確認|批准|允許)|等待(?:你|使用者)|等你|核准|同意|授權|\b(?:after|when|once)\s+you\b|\byour\s+(?:approval|confirmation|permission|input)\b|\bwait(?:ing)?\s+for\s+you\b|\bplease\s+(?:approve|confirm|provide|send)\b)/iu,A=/(?:已(?:經)?完成|完成(?:了|驗證|確認)|修復完成|確認無誤|驗證(?:完成|通過)|測試(?:均)?通過|結論|總結|\b(?:done|completed|fixed|verified|confirmed|passed|in conclusion|summary)\b|\b(?:is|are) complete\b)/iu,B=/(?:顯示|發現|因此|成功|失敗|正常|無錯誤|沒有錯誤|\b(?:found|shows?|showed|because|therefore|succeeded|failed|healthy|green|no errors?)\b)/iu;function C(a,b){let c=Number.parseInt(process.env?.[a]||"",10);return Number.isFinite(c)&&c>0?c:b}function D(a,b){let c=new Uint8Array(b),d=0;for(let b of a)c.set(b,d),d+=b.byteLength;return c}function E(a){let b=Error(a?.message||a||"Request aborted");return b.name="AbortError",b}async function F(a,b,c,d){let e,f;if(b?.aborted)throw E(b.reason);let g=new Promise((a,b)=>{e=setTimeout(()=>b(Error(d)),c)}),h=new Promise((a,c)=>{f=()=>c(E(b.reason)),b?.addEventListener("abort",f,{once:!0})});try{return await Promise.race([a.read(),g,h])}finally{clearTimeout(e),b?.removeEventListener?.("abort",f)}}async function G(a,b,c,d){let e=a?.body?.getReader?.();if(!e)return"";let f=[],g=0;try{for(;g<c;){let{done:a,value:h}=await F(e,b,d,"Kiro retry error body stalled");if(a)break;let i=c-g,j=h.byteLength>i?h.slice(0,i):h;if(f.push(j),g+=j.byteLength,h.byteLength>i)break}}finally{await e.cancel("bounded Kiro retry error body").catch(()=>{})}return r.decode(D(f,g))}function H(a){let b=String(a||"").trim().replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase().replace(/[\s-]+/g,"_");return["endturn","end_turn","stop","stop_sequence"].includes(b)?"end_turn":["tooluse","tool_use","tool_calls"].includes(b)?"tool_use":["maxtokens","max_tokens","max_output_tokens","length"].includes(b)?"max_tokens":b||null}let I=new Set(["model_context_window_exceeded","max_tokens"]);function J(a,b){return["malformed_model_output","invalid_model_output"].includes(a)?"retryable_protocol_failure":["cancelled","pause_turn","model_context_window_exceeded"].includes(a)?"terminal_incomplete":"refusal"===a||/(?:content.*filter|guardrail|safety|policy|blocked)/u.test(a)?"terminal_refusal":"max_tokens"===a?b?"terminal_incomplete":"length":a&&!["end_turn","tool_use"].includes(a)?"unknown_failure":b||"tool_use"===a?"tool_use":a&&"end_turn"!==a?"unknown_failure":"complete"}function K(a,b){if(!b)return a;if(!a)return b;let c=a=>{let b=J(a,!1);return"terminal_refusal"===b?6:"terminal_incomplete"===b?5:"unknown_failure"===b?4:"retryable_protocol_failure"===b?3:"length"===b?2:1};return c(b)>c(a)?b:a}function L(a){return["...","…"].includes(String(a||"").trim())}function M(a,b,c){return q.encode(`data: ${JSON.stringify({error:{message:b,type:"upstream_error",code:a,...c?{details:c}:{}}})}
149
+ …[truncated]`}function l(a){return`[tool error] ${String(a||"unknown error").slice(0,500)}`}h.map(a=>a.function.name);let m={web_search:async({query:a,provider:b},c)=>{if(!a)throw Error("web_search needs a query");return k(await j("/api/v1/search",{...b?{provider:b}:{},query:a,max_results:8},c),"web_search")},web_fetch:async({url:a,query:b,provider:c},d)=>{let e=await j("/api/v1/web/fetch",{...c?{provider:c}:{},...a?{url:a}:{query:b}},d),f=e?.content??e?.text??e;return k("string"==typeof f?f:e,"web_fetch")},image_gen:async({prompt:a,width:b,height:c,provider:d},e)=>{if(!a)throw Error("image_gen needs a prompt");let f=await j("/api/v1/images/generations",{...d?{provider:d}:{},prompt:a,...b?{width:Number(b)}:{},...c?{height:Number(c)}:{}},e),g=f?.data?.[0]?.url||f?.url||f?.data?.[0]?.b64_json||f;return k("string"==typeof g?g:f,"image_gen")},tts:async({text:a,voice:b,provider:c},d)=>{if(!a)throw Error("tts needs text to speak");return k(await j("/api/v1/audio/speech",{...c?{provider:c}:{},text:a,...b?{voice:b}:{}},d),"tts")},stt:async({audio:a,language:b,provider:c},d)=>{if(!a)throw Error("stt needs audio (URL or data-uri)");let e=await j("/api/v1/audio/transcriptions",{...c?{provider:c}:{},audio:a,...b?{language:b}:{}},d),f=e?.text||e?.transcript||e;return k("string"==typeof f?f:e,"stt")},embeddings:async({input:a,provider:b},c)=>{if(!a)throw Error("embeddings needs input text");let d=await j("/api/v1/embeddings",{...b?{provider:b}:{},input:a},c),e=d?.data?.[0]?.embedding||d,f=Array.isArray(e)?e.length:"?";return k(`[vector: ${f} dims] ${JSON.stringify(Array.isArray(e)?e.slice(0,12):e)}`,"embeddings")},video_gen:async({prompt:a,provider:b},c)=>{if(!a)throw Error("video_gen needs a prompt");let d=await j("/api/v1/videos/generations",{...b?{provider:b}:{},prompt:a},c),e=d?.data?.[0]?.url||d?.url||d;return k("string"==typeof e?e:d,"video_gen")}};async function n(a,b,c={}){let d=m[a];if(!d)return{ok:!1,result:l(`unknown tool "${a}"`)};let e=c.log;try{let c=await i();e?.info?.("AGENT-TOOLS",`→ ${a} ${JSON.stringify(b||{}).slice(0,120)}`);let f=await d(b||{},c);return{ok:!0,result:f}}catch(b){return e?.warn?.("AGENT-TOOLS",`${a} failed: ${b?.message||b}`),{ok:!1,result:l(b?.message||b),error:b?.message||String(b)}}}async function o({messages:a,chatTurn:b,log:c,ctx:d={},executeTool:e=n}){let f=c||d.log,g=[{role:"system",content:"You are an autonomous agent. You can use the tools provided to answer the user.\nWhen a tool call is needed, call it; otherwise answer in plain text.\nUse tools to look things up (web_search, web_fetch), produce media (image_gen, tts, stt, video_gen), or compute embeddings.\nAfter each tool result, continue reasoning. Stop when the task is complete — do not loop on successful calls."},...a],h=0,i=0,j=null;for(;;){if(h>=6){f?.warn?.("AGENT-LOOP","round cap (6) reached with pending tools; returning last answer");break}let a=await b(g),c=a?.message||{};j=c;let d=Array.isArray(c.tool_calls)?c.tool_calls:[];if(0===d.length)return{messages:g,answer:"string"==typeof c.content?c.content:q(c.content),toolCalls:i,rounds:h,finished:"answer"};for(let a of(g.push({role:"assistant",content:c.content||null,tool_calls:d.map((a,b)=>({id:a.id||`call_${b}_${i+b}`,type:"function",function:{name:a.function?.name||a.name||"tool",arguments:JSON.stringify(p(a.function?.arguments))}}))}),d.slice(0,8))){let b=a.function?.name||a.name||"tool",c=p(a.function?.arguments);f?.info?.("AGENT-LOOP",`round ${h+1}: ${b} ${JSON.stringify(c).slice(0,120)}`);let{ok:d,result:j,error:k}=await e(b,c,{log:f});i+=1;let l=a.id||`call_${i}`;g.push({role:"tool",tool_call_id:l,content:j}),d||f?.warn?.("AGENT-LOOP",`tool ${b} errored (${String(k).slice(0,120)}); feeding back so the model can route around it`)}h+=1}return{messages:g,answer:"string"==typeof j?.content?j.content:q(j?.content),toolCalls:i,rounds:h,finished:"cap"}}function p(a){if(null==a)return{};if("object"==typeof a)return a;try{let b=JSON.parse(a);return b&&"object"==typeof b?b:{value:a}}catch{return{value:a}}}function q(a){return null==a?"":"string"==typeof a?a:Array.isArray(a)?a.map(a=>"string"==typeof a?a:a?.text||"").join(""):String(a)}function r(a){let b=String(a||"").trim(),c=b.startsWith("webcookie-agent/")?b.slice(16):b.startsWith("wca/")?b.slice(4):b;if(!c||"any"===c)return{provider:null,modelId:null};let[d,...e]=c.split("/");return{provider:d,modelId:e.join("/")||null}}async function s({provider:a,modelId:b,messages:d,credentials:e,log:f}){let g,{getExecutor:i}=await Promise.resolve().then(c.bind(c,55330)),j=i(a),k=await j.execute({model:b,body:{messages:d,model:b,tools:h,stream:!1},stream:!1,credentials:e,signal:AbortSignal.timeout(12e4),log:f,proxyOptions:null}),l=await k.response.text();try{g=JSON.parse(l)}catch{g={}}let m=g?.choices?.[0]||{};return{message:{role:"assistant",content:"string"==typeof m.message?.content?m.message.content:null,tool_calls:Array.isArray(m.message?.tool_calls)?m.message.tool_calls:void 0},finish_reason:m.finish_reason||"stop"}}class t extends d.H{constructor(){super("webcookie-agent",null)}buildUrl(){return"webcookie-agent"}buildHeaders(){return{"Content-Type":"application/json"}}async execute({model:a,body:b,stream:d,credentials:g,signal:h,log:i,memberProvider:j}){let k=r(a),l=j||k.provider,{PROVIDER_MODELS:m}=await Promise.resolve().then(c.bind(c,3689)),n=k.modelId||m[l]?.[0]?.id||"any",p=Array.isArray(b?.messages)?b.messages:[],q=async a=>{if(!g)return{message:{role:"assistant",content:`No active session is connected for ${l}. Add a ${l} connection in the dashboard (a signed-in browser session), then retry.`,tool_calls:void 0},finish_reason:"stop"};try{return await s({provider:l,modelId:n,messages:a,credentials:g,log:i})}catch(a){return i?.warn?.("WEBCOOKIE-AGENT",`${l} turn failed: ${a?.message||a}`),{message:{role:"assistant",content:`[${l} unavailable] ${String(a?.message||a).slice(0,200)}`,tool_calls:void 0},finish_reason:"stop"}}},t=await o({messages:p,chatTurn:q,log:i,ctx:{log:i}}),u=t.answer||"",v=`chatcmpl-wca-${crypto.randomUUID().slice(0,12)}`,w=Math.floor(Date.now()/1e3),x="cap"===t.finished?"length":"stop",y=[];for(let a of t.messages||[])if("assistant"===a.role&&Array.isArray(a.tool_calls))for(let b of a.tool_calls)y.push({id:b.id||`call_${y.length+1}`,type:"function",function:{name:b.function?.name||b.name||"tool",arguments:"string"==typeof b.function?.arguments?b.function.arguments:JSON.stringify(b.function?.arguments||{})}});let z={role:"assistant",content:u,...y.length>0?{tool_calls:y}:{}},A=a||"webcookie-agent";if(d){let a=new TextEncoder;return{response:new Response(new ReadableStream({start(b){b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:{role:"assistant"},finish_reason:null,logprobs:null}]})));let c={content:u};z.tool_calls?.length&&(c.tool_calls=z.tool_calls.map((a,b)=>({index:b,id:a.id,type:a.type,function:a.function}))),b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:c,finish_reason:null,logprobs:null}]}))),b.enqueue(a.encode((0,e.N)({id:v,object:"chat.completion.chunk",created:w,model:A,choices:[{index:0,delta:{},finish_reason:x,logprobs:null}]}))),b.enqueue(a.encode(f.$U)),b.close()}}),{status:200,headers:{"Content-Type":"text/event-stream"}}),url:this.buildUrl(),headers:this.buildHeaders(),transformedBody:b,responseFormat:"openai"}}return{response:new Response(JSON.stringify({id:v,object:"chat.completion",created:w,model:A,choices:[{index:0,message:z,finish_reason:x,logprobs:null}]}),{status:200,headers:{"Content-Type":"application/json"}}),url:this.buildUrl(),headers:this.buildHeaders(),transformedBody:b,responseFormat:"openai"}}errorResult(a,b,c,d){return{response:new Response(JSON.stringify({error:{message:b,type:c,code:d}}),{status:a,headers:{"Content-Type":"application/json"}}),url:this.buildUrl(),headers:this.buildHeaders()}}}},73483:(a,b,c)=>{"use strict";c.d(b,{Gh:()=>k,IF:()=>p,O9:()=>g,OF:()=>o,WL:()=>h,_6:()=>j,_L:()=>m,bC:()=>n,f5:()=>l,lm:()=>f});var d=c(14170);let e="1"===process.env.LOG_USAGE_VERBOSE,f={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function g(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function h(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function i(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function j(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens??a.prompt_tokens_details?.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f};return e>0&&(h.reasoning_tokens=e),h}function k(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function l(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return i({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return i({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return i({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return i({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?i({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?i({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0),cached_tokens:a.prompt_eval_cached_count||0}):null}function m(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function n(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}function o(a,b,c=d.h.OPENAI){var e,f;return e=n(a),f=b&&!(b<=0)?Math.max(1,Math.floor(b/4)):0,c===d.h.CLAUDE?g({input_tokens:e,output_tokens:f,estimated:!0}):g({prompt_tokens:e,completion_tokens:f,total_tokens:e+f,estimated:!0})}function p(a,b,c=null,d=null,g=null){if(!b||"object"!=typeof b||!e)return;let h=a?.toUpperCase()||"UNKNOWN",i=b?.prompt_tokens||b?.input_tokens||0,j=b?.completion_tokens||b?.output_tokens||0,k=d?d.slice(0,8)+"...":"unknown",l=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${f.green}[USAGE] ${h} | in=${i} | out=${j} | account=${k}${f.reset}`;b.estimated&&(l+=` ${f.yellow}(estimated)${f.reset}`);let m=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;m&&(l+=` | cache_read=${m}`);let n=b.cache_creation_input_tokens;n&&(l+=` | cache_create=${n}`);let o=b.reasoning_tokens;o&&(l+=` | reasoning=${o}`),console.log(l)}},73870:(a,b,c)=>{"use strict";c.d(b,{w:()=>l});var d=c(74957),e=c(35024),f=c(57247),g=c(8521),h=c(39609);let i=new Map;function j(a){if("string"!=typeof a)return null;try{let b=JSON.parse(a);if("authorized_user"===b.type&&b.client_id&&b.client_secret&&b.refresh_token)return b;return null}catch{return null}}async function k(a){if(i.has(a))return i.get(a);let b=await fetch(`https://aiplatform.googleapis.com/v1/publishers/google/models/__probe__:generateContent?key=${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:"{}"}),c=await b.json().catch(()=>null),d=(c?.[0]?.error?.message||c?.error?.message||"").match(/projects\/([^/]+)\//),e=d?.[1]||null;return e&&i.set(a,e),e}class l extends d.H{constructor(a="vertex"){super(a,e.xq[a]||{})}buildUrl(a,b,c=0,d=null){let e=(0,g.Sc)(d?.apiKey),h=j(d?.apiKey),i=!!e||!!h||!!d?.accessToken,k=i?null:d?.apiKey,l=e?.project_id||h?.quota_project_id||d?.providerSpecificData?.projectId;if("vertex-partner"===this.provider){if(!l)throw Error("Vertex partner models require a project_id. Add it in providerSpecificData or use Service Account JSON.");let a=`https://aiplatform.googleapis.com/v1/projects/${l}/locations/global/endpoints/openapi/chat/completions`;return k?`${a}?key=${k}`:a}let m=b?"streamGenerateContent":"generateContent";if(i){if(!l)throw Error("Vertex OAuth/ADC requires a project_id. Add quota_project_id to your ADC JSON or set providerSpecificData.projectId.");let c=d?.providerSpecificData?.location||(0,f.V2)(this.provider,a)?.defaultLocation||"us-central1",e=`https://aiplatform.googleapis.com/v1/projects/${l}/locations/${c}/publishers/google/models/${a}:${m}`;return b&&(e+="?alt=sse"),e}let n=d?.providerSpecificData?.location||"global",o=l?`https://aiplatform.googleapis.com/v1/projects/${l}/locations/${n}/publishers/google/models/${a}:${m}`:`https://aiplatform.googleapis.com/v1/publishers/google/models/${a}:${m}`;return b&&(o+="?alt=sse"),k&&(o+=b?`&key=${k}`:`?key=${k}`),o}buildHeaders(a,b=!0){let c={"Content-Type":"application/json"};return a.accessToken&&(c.Authorization=`Bearer ${a.accessToken}`),b&&(c.Accept="text/event-stream"),c}async refreshCredentials(a,b){let c=(0,g.Sc)(a?.apiKey);if(!c)return null;let d=await (0,g.pb)(c,b);return d?{accessToken:d.accessToken,expiresAt:d.expiresAt}:null}async execute({model:a,body:b,stream:c,credentials:d,signal:e,log:f,proxyOptions:i=null}){let l=(0,g.Sc)(d?.apiKey),m=j(d?.apiKey);if(l){let a=await (0,g.pb)(l,f);if(!a?.accessToken)throw Error("Vertex: failed to mint access token from Service Account JSON");d.accessToken=a.accessToken}if(m){let a=await (0,g.I9)(m.refresh_token,m.client_id,m.client_secret,f);if(!a?.accessToken)throw Error("Vertex: failed to refresh access token from ADC JSON (authorized_user)");d.accessToken=a.accessToken}if("vertex-partner"===this.provider&&!l&&!m&&!d?.providerSpecificData?.projectId){let a=await k(d.apiKey);if(!a)throw Error("Vertex: could not resolve project_id from API key. Please add it manually in provider settings.");f?.debug?.("VERTEX",`Resolved project_id: ${a}`),d.providerSpecificData={...d.providerSpecificData,projectId:a}}let n=this.buildUrl(a,c,0,d),o=this.buildHeaders(d,c),p=this.transformRequest(a,b,c,d);return{response:await (0,h.proxyAwareFetch)(n,{method:"POST",headers:o,body:JSON.stringify(p),signal:e},i),url:n,headers:o,transformedBody:p}}}},76467:(a,b,c)=>{"use strict";c.d(b,{B:()=>N});var d=c(74957),e=c(35024),f=c(6382),g=c(94755),h=c(8521),i=c(78959),j=c(24),k=c(41004),l=c(68421),m=c(8658);let n=l.bJ.maxMessageBytes,o=l.bJ.maxHeadersBytes,p=new Set(["assistantResponseEvent","reasoningContentEvent","codeEvent","toolUseEvent","messageStopEvent","metadataEvent","MetadataEvent","contextUsageEvent","meteringEvent","metricsEvent"]),q=new TextEncoder,r=new TextDecoder,s=Object.freeze({tool:"Retry the previous response because its Kiro tool_call wrapper was malformed. If you use the wrapper tool named tool_call, its input must contain a non-empty name and an arguments field.",ellipsis:"Retry the previous response because it ended with only an ellipsis. Return the complete final answer, not only ... or ….",short_final:"Retry the previous response because its final only announced a future action. Complete the check now and return the result or a concrete blocker."}),t=/^(?:(?:(?:現在|接著|接下來|下一步)[,,::\s]*(?:我(?:只)?(?:會|要|將|再)?\s*)?|我只再)(?:補|查|確認|驗證|追(?:查|蹤)?|繼續|檢查|測試)|我(?:會|要|將)(?:再|重新)?(?:補(?:齊|查)?|抓取|查(?:詢)?|確認|驗證|追(?:查|蹤)?|繼續|檢查|測試)|(?:(?:next|now|then)\b[\s,:-]*)?(?:i(?:'ll| will| am going to| need to)|let me)\s+(?:verify|check|confirm|validate|investigate|trace|continue|follow up|test)\b)/iu,u=/^目前證據顯示[\s\S]{1,700}[。.!?;;]\s*最後補查\s+504\s+access\s+log[,,]\s*確認\s+host[//]路徑與是否為集中流量[。.!]?$/iu,v=/^(?:(?:next|now|then)\b[\s,:-]*)?(?:i(?:'ll| will| am going to| need to)|let me)\s+(?:verify|check|confirm|validate|investigate|trace|continue|follow up|test)\b/iu,w=/(?:[:;\n]|[.!?]\s+\S|\b(?:status|checksum|response|deployment)\s+(?:is|are|was|were|matches?|equals?|returned)\b)/iu,x=/^(?:(?:現在|接著|接下來|下一步)[,,::\s]*(?:我(?:只)?(?:會|要|將|再)?\s*)?|我只再|我(?:會|要|將)(?:再|重新)?)(?:補|抓取|查|確認|驗證|追|繼續|檢查|測試)/u,y=/(?:[。!?]\s*\S|(?:版本|狀態|回應|結果|部署|校驗碼)(?:是|為|等於|顯示))/u,z=/(?:請(?:你|先)|你(?:先|需要|可以|提供|確認|批准|允許)|等待(?:你|使用者)|等你|核准|同意|授權|\b(?:after|when|once)\s+you\b|\byour\s+(?:approval|confirmation|permission|input)\b|\bwait(?:ing)?\s+for\s+you\b|\bplease\s+(?:approve|confirm|provide|send)\b)/iu,A=/(?:已(?:經)?完成|完成(?:了|驗證|確認)|修復完成|確認無誤|驗證(?:完成|通過)|測試(?:均)?通過|結論|總結|\b(?:done|completed|fixed|verified|confirmed|passed|in conclusion|summary)\b|\b(?:is|are) complete\b)/iu,B=/(?:顯示|發現|因此|成功|失敗|正常|無錯誤|沒有錯誤|\b(?:found|shows?|showed|because|therefore|succeeded|failed|healthy|green|no errors?)\b)/iu;function C(a,b){let c=Number.parseInt(process.env?.[a]||"",10);return Number.isFinite(c)&&c>0?c:b}function D(a,b){let c=new Uint8Array(b),d=0;for(let b of a)c.set(b,d),d+=b.byteLength;return c}function E(a){let b=Error(a?.message||a||"Request aborted");return b.name="AbortError",b}async function F(a,b,c,d){let e,f;if(b?.aborted)throw E(b.reason);let g=new Promise((a,b)=>{e=setTimeout(()=>b(Error(d)),c)}),h=new Promise((a,c)=>{f=()=>c(E(b.reason)),b?.addEventListener("abort",f,{once:!0})});try{return await Promise.race([a.read(),g,h])}finally{clearTimeout(e),b?.removeEventListener?.("abort",f)}}async function G(a,b,c,d){let e=a?.body?.getReader?.();if(!e)return"";let f=[],g=0;try{for(;g<c;){let{done:a,value:h}=await F(e,b,d,"Kiro retry error body stalled");if(a)break;let i=c-g,j=h.byteLength>i?h.slice(0,i):h;if(f.push(j),g+=j.byteLength,h.byteLength>i)break}}finally{await e.cancel("bounded Kiro retry error body").catch(()=>{})}return r.decode(D(f,g))}function H(a){let b=String(a||"").trim().replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase().replace(/[\s-]+/g,"_");return["endturn","end_turn","stop","stop_sequence"].includes(b)?"end_turn":["tooluse","tool_use","tool_calls"].includes(b)?"tool_use":["maxtokens","max_tokens","max_output_tokens","length"].includes(b)?"max_tokens":b||null}let I=new Set(["model_context_window_exceeded","max_tokens"]);function J(a,b){return["malformed_model_output","invalid_model_output"].includes(a)?"retryable_protocol_failure":["cancelled","pause_turn","model_context_window_exceeded"].includes(a)?"terminal_incomplete":"refusal"===a||/(?:content.*filter|guardrail|safety|policy|blocked)/u.test(a)?"terminal_refusal":"max_tokens"===a?b?"terminal_incomplete":"length":a&&!["end_turn","tool_use"].includes(a)?"unknown_failure":b||"tool_use"===a?"tool_use":a&&"end_turn"!==a?"unknown_failure":"complete"}function K(a,b){if(!b)return a;if(!a)return b;let c=a=>{let b=J(a,!1);return"terminal_refusal"===b?6:"terminal_incomplete"===b?5:"unknown_failure"===b?4:"retryable_protocol_failure"===b?3:"length"===b?2:1};return c(b)>c(a)?b:a}function L(a){return["...","…"].includes(String(a||"").trim())}function M(a,b,c){return q.encode(`data: ${JSON.stringify({error:{message:b,type:"upstream_error",code:a,...c?{details:c}:{}}})}
150
150
 
151
151
  data: [DONE]
152
152
 
@@ -1 +1 @@
1
- "use strict";exports.id=7955,exports.ids=[7955],exports.modules={37955:(a,b,c)=>{c.r(b),c.d(b,{runUsageRetentionOnce:()=>h,startUsageRetentionScheduler:()=>i,stopUsageRetentionScheduler:()=>j});var d=c(89718),e=c(47370);let f=null;function g(a,b){let c=Number(a);return Number.isFinite(c)&&c>0?Math.floor(c):b}async function h(){try{let a=await (0,d.mt)(),b=a?.usageRetention||{};if(!1===b.enabled)return null;let c=await (0,e.q3)(g(b.historyDays,90),g(b.dailyDays,400));return c&&(c.history>0||c.daily>0)&&console.log(`[UsageRetention] pruned ${c.history} history rows, ${c.daily} daily rows`),c}catch(a){return console.log("[UsageRetention] prune failed:",a?.message||a),null}}async function i(){if(f)return f;let a=36e5;try{let b=await (0,d.mt)();if(a=g(b?.usageRetention?.intervalMs,36e5),b?.usageRetention?.enabled===!1)return null}catch{}return f=setInterval(()=>{h().catch(()=>{})},a),f.unref?.(),h().catch(()=>{}),f}function j(){f&&(clearInterval(f),f=null)}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,Dv:()=>d.Dv,E5:()=>d.E5,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,_w:()=>d._w,cx:()=>d.cx,j$:()=>d.j$,ox:()=>d.ox,q3:()=>d.q3,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw});var d=c(73129)}};
1
+ "use strict";exports.id=7955,exports.ids=[7955],exports.modules={37955:(a,b,c)=>{c.r(b),c.d(b,{runUsageRetentionOnce:()=>h,startUsageRetentionScheduler:()=>i,stopUsageRetentionScheduler:()=>j});var d=c(89718),e=c(47370);let f=null;function g(a,b){let c=Number(a);return Number.isFinite(c)&&c>0?Math.floor(c):b}async function h(){try{let a=await (0,d.mt)(),b=a?.usageRetention||{};if(!1===b.enabled)return null;let c=await (0,e.q3)(g(b.historyDays,90),g(b.dailyDays,400));return c&&(c.history>0||c.daily>0)&&console.log(`[UsageRetention] pruned ${c.history} history rows, ${c.daily} daily rows`),c}catch(a){return console.log("[UsageRetention] prune failed:",a?.message||a),null}}async function i(){if(f)return f;let a=36e5;try{let b=await (0,d.mt)();if(a=g(b?.usageRetention?.intervalMs,36e5),b?.usageRetention?.enabled===!1)return null}catch{}return f=setInterval(()=>{h().catch(()=>{})},a),f.unref?.(),h().catch(()=>{}),f}function j(){f&&(clearInterval(f),f=null)}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,Dv:()=>d.Dv,E5:()=>d.E5,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,_w:()=>d._w,cx:()=>d.cx,j$:()=>d.j$,ox:()=>d.ox,q3:()=>d.q3,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(73129)}};