@jheavenknows/bluerouter 5.1.60 → 5.1.62

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 (1135) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +9 -10
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +0 -6
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +3 -3
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +2 -2
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  93. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  96. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  98. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  99. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  110. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  114. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  115. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  116. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +5 -5
  117. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  119. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  169. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cluster/config/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/cluster/config/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/cluster/peers/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/cluster/peers/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/cluster/sync/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/cluster/sync/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/cluster/test/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/cluster/test/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +2 -2
  201. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +2 -2
  205. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +2 -2
  217. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/keys/route.js +2 -2
  229. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  235. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +2 -2
  239. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +2 -2
  245. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  263. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  335. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  337. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  341. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +216 -2
  343. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js +3 -10
  347. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js +1 -8
  349. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +216 -2
  351. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/settings/route.js +2 -2
  359. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  367. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  389. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +2 -2
  393. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  409. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  445. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  446. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  447. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  448. package/app/.next-cli-build/server/app/api/version/restart/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/version/restart/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  457. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  459. package/app/.next-cli-build/server/app/callback.html +1 -1
  460. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  461. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  462. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  463. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +5 -5
  464. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  465. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  466. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  468. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +6 -6
  469. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +6 -6
  474. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +5 -5
  476. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +7 -7
  479. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  480. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  482. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +7 -7
  484. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +5 -5
  486. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  489. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  494. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -5
  496. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  499. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  503. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  504. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -5
  506. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/cluster.html +1 -1
  508. package/app/.next-cli-build/server/app/dashboard/cluster.rsc +6 -6
  509. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster/__PAGE__.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster.segment.rsc +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_full.segment.rsc +6 -6
  514. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_head.segment.rsc +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_index.segment.rsc +5 -5
  516. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_tree.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  519. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  522. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  524. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +5 -5
  526. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +7 -7
  529. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
  534. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -5
  536. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  538. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  539. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  543. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  545. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  546. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -5
  547. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  550. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  551. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  553. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  555. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  556. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -5
  557. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  560. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  561. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  562. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  563. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  565. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +5 -5
  567. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  568. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +6 -6
  570. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +1 -1
  571. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +6 -6
  575. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +5 -5
  577. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +1 -1
  578. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +6 -6
  580. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +1 -1
  581. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  582. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  584. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +6 -6
  585. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +5 -5
  587. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +1 -1
  588. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  589. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  590. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  591. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  592. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  594. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  596. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  597. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -5
  598. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  600. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  601. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  602. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  603. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  604. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  605. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  606. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +5 -5
  608. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  609. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  611. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  612. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  614. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  615. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  616. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -5
  618. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/quota.rsc +8 -8
  621. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  622. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  623. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  625. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
  626. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +5 -5
  628. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -1
  630. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +7 -7
  631. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +2 -2
  632. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor.segment.rsc +1 -1
  633. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  635. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +7 -7
  636. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_head.segment.rsc +1 -1
  637. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_index.segment.rsc +5 -5
  638. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  640. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  642. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  643. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  644. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  645. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  646. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -5
  647. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  650. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  652. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  653. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  654. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  655. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  656. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  657. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  658. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  659. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  660. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +5 -5
  661. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  663. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  664. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  666. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  667. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  668. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  669. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +5 -5
  671. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  672. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  673. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  674. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  676. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  678. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  679. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  680. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +5 -5
  681. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  682. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  683. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  684. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  685. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  686. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  688. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  689. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  690. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +5 -5
  691. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  692. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  693. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  694. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  695. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  696. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  697. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  698. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  699. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +5 -5
  700. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  701. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  702. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  703. package/app/.next-cli-build/server/app/index.html +1 -1
  704. package/app/.next-cli-build/server/app/index.rsc +5 -5
  705. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  706. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  707. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  708. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +5 -5
  709. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  710. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  711. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  712. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  713. package/app/.next-cli-build/server/app/landing.html +1 -1
  714. package/app/.next-cli-build/server/app/landing.rsc +5 -5
  715. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +5 -5
  716. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  717. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +5 -5
  718. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  719. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  720. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  721. package/app/.next-cli-build/server/app/login/page.js +2 -2
  722. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  723. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  724. package/app/.next-cli-build/server/app/login.html +1 -1
  725. package/app/.next-cli-build/server/app/login.rsc +6 -6
  726. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +6 -6
  727. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  728. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +5 -5
  729. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  730. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  731. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  732. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  733. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  734. package/app/.next-cli-build/server/app/page.js +2 -2
  735. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  736. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  737. package/app/.next-cli-build/server/app-paths-manifest.json +9 -10
  738. package/app/.next-cli-build/server/chunks/2242.js +45 -0
  739. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  740. package/app/.next-cli-build/server/chunks/3248.js +1 -1
  741. package/app/.next-cli-build/server/chunks/{8762.js → 3433.js} +2 -2
  742. package/app/.next-cli-build/server/chunks/3675.js +1 -0
  743. package/app/.next-cli-build/server/chunks/402.js +1 -1
  744. package/app/.next-cli-build/server/chunks/427.js +8 -0
  745. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  746. package/app/.next-cli-build/server/chunks/4790.js +1 -1
  747. package/app/.next-cli-build/server/chunks/541.js +11 -0
  748. package/app/.next-cli-build/server/chunks/607.js +1 -1
  749. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  750. package/app/.next-cli-build/server/chunks/6492.js +1 -0
  751. package/app/.next-cli-build/server/chunks/6759.js +1 -0
  752. package/app/.next-cli-build/server/chunks/6811.js +1 -1
  753. package/app/.next-cli-build/server/chunks/689.js +177 -0
  754. package/app/.next-cli-build/server/chunks/6956.js +1 -0
  755. package/app/.next-cli-build/server/chunks/6977.js +245 -0
  756. package/app/.next-cli-build/server/chunks/7753.js +1 -0
  757. package/app/.next-cli-build/server/chunks/8023.js +1 -1
  758. package/app/.next-cli-build/server/chunks/8352.js +2 -2
  759. package/app/.next-cli-build/server/chunks/8491.js +2 -2
  760. package/app/.next-cli-build/server/chunks/9113.js +6 -0
  761. package/app/.next-cli-build/server/chunks/9479.js +1 -0
  762. package/app/.next-cli-build/server/instrumentation.js +1 -1
  763. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  764. package/app/.next-cli-build/server/middleware.js +3 -3
  765. package/app/.next-cli-build/server/pages/404.html +1 -1
  766. package/app/.next-cli-build/server/pages/500.html +1 -1
  767. package/app/.next-cli-build/static/bnvY5yHUWbTyTB23sa7Ba/_buildManifest.js +1 -0
  768. package/app/.next-cli-build/static/chunks/{5263-351d7f90ceb662f8.js → 5263-750f758e19269333.js} +1 -1
  769. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/{page-c31cb591f5e0673f.js → page-05d2cd8e11e930dc.js} +1 -1
  770. package/app/.next-cli-build/static/chunks/app/_global-error/page-4e0a15ae7b98e3a3.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-4e0a15ae7b98e3a3.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-4e0a15ae7b98e3a3.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-4e0a15ae7b98e3a3.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-4e0a15ae7b98e3a3.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-4e0a15ae7b98e3a3.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4e0a15ae7b98e3a3.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4e0a15ae7b98e3a3.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4e0a15ae7b98e3a3.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-4e0a15ae7b98e3a3.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/branding/route-4e0a15ae7b98e3a3.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-4e0a15ae7b98e3a3.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4e0a15ae7b98e3a3.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4e0a15ae7b98e3a3.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-4e0a15ae7b98e3a3.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-4e0a15ae7b98e3a3.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-4e0a15ae7b98e3a3.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4e0a15ae7b98e3a3.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4e0a15ae7b98e3a3.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4e0a15ae7b98e3a3.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4e0a15ae7b98e3a3.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4e0a15ae7b98e3a3.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4e0a15ae7b98e3a3.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4e0a15ae7b98e3a3.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4e0a15ae7b98e3a3.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4e0a15ae7b98e3a3.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4e0a15ae7b98e3a3.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4e0a15ae7b98e3a3.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4e0a15ae7b98e3a3.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4e0a15ae7b98e3a3.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4e0a15ae7b98e3a3.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4e0a15ae7b98e3a3.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-4e0a15ae7b98e3a3.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-4e0a15ae7b98e3a3.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-4e0a15ae7b98e3a3.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-4e0a15ae7b98e3a3.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-4e0a15ae7b98e3a3.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-4e0a15ae7b98e3a3.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-4e0a15ae7b98e3a3.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-4e0a15ae7b98e3a3.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/combos/route-4e0a15ae7b98e3a3.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-4e0a15ae7b98e3a3.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-4e0a15ae7b98e3a3.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-4e0a15ae7b98e3a3.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-4e0a15ae7b98e3a3.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-4e0a15ae7b98e3a3.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-4e0a15ae7b98e3a3.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/health/route-4e0a15ae7b98e3a3.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/init/route-4e0a15ae7b98e3a3.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-4e0a15ae7b98e3a3.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-4e0a15ae7b98e3a3.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/keys/route-4e0a15ae7b98e3a3.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/locale/route-4e0a15ae7b98e3a3.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4e0a15ae7b98e3a3.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4e0a15ae7b98e3a3.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4e0a15ae7b98e3a3.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4e0a15ae7b98e3a3.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4e0a15ae7b98e3a3.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4e0a15ae7b98e3a3.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4e0a15ae7b98e3a3.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4e0a15ae7b98e3a3.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4e0a15ae7b98e3a3.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4e0a15ae7b98e3a3.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4e0a15ae7b98e3a3.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/models/route-4e0a15ae7b98e3a3.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4e0a15ae7b98e3a3.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4e0a15ae7b98e3a3.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4e0a15ae7b98e3a3.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4e0a15ae7b98e3a3.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4e0a15ae7b98e3a3.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4e0a15ae7b98e3a3.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4e0a15ae7b98e3a3.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4e0a15ae7b98e3a3.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4e0a15ae7b98e3a3.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4e0a15ae7b98e3a3.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4e0a15ae7b98e3a3.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-4e0a15ae7b98e3a3.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-4e0a15ae7b98e3a3.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-4e0a15ae7b98e3a3.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-4e0a15ae7b98e3a3.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-4e0a15ae7b98e3a3.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-4e0a15ae7b98e3a3.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-4e0a15ae7b98e3a3.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-4e0a15ae7b98e3a3.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-4e0a15ae7b98e3a3.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-4e0a15ae7b98e3a3.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4e0a15ae7b98e3a3.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-4e0a15ae7b98e3a3.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4e0a15ae7b98e3a3.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4e0a15ae7b98e3a3.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4e0a15ae7b98e3a3.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4e0a15ae7b98e3a3.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4e0a15ae7b98e3a3.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4e0a15ae7b98e3a3.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4e0a15ae7b98e3a3.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/providers/route-4e0a15ae7b98e3a3.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4e0a15ae7b98e3a3.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4e0a15ae7b98e3a3.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4e0a15ae7b98e3a3.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4e0a15ae7b98e3a3.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4e0a15ae7b98e3a3.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4e0a15ae7b98e3a3.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4e0a15ae7b98e3a3.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4e0a15ae7b98e3a3.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-4e0a15ae7b98e3a3.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-4e0a15ae7b98e3a3.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-4e0a15ae7b98e3a3.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-4e0a15ae7b98e3a3.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-4e0a15ae7b98e3a3.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4e0a15ae7b98e3a3.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4e0a15ae7b98e3a3.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4e0a15ae7b98e3a3.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/settings/route-4e0a15ae7b98e3a3.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4e0a15ae7b98e3a3.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/tags/route-4e0a15ae7b98e3a3.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4e0a15ae7b98e3a3.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4e0a15ae7b98e3a3.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4e0a15ae7b98e3a3.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4e0a15ae7b98e3a3.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4e0a15ae7b98e3a3.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4e0a15ae7b98e3a3.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4e0a15ae7b98e3a3.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4e0a15ae7b98e3a3.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4e0a15ae7b98e3a3.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4e0a15ae7b98e3a3.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4e0a15ae7b98e3a3.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4e0a15ae7b98e3a3.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4e0a15ae7b98e3a3.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-4e0a15ae7b98e3a3.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-4e0a15ae7b98e3a3.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4e0a15ae7b98e3a3.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4e0a15ae7b98e3a3.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4e0a15ae7b98e3a3.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4e0a15ae7b98e3a3.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4e0a15ae7b98e3a3.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4e0a15ae7b98e3a3.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4e0a15ae7b98e3a3.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4e0a15ae7b98e3a3.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4e0a15ae7b98e3a3.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4e0a15ae7b98e3a3.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4e0a15ae7b98e3a3.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4e0a15ae7b98e3a3.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4e0a15ae7b98e3a3.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4e0a15ae7b98e3a3.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4e0a15ae7b98e3a3.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4e0a15ae7b98e3a3.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4e0a15ae7b98e3a3.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-4e0a15ae7b98e3a3.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4e0a15ae7b98e3a3.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4e0a15ae7b98e3a3.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4e0a15ae7b98e3a3.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4e0a15ae7b98e3a3.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/v1/route-4e0a15ae7b98e3a3.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4e0a15ae7b98e3a3.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4e0a15ae7b98e3a3.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4e0a15ae7b98e3a3.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4e0a15ae7b98e3a3.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-4e0a15ae7b98e3a3.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/version/route-4e0a15ae7b98e3a3.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4e0a15ae7b98e3a3.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4e0a15ae7b98e3a3.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4e0a15ae7b98e3a3.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/page-4e0a15ae7b98e3a3.js +1 -0
  941. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4e0a15ae7b98e3a3.js +1 -0
  942. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4e0a15ae7b98e3a3.js +1 -0
  943. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4e0a15ae7b98e3a3.js +1 -0
  944. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4e0a15ae7b98e3a3.js +1 -0
  945. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  946. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  947. package/app/package.json +1 -1
  948. package/package.json +1 -1
  949. package/app/.next-cli-build/server/app/api/cluster/resource-summary/route.js +0 -8
  950. package/app/.next-cli-build/server/app/api/cluster/resource-summary/route.js.nft.json +0 -1
  951. package/app/.next-cli-build/server/app/api/cluster/resource-summary/route_client-reference-manifest.js +0 -1
  952. package/app/.next-cli-build/server/chunks/12.js +0 -1
  953. package/app/.next-cli-build/server/chunks/1231.js +0 -4
  954. package/app/.next-cli-build/server/chunks/5276.js +0 -165
  955. package/app/.next-cli-build/server/chunks/6752.js +0 -222
  956. package/app/.next-cli-build/static/JWotUWOiSI_EmPSeVgly-/_buildManifest.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/_global-error/page-48e758c27d8373b0.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-48e758c27d8373b0.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-48e758c27d8373b0.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-48e758c27d8373b0.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-48e758c27d8373b0.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-48e758c27d8373b0.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-48e758c27d8373b0.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-48e758c27d8373b0.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-48e758c27d8373b0.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-48e758c27d8373b0.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/branding/route-48e758c27d8373b0.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-48e758c27d8373b0.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-48e758c27d8373b0.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-48e758c27d8373b0.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-48e758c27d8373b0.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-48e758c27d8373b0.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-48e758c27d8373b0.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-48e758c27d8373b0.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-48e758c27d8373b0.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-48e758c27d8373b0.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-48e758c27d8373b0.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-48e758c27d8373b0.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-48e758c27d8373b0.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-48e758c27d8373b0.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-48e758c27d8373b0.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-48e758c27d8373b0.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-48e758c27d8373b0.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-48e758c27d8373b0.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-48e758c27d8373b0.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-48e758c27d8373b0.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-48e758c27d8373b0.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-48e758c27d8373b0.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-48e758c27d8373b0.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-48e758c27d8373b0.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-48e758c27d8373b0.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-48e758c27d8373b0.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-48e758c27d8373b0.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-48e758c27d8373b0.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/cluster/resource-summary/route-48e758c27d8373b0.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-48e758c27d8373b0.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-48e758c27d8373b0.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-48e758c27d8373b0.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-48e758c27d8373b0.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/combos/route-48e758c27d8373b0.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-48e758c27d8373b0.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-48e758c27d8373b0.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-48e758c27d8373b0.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-48e758c27d8373b0.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-48e758c27d8373b0.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-48e758c27d8373b0.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-48e758c27d8373b0.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/health/route-48e758c27d8373b0.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/init/route-48e758c27d8373b0.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-48e758c27d8373b0.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-48e758c27d8373b0.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-48e758c27d8373b0.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/keys/route-48e758c27d8373b0.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/locale/route-48e758c27d8373b0.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-48e758c27d8373b0.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-48e758c27d8373b0.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-48e758c27d8373b0.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-48e758c27d8373b0.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-48e758c27d8373b0.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-48e758c27d8373b0.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-48e758c27d8373b0.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-48e758c27d8373b0.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-48e758c27d8373b0.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-48e758c27d8373b0.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-48e758c27d8373b0.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/models/route-48e758c27d8373b0.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/models/test/route-48e758c27d8373b0.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-48e758c27d8373b0.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-48e758c27d8373b0.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-48e758c27d8373b0.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-48e758c27d8373b0.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-48e758c27d8373b0.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-48e758c27d8373b0.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-48e758c27d8373b0.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-48e758c27d8373b0.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-48e758c27d8373b0.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-48e758c27d8373b0.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-48e758c27d8373b0.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-48e758c27d8373b0.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-48e758c27d8373b0.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-48e758c27d8373b0.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-48e758c27d8373b0.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-48e758c27d8373b0.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-48e758c27d8373b0.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-48e758c27d8373b0.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-48e758c27d8373b0.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-48e758c27d8373b0.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-48e758c27d8373b0.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/pricing/route-48e758c27d8373b0.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-48e758c27d8373b0.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-48e758c27d8373b0.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-48e758c27d8373b0.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-48e758c27d8373b0.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-48e758c27d8373b0.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-48e758c27d8373b0.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-48e758c27d8373b0.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-48e758c27d8373b0.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-48e758c27d8373b0.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-48e758c27d8373b0.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/providers/route-48e758c27d8373b0.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-48e758c27d8373b0.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-48e758c27d8373b0.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-48e758c27d8373b0.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-48e758c27d8373b0.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-48e758c27d8373b0.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-48e758c27d8373b0.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-48e758c27d8373b0.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-48e758c27d8373b0.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-48e758c27d8373b0.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-48e758c27d8373b0.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-48e758c27d8373b0.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-48e758c27d8373b0.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-48e758c27d8373b0.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-48e758c27d8373b0.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-48e758c27d8373b0.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-48e758c27d8373b0.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-48e758c27d8373b0.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/settings/route-48e758c27d8373b0.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-48e758c27d8373b0.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/tags/route-48e758c27d8373b0.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-48e758c27d8373b0.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-48e758c27d8373b0.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-48e758c27d8373b0.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-48e758c27d8373b0.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-48e758c27d8373b0.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-48e758c27d8373b0.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-48e758c27d8373b0.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-48e758c27d8373b0.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-48e758c27d8373b0.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-48e758c27d8373b0.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-48e758c27d8373b0.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-48e758c27d8373b0.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-48e758c27d8373b0.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-48e758c27d8373b0.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-48e758c27d8373b0.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-48e758c27d8373b0.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-48e758c27d8373b0.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-48e758c27d8373b0.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-48e758c27d8373b0.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-48e758c27d8373b0.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-48e758c27d8373b0.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-48e758c27d8373b0.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-48e758c27d8373b0.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-48e758c27d8373b0.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-48e758c27d8373b0.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-48e758c27d8373b0.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-48e758c27d8373b0.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-48e758c27d8373b0.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-48e758c27d8373b0.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-48e758c27d8373b0.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-48e758c27d8373b0.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-48e758c27d8373b0.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-48e758c27d8373b0.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-48e758c27d8373b0.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-48e758c27d8373b0.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-48e758c27d8373b0.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-48e758c27d8373b0.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/v1/route-48e758c27d8373b0.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-48e758c27d8373b0.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-48e758c27d8373b0.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-48e758c27d8373b0.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-48e758c27d8373b0.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-48e758c27d8373b0.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/version/route-48e758c27d8373b0.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-48e758c27d8373b0.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/version/update/route-48e758c27d8373b0.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-48e758c27d8373b0.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/page-48e758c27d8373b0.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-48e758c27d8373b0.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-48e758c27d8373b0.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-48e758c27d8373b0.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-48e758c27d8373b0.js +0 -1
  1133. /package/app/.next-cli-build/static/{JWotUWOiSI_EmPSeVgly- → bnvY5yHUWbTyTB23sa7Ba}/_ssgManifest.js +0 -0
  1134. /package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/{upgrade-5.1.4-to-5.1.5-5.1.5-20260708-143848 → upgrade-5.1.59-to-5.1.60-5.1.60-20260722-123004}/data.sqlite +0 -0
  1135. /package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/{upgrade-5.1.5-to-5.1.57-5.1.57-20260722-095156 → upgrade-5.1.60-to-5.1.61-5.1.61-20260722-125807}/data.sqlite +0 -0
@@ -0,0 +1 @@
1
+ "use strict";exports.id=3675,exports.ids=[3675],exports.modules={3675:(a,b,c)=>{let d;c.d(b,{SignJWT:()=>O,importPKCS8:()=>U});let e=new TextEncoder,f=new TextDecoder;function g(a){let b=new Uint8Array(a.length);for(let c=0;c<a.length;c++){let d=a.charCodeAt(c);if(d>127)throw TypeError("non-ASCII string encountered in encode()");b[c]=d}return b}function h(a){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(a);let b=atob(a),c=new Uint8Array(b.length);for(let a=0;a<b.length;a++)c[a]=b.charCodeAt(a);return c}function i(a){let b=a;return("string"==typeof b&&(b=e.encode(b)),Uint8Array.prototype.toBase64)?b.toBase64({alphabet:"base64url",omitPadding:!0}):(function(a){if(Uint8Array.prototype.toBase64)return a.toBase64();let b=[];for(let c=0;c<a.length;c+=32768)b.push(String.fromCharCode.apply(null,a.subarray(c,c+32768)));return btoa(b.join(""))})(b).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}class j extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(a,b){super(a,b),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class k extends j{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class l extends j{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class m extends j{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class n extends j{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(a="multiple matching keys found in the JSON Web Key Set",b){super(a,b)}}let o=(a,b="algorithm.name")=>TypeError(`CryptoKey does not support this operation, its ${b} must be ${a}`);function p(a,b){if(parseInt(a.hash.name.slice(4),10)!==b)throw o(`SHA-${b}`,"algorithm.hash")}function q(a,b,...c){if((c=c.filter(Boolean)).length>2){let b=c.pop();a+=`one of type ${c.join(", ")}, or ${b}.`}else 2===c.length?a+=`one of type ${c[0]} or ${c[1]}.`:a+=`of type ${c[0]}.`;return null==b?a+=` Received ${b}`:"function"==typeof b&&b.name?a+=` Received function ${b.name}`:"object"==typeof b&&null!=b&&b.constructor?.name&&(a+=` Received an instance of ${b.constructor.name}`),a}let r=(a,b,...c)=>q(`Key for the ${a} algorithm must be `,b,...c);async function s(a,b,c){if(b instanceof Uint8Array){if(!a.startsWith("HS"))throw TypeError(((a,...b)=>q("Key must be ",a,...b))(b,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",b,{hash:`SHA-${a.slice(-3)}`,name:"HMAC"},!1,[c])}return!function(a,b,c){switch(b){case"HS256":case"HS384":case"HS512":if("HMAC"!==a.algorithm.name)throw o("HMAC");p(a.algorithm,parseInt(b.slice(2),10));break;case"RS256":case"RS384":case"RS512":if("RSASSA-PKCS1-v1_5"!==a.algorithm.name)throw o("RSASSA-PKCS1-v1_5");p(a.algorithm,parseInt(b.slice(2),10));break;case"PS256":case"PS384":case"PS512":if("RSA-PSS"!==a.algorithm.name)throw o("RSA-PSS");p(a.algorithm,parseInt(b.slice(2),10));break;case"Ed25519":case"EdDSA":if("Ed25519"!==a.algorithm.name)throw o("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":let d;if(d=a.algorithm,d.name!==b)throw o(b);break;case"ES256":case"ES384":case"ES512":{if("ECDSA"!==a.algorithm.name)throw o("ECDSA");let c=function(a){switch(a){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(b);if(a.algorithm.namedCurve!==c)throw o(c,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}if(c&&!a.usages.includes(c))throw TypeError(`CryptoKey does not support this operation, its usages must include ${c}.`)}(b,a,c),b}async function t(a,b,c){let d=await s(a,b,"sign");return!function(a,b){if(a.startsWith("RS")||a.startsWith("PS")){let{modulusLength:c}=b.algorithm;if("number"!=typeof c||c<2048)throw TypeError(`${a} requires key modulusLength to be 2048 bits or larger`)}}(a,d),new Uint8Array(await crypto.subtle.sign(function(a,b){let c=`SHA-${a.slice(-3)}`;switch(a){case"HS256":case"HS384":case"HS512":return{hash:c,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:c,name:"RSA-PSS",saltLength:parseInt(a.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:c,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:c,name:"ECDSA",namedCurve:b.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:a};default:throw new k(`alg ${a} is not supported either by JOSE or your javascript runtime`)}}(a,d.algorithm),d,c))}function u(a){if("object"!=typeof a||null===a||"[object Object]"!==Object.prototype.toString.call(a))return!1;if(null===Object.getPrototypeOf(a))return!0;let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}let v=a=>u(a)&&"string"==typeof a.kty,w=a=>{if(a?.[Symbol.toStringTag]==="CryptoKey")return!0;try{return a instanceof CryptoKey}catch{return!1}},x=a=>a?.[Symbol.toStringTag]==="KeyObject",y=a=>w(a)||x(a),z=a=>a?.[Symbol.toStringTag],A=(a,b,c)=>{if(void 0!==b.use){let a;switch(c){case"sign":case"verify":a="sig";break;case"encrypt":case"decrypt":a="enc"}if(b.use!==a)throw TypeError(`Invalid key for this operation, its "use" must be "${a}" when present`)}if(void 0!==b.alg&&b.alg!==a)throw TypeError(`Invalid key for this operation, its "alg" must be "${a}" when present`);if(Array.isArray(b.key_ops)){let d;switch(!0){case"sign"===c||"verify"===c:case"dir"===a:case a.includes("CBC-HS"):d=c;break;case a.startsWith("PBES2"):d="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(a):d=!a.includes("GCM")&&a.endsWith("KW")?"encrypt"===c?"wrapKey":"unwrapKey":c;break;case"encrypt"===c&&a.startsWith("RSA"):d="wrapKey";break;case"decrypt"===c:d=a.startsWith("RSA")?"unwrapKey":"deriveBits"}if(d&&b.key_ops?.includes?.(d)===!1)throw TypeError(`Invalid key for this operation, its "key_ops" must include "${d}" when present`)}return!0},B='Invalid or unsupported JWK "alg" (Algorithm) Parameter value';async function C(a){if(!a.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:b,keyUsages:c}=function(a){let b,c;switch(a.kty){case"AKP":switch(a.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":b={name:a.alg},c=a.priv?["sign"]:["verify"];break;default:throw new k(B)}break;case"RSA":switch(a.alg){case"PS256":case"PS384":case"PS512":b={name:"RSA-PSS",hash:`SHA-${a.alg.slice(-3)}`},c=a.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":b={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${a.alg.slice(-3)}`},c=a.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":b={name:"RSA-OAEP",hash:`SHA-${parseInt(a.alg.slice(-3),10)||1}`},c=a.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new k(B)}break;case"EC":switch(a.alg){case"ES256":case"ES384":case"ES512":b={name:"ECDSA",namedCurve:({ES256:"P-256",ES384:"P-384",ES512:"P-521"})[a.alg]},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":b={name:"ECDH",namedCurve:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new k(B)}break;case"OKP":switch(a.alg){case"Ed25519":case"EdDSA":b={name:"Ed25519"},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":b={name:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new k(B)}break;default:throw new k('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:b,keyUsages:c}}(a),d={...a};return"AKP"!==d.kty&&delete d.alg,delete d.use,crypto.subtle.importKey("jwk",d,b,a.ext??(!a.d&&!a.priv),a.key_ops??c)}let D="given KeyObject instance cannot be used for this algorithm",E=async(a,b,c,e=!1)=>{let f=(d||=new WeakMap).get(a);if(f?.[c])return f[c];let g=await C({...b,alg:c});return e&&Object.freeze(a),f?f[c]=g:d.set(a,{[c]:g}),g};async function F(a,b){if(a instanceof Uint8Array||w(a))return a;if(x(a)){if("secret"===a.type)return a.export();if("toCryptoKey"in a&&"function"==typeof a.toCryptoKey)try{return((a,b)=>{let c,e=(d||=new WeakMap).get(a);if(e?.[b])return e[b];let f="public"===a.type,g=!!f;if("x25519"===a.asymmetricKeyType){switch(b){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw TypeError(D)}c=a.toCryptoKey(a.asymmetricKeyType,g,f?[]:["deriveBits"])}if("ed25519"===a.asymmetricKeyType){if("EdDSA"!==b&&"Ed25519"!==b)throw TypeError(D);c=a.toCryptoKey(a.asymmetricKeyType,g,[f?"verify":"sign"])}switch(a.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(b!==a.asymmetricKeyType.toUpperCase())throw TypeError(D);c=a.toCryptoKey(a.asymmetricKeyType,g,[f?"verify":"sign"])}if("rsa"===a.asymmetricKeyType){let d;switch(b){case"RSA-OAEP":d="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":d="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":d="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":d="SHA-512";break;default:throw TypeError(D)}if(b.startsWith("RSA-OAEP"))return a.toCryptoKey({name:"RSA-OAEP",hash:d},g,f?["encrypt"]:["decrypt"]);c=a.toCryptoKey({name:b.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:d},g,[f?"verify":"sign"])}if("ec"===a.asymmetricKeyType){let d=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(a.asymmetricKeyDetails?.namedCurve);if(!d)throw TypeError(D);let e={ES256:"P-256",ES384:"P-384",ES512:"P-521"};e[b]&&d===e[b]&&(c=a.toCryptoKey({name:"ECDSA",namedCurve:d},g,[f?"verify":"sign"])),b.startsWith("ECDH-ES")&&(c=a.toCryptoKey({name:"ECDH",namedCurve:d},g,f?[]:["deriveBits"]))}if(!c)throw TypeError(D);return e?e[b]=c:d.set(a,{[b]:c}),c})(a,b)}catch(a){if(a instanceof TypeError)throw a}let c=a.export({format:"jwk"});return E(a,c,b)}if(v(a)){if(a.k){var c=a.k;if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof c?c:f.decode(c),{alphabet:"base64url"});let b=c;b instanceof Uint8Array&&(b=f.decode(b)),b=b.replace(/-/g,"+").replace(/_/g,"/");try{return h(b)}catch{throw TypeError("The input to be decoded is not correctly encoded.")}}return E(a,a,b,!0)}throw Error("unreachable")}function G(a,b){if(a)throw TypeError(`${b} can only be called once`)}Symbol();class H{#a;#b;#c;constructor(a){if(!(a instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#a=a}setProtectedHeader(a){return G(this.#b,"setProtectedHeader"),this.#b=a,this}setUnprotectedHeader(a){return G(this.#c,"setUnprotectedHeader"),this.#c=a,this}async sign(a,b){let c,d,e,f;if(!this.#b&&!this.#c)throw new l("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!function(...a){let b,c=a.filter(Boolean);if(0===c.length||1===c.length)return!0;for(let a of c){let c=Object.keys(a);if(!b||0===b.size){b=new Set(c);continue}for(let a of c){if(b.has(a))return!1;b.add(a)}}return!0}(this.#b,this.#c))throw new l("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let h={...this.#b,...this.#c},j=function(a,b,c,d,e){let f;if(void 0!==e.crit&&d?.crit===void 0)throw new a('"crit" (Critical) Header Parameter MUST be integrity protected');if(!d||void 0===d.crit)return new Set;if(!Array.isArray(d.crit)||0===d.crit.length||d.crit.some(a=>"string"!=typeof a||0===a.length))throw new a('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let g of(f=void 0!==c?new Map([...Object.entries(c),...b.entries()]):b,d.crit)){if(!f.has(g))throw new k(`Extension Header Parameter "${g}" is not recognized`);if(void 0===e[g])throw new a(`Extension Header Parameter "${g}" is missing`);if(f.get(g)&&void 0===d[g])throw new a(`Extension Header Parameter "${g}" MUST be integrity protected`)}return new Set(d.crit)}(l,new Map([["b64",!0]]),b?.crit,this.#b,h),m=!0;if(j.has("b64")&&"boolean"!=typeof(m=this.#b.b64))throw new l('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:n}=h;if("string"!=typeof n||!n)throw new l('JWS "alg" (Algorithm) Header Parameter missing or invalid');var o="sign";switch(n.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((a,b,c)=>{if(!(b instanceof Uint8Array)){if(v(b)){if("oct"===b.kty&&"string"==typeof b.k&&A(a,b,c))return;throw TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!y(b))throw TypeError(r(a,b,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==b.type)throw TypeError(`${z(b)} instances for symmetric algorithms must be of type "secret"`)}})(n,a,o);break;default:((a,b,c)=>{if(v(b))switch(c){case"decrypt":case"sign":if("oct"!==b.kty&&("AKP"===b.kty&&"string"==typeof b.priv||"string"==typeof b.d)&&A(a,b,c))return;throw TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if("oct"!==b.kty&&void 0===b.d&&void 0===b.priv&&A(a,b,c))return;throw TypeError("JSON Web Key for this operation must be a public JWK")}if(!y(b))throw TypeError(r(a,b,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===b.type)throw TypeError(`${z(b)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===b.type)switch(c){case"sign":throw TypeError(`${z(b)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw TypeError(`${z(b)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===b.type)switch(c){case"verify":throw TypeError(`${z(b)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw TypeError(`${z(b)} instances for asymmetric algorithm encryption must be of type "public"`)}})(n,a,o)}m?d=g(c=i(this.#a)):(d=this.#a,c=""),this.#b?f=g(e=i(JSON.stringify(this.#b))):(e="",f=new Uint8Array);let p=function(...a){let b=new Uint8Array(a.reduce((a,{length:b})=>a+b,0)),c=0;for(let d of a)b.set(d,c),c+=d.length;return b}(f,g("."),d),q=await F(a,n),s={signature:i(await t(n,q,p)),payload:c};return this.#c&&(s.header=this.#c),this.#b&&(s.protected=e),s}}class I{#d;constructor(a){this.#d=new H(a)}setProtectedHeader(a){return this.#d.setProtectedHeader(a),this}async sign(a,b){let c=await this.#d.sign(a,b);if(void 0===c.payload)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}let J=a=>Math.floor(a.getTime()/1e3),K=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function L(a){let b,c=K.exec(a);if(!c||c[4]&&c[1])throw TypeError("Invalid time period format");let d=parseFloat(c[2]);switch(c[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":b=Math.round(d);break;case"minute":case"minutes":case"min":case"mins":case"m":b=Math.round(60*d);break;case"hour":case"hours":case"hr":case"hrs":case"h":b=Math.round(3600*d);break;case"day":case"days":case"d":b=Math.round(86400*d);break;case"week":case"weeks":case"w":b=Math.round(604800*d);break;default:b=Math.round(0x1e187e0*d)}return"-"===c[1]||"ago"===c[4]?-b:b}function M(a,b){if(!Number.isFinite(b))throw TypeError(`Invalid ${a} input`);return b}class N{#a;constructor(a){if(!u(a))throw TypeError("JWT Claims Set MUST be an object");this.#a=structuredClone(a)}data(){return e.encode(JSON.stringify(this.#a))}get iss(){return this.#a.iss}set iss(a){this.#a.iss=a}get sub(){return this.#a.sub}set sub(a){this.#a.sub=a}get aud(){return this.#a.aud}set aud(a){this.#a.aud=a}set jti(a){this.#a.jti=a}set nbf(a){"number"==typeof a?this.#a.nbf=M("setNotBefore",a):a instanceof Date?this.#a.nbf=M("setNotBefore",J(a)):this.#a.nbf=J(new Date)+L(a)}set exp(a){"number"==typeof a?this.#a.exp=M("setExpirationTime",a):a instanceof Date?this.#a.exp=M("setExpirationTime",J(a)):this.#a.exp=J(new Date)+L(a)}set iat(a){void 0===a?this.#a.iat=J(new Date):a instanceof Date?this.#a.iat=M("setIssuedAt",J(a)):"string"==typeof a?this.#a.iat=M("setIssuedAt",J(new Date)+L(a)):this.#a.iat=M("setIssuedAt",a)}}class O{#b;#e;constructor(a={}){this.#e=new N(a)}setIssuer(a){return this.#e.iss=a,this}setSubject(a){return this.#e.sub=a,this}setAudience(a){return this.#e.aud=a,this}setJti(a){return this.#e.jti=a,this}setNotBefore(a){return this.#e.nbf=a,this}setExpirationTime(a){return this.#e.exp=a,this}setIssuedAt(a){return this.#e.iat=a,this}setProtectedHeader(a){return this.#b=a,this}async sign(a,b){let c=new I(this.#e.data());if(c.setProtectedHeader(this.#b),Array.isArray(this.#b?.crit)&&this.#b.crit.includes("b64")&&!1===this.#b.b64)throw new m("JWTs MUST NOT use unencoded payload");return c.sign(a,b)}}let P=(a,b)=>{if(a.byteLength!==b.length)return!1;for(let c=0;c<a.byteLength;c++)if(a[c]!==b[c])return!1;return!0},Q=a=>{let b=a.data[a.pos++];if(128&b){let c=127&b,d=0;for(let b=0;b<c;b++)d=d<<8|a.data[a.pos++];return d}return b},R=(a,b,c)=>{if(a.data[a.pos++]!==b)throw Error(c)},S=(a,b)=>{let c=a.data.subarray(a.pos,a.pos+b);return a.pos+=b,c},T=async(a,b,c,d)=>{let e,f,g="spki"===a,h=()=>g?["verify"]:["sign"];switch(c){case"PS256":case"PS384":case"PS512":e={name:"RSA-PSS",hash:`SHA-${c.slice(-3)}`},f=h();break;case"RS256":case"RS384":case"RS512":e={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${c.slice(-3)}`},f=h();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":e={name:"RSA-OAEP",hash:`SHA-${parseInt(c.slice(-3),10)||1}`},f=g?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":e={name:"ECDSA",namedCurve:({ES256:"P-256",ES384:"P-384",ES512:"P-521"})[c]},f=h();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{let a=d.getNamedCurve(b);e="X25519"===a?{name:"X25519"}:{name:"ECDH",namedCurve:a}}catch(a){throw new k("Invalid or unsupported key format")}f=g?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":e={name:"Ed25519"},f=h();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":e={name:c},f=h();break;default:throw new k('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(a,b,e,d?.extractable??!!g,f)};async function U(a,b,c){let d,e,f;if("string"!=typeof a||0!==a.indexOf("-----BEGIN PRIVATE KEY-----"))throw TypeError('"pkcs8" must be PKCS#8 formatted string');return d=/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,e=h(a.replace(d,"")),f=c,b?.startsWith?.("ECDH-ES")&&((f||={}).getNamedCurve=a=>{let b,c={data:a,pos:0};return R(c,48,"Invalid PKCS#8 structure"),Q(c),R(c,2,"Expected version field"),b=Q(c),c.pos+=b,R(c,48,"Expected algorithm identifier"),Q(c),c.pos,(a=>{let b,c=(R(a,6,"Expected algorithm OID"),b=Q(a),S(a,b));if(P(c,[43,101,110]))return"X25519";if(!P(c,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");R(a,6,"Expected curve OID");let d=Q(a),e=S(a,d);for(let{name:a,oid:b}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(P(e,b))return a;throw Error("Unsupported named curve")})(c)}),T("pkcs8",e,b,f)}}};
@@ -14,7 +14,7 @@ exports.id=402,exports.ids=[402],exports.modules={490:(a,b,c)=>{"use strict";c.d
14
14
  VALUES(?, ?, ?, ?, ?, ?)`,[b.id,b.name,b.kind||null,(0,e.s)(b.models||[]),b.createdAt||new Date().toISOString(),b.updatedAt||new Date().toISOString()]);for(let[b,c]of Object.entries(a.modelAliases||{}))g.run("INSERT OR REPLACE INTO kv(scope, key, value) VALUES('modelAliases', ?, ?)",[b,(0,e.s)(c)]);for(let b of a.customModels||[]){let a=`${b.providerAlias}|${b.id}|${b.type||"llm"}`;g.run("INSERT OR REPLACE INTO kv(scope, key, value) VALUES('customModels', ?, ?)",[a,(0,e.s)(b)])}for(let[b,c]of Object.entries(a.mitmAlias||{}))g.run("INSERT OR REPLACE INTO kv(scope, key, value) VALUES('mitmAlias', ?, ?)",[b,(0,e.s)(c||{})]);for(let[b,c]of Object.entries(a.pricing||{}))g.run("INSERT OR REPLACE INTO kv(scope, key, value) VALUES('pricing', ?, ?)",[b,(0,e.s)(c||{})]);if(p)for(let a of r)g.run(`INSERT OR REPLACE INTO resourceMonitorHistory(
15
15
  serverId, sampledAt, cpuUsage, memoryUsage, diskUsage,
16
16
  diskUsedBytes, networkRxBps, networkTxBps, gpus
17
- ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)`,[a.serverId,a.sampledAt,a.cpuUsage,a.memoryUsage,a.diskUsage,a.diskUsedBytes,a.networkRxBps,a.networkTxBps,(0,e.s)(a.gpus)])})}catch(a){throw s&&await (0,f.x8)(s).catch(a=>{console.error("[DB][import] Failed to roll back resource monitor servers:",a)}),a}let t=0;if(l)try{t=await j(a.branding)}catch(a){throw await j(n).catch(a=>{console.error("[DB][import] Failed to roll back branding assets:",a)}),a}return b?await ae():{success:!0,resourceMonitorImported:p,resourceMonitorServerCount:q?.servers.length||0,resourceMonitorHistoryCount:r.length,brandingImported:l,brandingAssetCount:t}}process.off("beforeExit",ad),process.off("SIGINT",ad),process.off("SIGTERM",ad),process.off("exit",ad),process.on("beforeExit",ad),process.on("SIGINT",ad),process.on("SIGTERM",ad),process.on("exit",ad)},42655:(a,b,c)=>{"use strict";c.d(b,{Xx:()=>j,exportSettings:()=>k,getSettings:()=>i});var d=c(36366),e=c(644);let f={cloudEnabled:!1,tunnelEnabled:!1,tunnelUrl:"",tunnelProvider:"cloudflare",tailscaleEnabled:!1,tailscaleUrl:"",stickyRoundRobinLimit:3,providerStrategies:{},providerSchedules:{},providerHealthChecks:{},comboStrategy:"fallback",comboStickyRoundRobinLimit:1,comboStrategies:{},requireApiKey:!0,requireLogin:!0,tunnelDashboardAccess:!0,authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcClientSecret:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC",ldapMonitorAdminGroupDn:"",enableObservability:!0,observabilityMaxRecords:1e3,observabilityBatchSize:20,observabilityFlushIntervalMs:5e3,observabilityMaxJsonSize:5,outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:"",mitmRouterBaseUrl:"http://localhost:20128",dnsToolEnabled:{},rtkEnabled:!0,cavemanEnabled:!1,cavemanLevel:"full",sidebarAdvancedToolsVisible:!0,personalOAuthProviderPermissions:{},siteTitle:"",siteShortName:"",siteDescription:"",brandingLogo:null,brandingFavicon:null};async function g(){let a=(await (0,d.c)()).get("SELECT data FROM settings WHERE id = 1");return a?(0,e.q)(a.data,{}):{}}function h(a){let b={...f,...a||{}};for(let[a,c]of Object.entries(f))void 0===b[a]&&("outboundProxyEnabled"===a&&"string"==typeof b.outboundProxyUrl&&b.outboundProxyUrl.trim()?b[a]=!0:b[a]=c);return b.requireApiKey=!0,b.requireLogin=!0,b}async function i(){return h(await g())}async function j(a){let b,c=await (0,d.c)();return c.transaction(()=>{let d=c.get("SELECT data FROM settings WHERE id = 1");b={...d?(0,e.q)(d.data,{}):{},...a,requireApiKey:!0,requireLogin:!0},c.run("INSERT INTO settings(id, data) VALUES(1, ?) ON CONFLICT(id) DO UPDATE SET data = excluded.data",[(0,e.s)(b)])}),h(b)}async function k(){return await g()}},45903:(a,b,c)=>{"use strict";c.d(b,{AP:()=>q,BY:()=>z,I6:()=>n,L7:()=>o,dX:()=>y,r:()=>m});var d=c(51455),e=c.n(d),f=c(76760),g=c.n(f),h=c(49120),i=c(89718);let j=new Set(["mysql","postgres"]),k="sqlitePath",l={enabled:!1,fileLoggingEnabled:!1,type:"mysql",host:"",port:"",database:"",username:"",password:"",ssl:!1,createDatabase:!1,logClientRequest:!0,logSourceRequest:!0,logTargetRequest:!0,logProviderResponse:!1,logErrors:!0,retentionDays:30};function m(a){let b={...a||{}};return b.password&&(b.password="********"),delete b[k],b}function n(a={},b={}){let c=String(a?.type||b?.type||l.type).trim().toLowerCase(),d=!!c&&!j.has(c),e=d?l.type:c,f={...l,...b||{},...a||{},type:e};f.enabled=!!f.enabled,f.fileLoggingEnabled=!0===f.fileLoggingEnabled,f.ssl=!!f.ssl,f.createDatabase=!!f.createDatabase,f.logClientRequest=!1!==f.logClientRequest,f.logSourceRequest=!1!==f.logSourceRequest,f.logTargetRequest=!1!==f.logTargetRequest,f.logProviderResponse=!0===f.logProviderResponse,f.logErrors=!1!==f.logErrors;let g=Number(f.retentionDays);return f.retentionDays=Number.isFinite(g)&&g>0?Math.floor(g):30,"********"===f.password&&(f.password=b?.password||""),f.host=String(f.host||"").trim(),f.port=String(f.port||("postgres"===f.type?"5432":"3306")).trim(),f.database=String(f.database||"").trim(),f.username=String(f.username||"").trim(),f.password=String(f.password||""),!d||f.host||f.database||f.username||(f.enabled=!1),delete f[k],f}async function o(){let a=await (0,i.mt)();return n(a?.promptLogDb||{})}async function p(a){let b=g().join(h.DATA_DIR,"mitm");await e().mkdir(b,{recursive:!0}),await e().writeFile(g().join(b,"logging.json"),JSON.stringify({fileLoggingEnabled:!0===a.fileLoggingEnabled},null,2),"utf-8")}async function q(a){let b=await (0,i.mt)(),c=n(a,b?.promptLogDb||{});return await (0,i.Xx)({promptLogDb:c}),await p(c),c}async function r(a,b=null){let d=new(await Promise.resolve().then(c.bind(c,64939))).Client({host:a.host,port:Number(a.port||5432),database:b||a.database,user:a.username,password:a.password,ssl:!!a.ssl&&{rejectUnauthorized:!1}});return await d.connect(),{type:"postgres",client:d,async exec(a){await d.query(a)},async close(){await d.end()}}}async function s(a,b=!0){let d=await c.e(8491).then(c.t.bind(c,38491,19)),e=await d.createConnection({host:a.host,port:Number(a.port||3306),database:b?a.database:void 0,user:a.username,password:a.password,ssl:a.ssl?{}:void 0,multipleStatements:!0,connectTimeout:3e3});return{type:"mysql",conn:e,async exec(a){await e.query(a)},async close(){await e.end()}}}async function t(a){await a.exec(`
17
+ ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)`,[a.serverId,a.sampledAt,a.cpuUsage,a.memoryUsage,a.diskUsage,a.diskUsedBytes,a.networkRxBps,a.networkTxBps,(0,e.s)(a.gpus)])})}catch(a){throw s&&await (0,f.x8)(s).catch(a=>{console.error("[DB][import] Failed to roll back resource monitor servers:",a)}),a}let t=0;if(l)try{t=await j(a.branding)}catch(a){throw await j(n).catch(a=>{console.error("[DB][import] Failed to roll back branding assets:",a)}),a}return b?await ae():{success:!0,resourceMonitorImported:p,resourceMonitorServerCount:q?.servers.length||0,resourceMonitorHistoryCount:r.length,brandingImported:l,brandingAssetCount:t}}process.off("beforeExit",ad),process.off("SIGINT",ad),process.off("SIGTERM",ad),process.off("exit",ad),process.on("beforeExit",ad),process.on("SIGINT",ad),process.on("SIGTERM",ad),process.on("exit",ad)},42655:(a,b,c)=>{"use strict";c.d(b,{Xx:()=>j,exportSettings:()=>k,getSettings:()=>i});var d=c(36366),e=c(644);let f={cloudEnabled:!1,tunnelEnabled:!1,tunnelUrl:"",tunnelProvider:"cloudflare",tailscaleEnabled:!1,tailscaleUrl:"",stickyRoundRobinLimit:3,providerStrategies:{},providerSchedules:{},providerHealthChecks:{},comboStrategy:"fallback",comboStickyRoundRobinLimit:1,comboStrategies:{},requireApiKey:!0,requireLogin:!0,tunnelDashboardAccess:!0,authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcClientSecret:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC",ldapMonitorAdminGroupDn:"",enableObservability:!0,observabilityMaxRecords:1e3,observabilityBatchSize:20,observabilityFlushIntervalMs:5e3,observabilityMaxJsonSize:5,outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:"",mitmRouterBaseUrl:"http://localhost:20128",dnsToolEnabled:{},rtkEnabled:!0,cavemanEnabled:!1,cavemanLevel:"full",sidebarAdvancedToolsVisible:!0,personalOAuthProviderPermissions:{},siteTitle:"",siteShortName:"",siteDescription:"",brandingLogo:null,brandingFavicon:null,resourceMonitorAiModel:""};async function g(){let a=(await (0,d.c)()).get("SELECT data FROM settings WHERE id = 1");return a?(0,e.q)(a.data,{}):{}}function h(a){let b={...f,...a||{}};for(let[a,c]of Object.entries(f))void 0===b[a]&&("outboundProxyEnabled"===a&&"string"==typeof b.outboundProxyUrl&&b.outboundProxyUrl.trim()?b[a]=!0:b[a]=c);return b.requireApiKey=!0,b.requireLogin=!0,b}async function i(){return h(await g())}async function j(a){let b,c=await (0,d.c)();return c.transaction(()=>{let d=c.get("SELECT data FROM settings WHERE id = 1");b={...d?(0,e.q)(d.data,{}):{},...a,requireApiKey:!0,requireLogin:!0},c.run("INSERT INTO settings(id, data) VALUES(1, ?) ON CONFLICT(id) DO UPDATE SET data = excluded.data",[(0,e.s)(b)])}),h(b)}async function k(){return await g()}},45903:(a,b,c)=>{"use strict";c.d(b,{AP:()=>q,BY:()=>z,I6:()=>n,L7:()=>o,dX:()=>y,r:()=>m});var d=c(51455),e=c.n(d),f=c(76760),g=c.n(f),h=c(49120),i=c(89718);let j=new Set(["mysql","postgres"]),k="sqlitePath",l={enabled:!1,fileLoggingEnabled:!1,type:"mysql",host:"",port:"",database:"",username:"",password:"",ssl:!1,createDatabase:!1,logClientRequest:!0,logSourceRequest:!0,logTargetRequest:!0,logProviderResponse:!1,logErrors:!0,retentionDays:30};function m(a){let b={...a||{}};return b.password&&(b.password="********"),delete b[k],b}function n(a={},b={}){let c=String(a?.type||b?.type||l.type).trim().toLowerCase(),d=!!c&&!j.has(c),e=d?l.type:c,f={...l,...b||{},...a||{},type:e};f.enabled=!!f.enabled,f.fileLoggingEnabled=!0===f.fileLoggingEnabled,f.ssl=!!f.ssl,f.createDatabase=!!f.createDatabase,f.logClientRequest=!1!==f.logClientRequest,f.logSourceRequest=!1!==f.logSourceRequest,f.logTargetRequest=!1!==f.logTargetRequest,f.logProviderResponse=!0===f.logProviderResponse,f.logErrors=!1!==f.logErrors;let g=Number(f.retentionDays);return f.retentionDays=Number.isFinite(g)&&g>0?Math.floor(g):30,"********"===f.password&&(f.password=b?.password||""),f.host=String(f.host||"").trim(),f.port=String(f.port||("postgres"===f.type?"5432":"3306")).trim(),f.database=String(f.database||"").trim(),f.username=String(f.username||"").trim(),f.password=String(f.password||""),!d||f.host||f.database||f.username||(f.enabled=!1),delete f[k],f}async function o(){let a=await (0,i.mt)();return n(a?.promptLogDb||{})}async function p(a){let b=g().join(h.DATA_DIR,"mitm");await e().mkdir(b,{recursive:!0}),await e().writeFile(g().join(b,"logging.json"),JSON.stringify({fileLoggingEnabled:!0===a.fileLoggingEnabled},null,2),"utf-8")}async function q(a){let b=await (0,i.mt)(),c=n(a,b?.promptLogDb||{});return await (0,i.Xx)({promptLogDb:c}),await p(c),c}async function r(a,b=null){let d=new(await Promise.resolve().then(c.bind(c,64939))).Client({host:a.host,port:Number(a.port||5432),database:b||a.database,user:a.username,password:a.password,ssl:!!a.ssl&&{rejectUnauthorized:!1}});return await d.connect(),{type:"postgres",client:d,async exec(a){await d.query(a)},async close(){await d.end()}}}async function s(a,b=!0){let d=await c.e(8491).then(c.t.bind(c,38491,19)),e=await d.createConnection({host:a.host,port:Number(a.port||3306),database:b?a.database:void 0,user:a.username,password:a.password,ssl:a.ssl?{}:void 0,multipleStatements:!0,connectTimeout:3e3});return{type:"mysql",conn:e,async exec(a){await e.query(a)},async close(){await e.end()}}}async function t(a){await a.exec(`
18
18
  ALTER TABLE prompt_logs ADD COLUMN IF NOT EXISTS client_ip TEXT;
19
19
  ALTER TABLE prompt_logs ADD COLUMN IF NOT EXISTS client_port TEXT;
20
20
  ALTER TABLE prompt_logs ADD COLUMN IF NOT EXISTS client_user_agent TEXT;
@@ -0,0 +1,8 @@
1
+ "use strict";exports.id=427,exports.ids=[427,9614],exports.modules={9588:(a,b,c)=>{c.d(b,{I8:()=>j,Tv:()=>u,UX:()=>o,aV:()=>n,bz:()=>q,hH:()=>t,oW:()=>s,s0:()=>l,ub:()=>m,vZ:()=>p});var d=c(65573),e=c(23211),f=c(89718),g=c(33792),h=c(90389);function i(a){return String(a||"").trim().toLowerCase()}function j(a){return i(a)}function k(a={}){return[a.ldapUsername,a.ldapEmail,a.ldapName,a.oidcEmail,a.oidcName,a.localUsername,a.username,a.email].map(i).filter(Boolean)}function l(a={}){let b=k(a),c=b[0]||"local",d=a.ldapName||a.ldapEmail||a.oidcName||a.oidcEmail||a.localUsername||c;return{userId:c,displayName:d,loginMethod:a.oidc?"OIDC":a.ldap?"LDAP":"Local",candidates:b}}function m(a={},b={}){var c;if(!b?.authenticated)return!1;if(b.local||!b.ldap&&!b.oidc||b.role===h.hS.ADMIN||!0===b.ldapIsAdmin)return!0;let d=Array.isArray(c=a.ldapAllowedUsers)?c.map(i).filter(Boolean):String(c||"").split(/[,\n]/).map(i).filter(Boolean);return 0!==d.length&&k(b).some(a=>d.includes(a))}function n(a={},b={}){return!(!b?.authenticated||m(a,b))&&(b.role===h.hS.MONITOR_ADMIN||!0===b.ldapIsMonitorAdmin)}function o(a={},b={}){return!(!b?.authenticated||m(a,b)||n(a,b))&&(b.role===h.hS.AI_GATEWAYS_MONITOR||!0===b.ldapIsAiGatewaysMonitor)}function p(a={},b={}){return b?.authenticated?m(a,b)?h.hS.ADMIN:n(a,b)?h.hS.MONITOR_ADMIN:o(a,b)?h.hS.AI_GATEWAYS_MONITOR:h.hS.USER:h.hS.GUEST}function q(a={}){return!0===a.isAdmin||!0===a.isMonitorAdmin}async function r(){let a=await (0,f.mt)(),b=await (0,d.UL)(),c=await (0,g.dY)(b.get("auth_token")?.value);if(!c?.authenticated)return{authenticated:!1,isAdmin:!1,isMonitorAdmin:!1,isAiGatewaysMonitor:!1,role:h.hS.GUEST,userId:"",displayName:"Guest",loginMethod:"None",settings:{...a,requireLogin:!0},session:null};let e=l(c||{}),i=p(a,c||{}),j=i===h.hS.ADMIN,k=i===h.hS.MONITOR_ADMIN,m=i===h.hS.AI_GATEWAYS_MONITOR;return{authenticated:!0,isAdmin:j,isMonitorAdmin:k,isAiGatewaysMonitor:m,role:i,canManageApiKeys:j||k,canUseMonitorAdminTabs:j||k,canViewAllAnalytics:j||k||m,...e,settings:{...a,requireLogin:!0},session:c}}async function s(){let a=await r();return a.authenticated?{access:a,response:null}:{access:a,response:e.NextResponse.json({error:"Authentication required"},{status:401})}}async function t(a={}){let{allowMonitorAdmin:b=!1}=a||{},{access:c,response:d}=await s();return d?{access:c,response:d}:c.isAdmin||b&&c.isMonitorAdmin?{access:c,response:null}:{access:c,response:e.NextResponse.json({error:"Admin access required"},{status:403})}}function u(a,b){if(!a?.authenticated||!b)return!1;if(q(a))return!0;let c=i(a.userId),d=i(b.ownerUser),e=i(b.createdByUser);return!!c&&(d===c||e===c)}},19225:(a,b,c)=>{a.exports=c(44870)},33792:(a,b,c)=>{c.d(b,{Dc:()=>p,OZ:()=>s,YK:()=>n,dY:()=>q,tm:()=>r});var d=c(86935),e=c(69614),f=c(73024),g=c.n(f),h=c(76760),i=c.n(h),j=c(77598),k=c.n(j),l=c(49120);let m=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=i().join(l.DATA_DIR,"jwt-secret");try{return g().readFileSync(a,"utf8").trim()}catch{}g().mkdirSync(l.DATA_DIR,{recursive:!0});let b=k().randomBytes(32).toString("hex");return g().writeFileSync(a,b,{mode:384}),b}());function n(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function o(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("86400s").sign(m)}async function p(a){if(!a)return!1;try{return await (0,e.V)(a,m),!0}catch{return!1}}async function q(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,m);return b}catch{return null}}async function r(a,b,c={}){let d=await o(c);a.set("auth_token",d,{httpOnly:!0,secure:n(b),sameSite:"lax",path:"/",maxAge:86400})}function s(a){a.delete("auth_token")}},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},64183:(a,b,c)=>{c.d(b,{F0:()=>k,M4:()=>m,Qg:()=>i,vY:()=>l});var d=c(36366),e=c(644);let f={"1h":{durationMs:36e5,bucketMinutes:1},"6h":{durationMs:216e5,bucketMinutes:1},"24h":{durationMs:864e5,bucketMinutes:1},"7d":{durationMs:6048e5,bucketMinutes:5},"30d":{durationMs:2592e6,bucketMinutes:15}};function g(a){let b=Number(a);return Number.isFinite(b)?b:0}function h(a){return(Array.isArray(a)?a:[]).map(a=>({id:String(a?.uuid||`index-${a?.index??0}`),uuid:String(a?.uuid||""),index:g(a?.index),name:String(a?.name||`NVIDIA GPU ${a?.index??0}`),usagePercent:g(a?.usagePercent),memoryUsagePercent:g(a?.memoryUsagePercent),temperatureC:a?.temperatureC==null?null:g(a.temperatureC),powerDrawW:a?.powerDrawW==null?null:g(a.powerDrawW)}))}async function i(a,b){if(!a||!b)return!1;let c=new Date(b.updatedAt||Date.now()).getTime(),f=6e4*Math.floor((Number.isFinite(c)?c:Date.now())/6e4),i=b.disks?.find(a=>"/"===a.mount)||b.disks?.[0]||{},j=await (0,d.c)();return j.run(`INSERT OR IGNORE INTO resourceMonitorHistory(
2
+ serverId, sampledAt, cpuUsage, memoryUsage, diskUsage, diskUsedBytes,
3
+ networkRxBps, networkTxBps, gpus
4
+ ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)`,[String(a),f,g(b.cpu?.usagePercent),g(b.memory?.usagePercent),g(i.usagePercent),g(i.usedBytes),g(b.network?.rxBytesPerSecond),g(b.network?.txBytesPerSecond),(0,e.s)(h(b.gpus))]),(!globalThis.__resourceHistoryLastPruneAt||Date.now()-globalThis.__resourceHistoryLastPruneAt>36e5)&&(globalThis.__resourceHistoryLastPruneAt=Date.now(),j.run("DELETE FROM resourceMonitorHistory WHERE sampledAt < ?",[Date.now()-2592e6])),!0}function j(a,b){return b?Math.round(a/b*100)/100:0}async function k(a,b="24h"){let c=f[b]||f["24h"];return{points:function(a,b){let c=6e4*b,d=new Map;for(let b of a){let a=Math.floor(g(b.sampledAt)/c)*c,f=d.get(a);for(let c of(f||(f={time:a,count:0,cpu:0,memory:0,disk:0,diskUsedBytes:0,networkRxBps:0,networkTxBps:0,gpus:new Map},d.set(a,f)),f.count+=1,f.cpu+=g(b.cpuUsage),f.memory+=g(b.memoryUsage),f.disk+=g(b.diskUsage),f.diskUsedBytes+=g(b.diskUsedBytes),f.networkRxBps+=g(b.networkRxBps),f.networkTxBps+=g(b.networkTxBps),h((0,e.q)(b.gpus,[])))){let a=f.gpus.get(c.id);a||(a={...c,count:0,usage:0,memory:0,temperature:0,temperatureCount:0,power:0,powerCount:0},f.gpus.set(c.id,a)),a.count+=1,a.usage+=c.usagePercent,a.memory+=c.memoryUsagePercent,null!=c.temperatureC&&(a.temperature+=c.temperatureC,a.temperatureCount+=1),null!=c.powerDrawW&&(a.power+=c.powerDrawW,a.powerCount+=1)}}return[...d.values()].map(a=>({time:new Date(a.time).toISOString(),cpu:j(a.cpu,a.count),memory:j(a.memory,a.count),disk:j(a.disk,a.count),diskUsedBytes:Math.round(j(a.diskUsedBytes,a.count)),networkRxBps:j(a.networkRxBps,a.count),networkTxBps:j(a.networkTxBps,a.count),gpus:[...a.gpus.values()].map(a=>({id:a.id,uuid:a.uuid,index:a.index,name:a.name,usagePercent:j(a.usage,a.count),memoryUsagePercent:j(a.memory,a.count),temperatureC:a.temperatureCount?j(a.temperature,a.temperatureCount):null,powerDrawW:a.powerCount?j(a.power,a.powerCount):null}))}))}((await (0,d.c)()).all(`SELECT * FROM resourceMonitorHistory
5
+ WHERE serverId = ? AND sampledAt >= ?
6
+ ORDER BY sampledAt ASC`,[String(a),Date.now()-c.durationMs]),c.bucketMinutes),period:f[b]?b:"24h",bucketMinutes:c.bucketMinutes,retentionDays:30}}async function l(a,b){let c=(await (0,d.c)()).all(`SELECT * FROM resourceMonitorHistory
7
+ WHERE sampledAt >= ? AND sampledAt < ?
8
+ ORDER BY serverId, sampledAt ASC`,[a,b]),f=new Map;for(let a of c){let b=String(a.serverId),c=f.get(b);c||(c={serverId:b,count:0,cpuSum:0,cpuMax:0,memorySum:0,memoryMax:0,diskSum:0,diskMax:0,gpus:new Map},f.set(b,c)),c.count+=1;let d=g(a.cpuUsage),i=g(a.memoryUsage),j=g(a.diskUsage);for(let b of(c.cpuSum+=d,c.cpuMax=Math.max(c.cpuMax,d),c.memorySum+=i,c.memoryMax=Math.max(c.memoryMax,i),c.diskSum+=j,c.diskMax=Math.max(c.diskMax,j),h((0,e.q)(a.gpus,[])))){let a=c.gpus.get(b.id);a||(a={id:b.id,name:b.name,count:0,usageSum:0,usageMax:0,memorySum:0,memoryMax:0,temperatureSum:0,temperatureCount:0,temperatureMax:0},c.gpus.set(b.id,a)),a.count+=1,a.usageSum+=b.usagePercent,a.usageMax=Math.max(a.usageMax,b.usagePercent),a.memorySum+=b.memoryUsagePercent,a.memoryMax=Math.max(a.memoryMax,b.memoryUsagePercent),null!=b.temperatureC&&(a.temperatureSum+=b.temperatureC,a.temperatureCount+=1,a.temperatureMax=Math.max(a.temperatureMax,b.temperatureC))}}return[...f.values()].map(a=>({serverId:a.serverId,sampleCount:a.count,cpuAvg:j(a.cpuSum,a.count),cpuMax:a.cpuMax,memoryAvg:j(a.memorySum,a.count),memoryMax:a.memoryMax,diskAvg:j(a.diskSum,a.count),diskMax:a.diskMax,gpus:[...a.gpus.values()].map(a=>({id:a.id,name:a.name,usageAvg:j(a.usageSum,a.count),usageMax:a.usageMax,memoryUsageAvg:j(a.memorySum,a.count),memoryUsageMax:a.memoryMax,temperatureAvg:a.temperatureCount?j(a.temperatureSum,a.temperatureCount):null,temperatureMax:a.temperatureCount?a.temperatureMax:null}))}))}async function m(a){(await (0,d.c)()).run("DELETE FROM resourceMonitorHistory WHERE serverId = ?",[String(a)])}},69614:(a,b,c)=>{c.d(b,{V:()=>p});var d=c(88888),e=c(91356),f=c(99129),g=c(73575),h=c(41570),i=c(19035),j=c(24762),k=c(80308),l=c(11980);async function m(a,b,c){if(!(0,i.Gv)(a))throw new f.Ye("Flattened JWS must be an object");if(void 0===a.protected&&void 0===a.header)throw new f.Ye('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==a.protected&&"string"!=typeof a.protected)throw new f.Ye("JWS Protected Header incorrect type");if(void 0===a.payload)throw new f.Ye("JWS Payload missing");if("string"!=typeof a.signature)throw new f.Ye("JWS Signature missing or incorrect type");if(void 0!==a.header&&!(0,i.Gv)(a.header))throw new f.Ye("JWS Unprotected Header incorrect type");let m={};if(a.protected)try{let b=(0,d.D)(a.protected);m=JSON.parse(g.D0.decode(b))}catch{throw new f.Ye("JWS Protected Header is invalid")}if(!(0,i.fz)(m,a.header))throw new f.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let n={...m,...a.header},o=(0,k.n)(f.Ye,new Map([["b64",!0]]),c?.crit,m,n),p=!0;if(o.has("b64")&&"boolean"!=typeof(p=m.b64))throw new f.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:q}=n;if("string"!=typeof q||!q)throw new f.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');let r=c&&function(a,b){if(void 0!==b&&(!Array.isArray(b)||b.some(a=>"string"!=typeof a)))throw TypeError(`"${a}" option must be an array of strings`);if(b)return new Set(b)}("algorithms",c.algorithms);if(r&&!r.has(q))throw new f.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(p){if("string"!=typeof a.payload)throw new f.Ye("JWS Payload must be a string")}else if("string"!=typeof a.payload&&!(a.payload instanceof Uint8Array))throw new f.Ye("JWS Payload must be a string or an Uint8Array instance");let s=!1;"function"==typeof b&&(b=await b(m,a),s=!0),(0,j.y)(q,b,"verify");let t=(0,g.xW)(void 0!==a.protected?(0,g.lF)(a.protected):new Uint8Array,(0,g.lF)("."),"string"==typeof a.payload?p?(0,g.lF)(a.payload):g.Rd.encode(a.payload):a.payload),u=(0,h.h2)(a.signature,"signature",f.Ye),v=await (0,l.l)(b,q);if(!await (0,e.MX)(q,v,u,t))throw new f.h2;let w={payload:p?(0,h.h2)(a.payload,"payload",f.Ye):"string"==typeof a.payload?g.Rd.encode(a.payload):a.payload};return(void 0!==a.protected&&(w.protectedHeader=m),void 0!==a.header&&(w.unprotectedHeader=a.header),s)?{...w,key:v}:w}async function n(a,b,c){if(a instanceof Uint8Array&&(a=g.D0.decode(a)),"string"!=typeof a)throw new f.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:e,2:h,length:i}=a.split(".");if(3!==i)throw new f.Ye("Invalid Compact JWS");let j=await m({payload:e,protected:d,signature:h},b,c),k={payload:j.payload,protectedHeader:j.protectedHeader};return"function"==typeof b?{...k,key:j.key}:k}var o=c(17347);async function p(a,b,c){let d=await n(a,b,c);if(d.protectedHeader.crit?.includes("b64")&&!1===d.protectedHeader.b64)throw new f.Dp("JWTs MUST NOT use unencoded payload");let e={payload:(0,o.k6)(d.protectedHeader,d.payload,c),protectedHeader:d.protectedHeader};return"function"==typeof b?{...e,key:d.key}:e}},90389:(a,b,c)=>{c.d(b,{hS:()=>d});let d=Object.freeze({ADMIN:"admin",MONITOR_ADMIN:"monitor_admin",AI_GATEWAYS_MONITOR:"ai_gateways_monitor",USER:"user",GUEST:"guest"});Object.freeze([{href:"/dashboard/endpoint",label:"Endpoint",icon:"api"},{href:"/dashboard/api-keys",label:"API Keys",icon:"vpn_key"},{href:"/dashboard/usage",label:"Usage",icon:"bar_chart"},{href:"/dashboard/analytics",label:"Analytics",icon:"monitoring"},{href:"/dashboard/quota",label:"Quota Tracker",icon:"data_usage"},{href:"/dashboard/prompt-logs",label:"Prompt Logs",icon:"manage_search"}]),Object.freeze(["/dashboard","/dashboard/endpoint","/dashboard/api-keys","/dashboard/usage","/dashboard/analytics","/dashboard/quota","/dashboard/prompt-logs"])},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};
@@ -4,4 +4,4 @@ exports.id=4746,exports.ids=[4746],exports.modules={17113:(a,b,c)=>{"use strict"
4
4
  data: ${d}
5
5
 
6
6
  `)}catch{}}}),f.stderr.on("data",b=>console.log(`[mcp:${a}]`,b.toString().trim())),f.on("exit",c=>{console.log(`[mcp:${a}] exited`,c),b.delete(a)}),c}a.exports={getOrSpawn:q,registerSession:function(a,b){let c=q(a),d=g.randomUUID();return c.sessions.set(d,b),d},unregisterSession:function(a,b){let c=m().get(a);c&&c.sessions.delete(b)},sendToChild:function(a,b){let c=m().get(a);if(!c?.proc?.stdin?.writable)throw Error(`Bridge not running: ${a}`);c.proc.stdin.write(`${JSON.stringify(b)}
7
- `)},isRunning:function(a){let b=m().get(a);return!!(b?.proc&&!b.proc.killed&&null===b.proc.exitCode)},findPlugin:p,registerCustomPlugin:function(a){if(!o(a?.command))throw Error(`Blocked: command '${a?.command}' not in MCP allowlist`);n().set(a.name,a)}}},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>S,GET:()=>Q,POST:()=>R});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c.n(l),n=c(28286),o=c(30869),p=c(49120),q=c(54603),r=c(50308),s=c(24424);let t=o.h0.appPort,u=`http://localhost:${t}/api/mcp/`,v=null,w=async()=>(v||(v=await (0,q.Xj)("9r-cli-auth")),v),x=async a=>{let b=await w();for(let c of a)"string"==typeof c?.url&&c.url.startsWith(u)&&(c.headers={...c.headers||{},"x-9r-cli-token":b});return a},y="gateway",z={coworkEgressAllowedHosts:["*"],disabledBuiltinTools:[],isLocalDevMcpEnabled:!0,isDesktopExtensionEnabled:!0,isDesktopExtensionDirectoryEnabled:!0,isDesktopExtensionSignatureRequired:!1,isClaudeCodeForDesktopEnabled:!0,disableEssentialTelemetry:!0,disableNonessentialTelemetry:!0,disableNonessentialServices:!0},A=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},B=async()=>{let a=A();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},C=()=>A()[0],D=async()=>i().join(await B(),"configLibrary"),E=()=>i().join(C(),"configLibrary"),F=async()=>i().join(await D(),"_meta.json"),G=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},H=()=>i().join(G(),"claude_desktop_config.json"),I=async()=>{try{return(0,r.pX)(await g().readFile(H(),"utf-8"))||{}}catch(a){if("ENOENT"===a.code)return{};throw a}},J=async a=>{await g().mkdir(G(),{recursive:!0}),await g().writeFile(H(),JSON.stringify(a,null,2))},K=async()=>{let a=await I();return"3p"!==a.deploymentMode&&(a.deploymentMode="3p",await J(a),!0)},L=async()=>{let a=await I();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await J(a)},M=async()=>{for(let a of[...A(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},N=async a=>{try{return(0,r.pX)(await g().readFile(a,"utf-8"))}catch(a){if("ENOENT"===a.code)return null;throw a}},O=async()=>{let a=i().join(E(),"_meta.json"),b=await N(a);if(!b||!b.appliedId){let c=await N(await F());if(c?.appliedId)b=c;else{let a=m().randomUUID();b={appliedId:a,entries:[{id:a,name:"Default"}]}}await g().mkdir(E(),{recursive:!0}),await g().writeFile(a,JSON.stringify(b,null,2))}return b};async function P(a){let b=i().join(C(),"config.json"),c={};try{c=(0,r.pX)(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(C(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function Q(){try{if(!await M())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await N(await F()),b=a?.appliedId||null,c=await D(),d=b?i().join(c,`${b}.json`):null,f=d?await N(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider===y&&g),l=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name)),m=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,hasBluerouter:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=n.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:m,customPlugins:o},defaultPlugins:n.DEFAULT_PLUGINS,localStdioPlugins:n.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function R(a){try{let{baseUrl:b,apiKey:d,models:f,plugins:h,localPlugins:j,customPlugins:k}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let l=Array.isArray(f)?f.filter(a=>"string"==typeof a&&a.trim()):[];if(0===l.length)return e.NextResponse.json({error:"At least one model is required"},{status:400});let m=Array.isArray(h)?h:n.DEFAULT_PLUGINS,o=Array.isArray(j)?j:[],q=Array.isArray(k)?k:[];if(q.length>0){let{registerCustomPlugin:a}=c(17113),b=q.filter(a=>a&&"string"==typeof a.command&&a.command.trim()).filter(a=>n.ALLOWED_MCP_COMMANDS.has(i().basename(a.command))).map(a=>({name:String(a.name||"").replace(/[^a-zA-Z0-9_-]/g,"").slice(0,64),command:a.command,args:Array.isArray(a.args)?a.args.map(String):[]})).filter(a=>a.name);for(let c of b)try{a(c)}catch{}try{let a=i().join(p.DATA_DIR,"mcp");await g().mkdir(a,{recursive:!0}),await g().writeFile(i().join(a,"customPlugins.json"),JSON.stringify(b,null,2))}catch{}}let r=await x((a=>{let b=Array.isArray(a)?a:[],c=[];for(let a of b){let b=n.LOCAL_STDIO_PLUGINS.find(b=>b.name===a);if(!b)continue;let d={name:b.name,url:`http://localhost:${t}/api/mcp/${b.name}/sse`,transport:"sse"};if(Array.isArray(b.toolNames)&&b.toolNames.length>0){let a=`${b.name}-`,c={};for(let d of b.toolNames)c[d]="allow",c[`${a}${d}`]="allow";d.toolPolicy=c}c.push(d)}return c})(o)),s=await x((a=>{if(!Array.isArray(a))return[];let b=[];for(let c of a)c?.name&&(c.url?b.push({name:c.name,url:c.url,transport:c.transport||"sse",custom:!0}):c.command&&b.push({name:c.name,url:`http://localhost:${t}/api/mcp/${encodeURIComponent(c.name)}/sse`,transport:"sse",custom:!0}));return b})(q)),u=[...(0,n.buildManagedMcpServers)(m),...r,...s],v=await K(),w=await O(),A=i().join(E(),`${w.appliedId}.json`),B={...z,inferenceProvider:y,inferenceGatewayBaseUrl:b,inferenceGatewayApiKey:d,inferenceModels:l.map(a=>({name:a}))};u.length>0&&(B.managedMcpServers=u),await g().writeFile(A,JSON.stringify(B,null,2));let C=null;try{C=await P(u)}catch(a){C={error:a.message}}try{await L()}catch{}return e.NextResponse.json({success:!0,bootstrapped:v,message:v?"Cowork enabled (3p mode set). Quit & reopen Claude Desktop.":"Cowork settings applied. Quit & reopen Claude Desktop.",configPath:A,skipApprovals:C,localMcp:{applied:o,via:"3p-sse-bridge"}})}catch(a){return console.log("Error applying cowork settings:",a),e.NextResponse.json({error:"Failed to apply cowork settings"},{status:500})}}async function S(){try{let a=await N(await F());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await D(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await P([])}catch{}try{await L()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,s.D)([Q,R,S]),(0,d.A)(Q,"009f7d9bd46ebb361e8e914276878647e5867df610",null),(0,d.A)(R,"40ebf18b796c22efe54e8acf7c7cbf4c13f379c4b2",null),(0,d.A)(S,"0072fb6a3e608e40be91a6a7d68f44a07db3f7a956",null)},28286:a=>{"use strict";a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],ALLOWED_MCP_COMMANDS:new Set(["npx","node","uvx","python","python3","bunx","bun"]),buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,X3:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g});var d=c(39006),e=c(75681),f=c(81329);d.rE;let g={npmPackageName:"@jheavenknows/bluerouter",installCmd:"npm i -g @jheavenknows/bluerouter",installCmdLatest:"npm install -g @jheavenknows/bluerouter@latest",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","alims-intl":"https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},39006:a=>{"use strict";a.exports={rE:"5.1.60"}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="bluerouter";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},50308:(a,b,c)=>{"use strict";function d(a){return JSON.parse(function(a){let b=String(a??""),c="",d=!1,e="",f=!1;for(let a=0;a<b.length;a++){let g=b[a];if(d){c+=g,f?f=!1:"\\"===g?f=!0:g===e&&(d=!1,e="");continue}if('"'===g||"'"===g){d=!0,e=g,c+=g;continue}if(","===g){let c=a+1;for(;c<b.length&&/\s/.test(b[c]);)c++;if("}"===b[c]||"]"===b[c])continue}c+=g}return c}(function(a){let b=String(a??""),c="",d=!1,e="",f=!1;for(let a=0;a<b.length;a++){let g=b[a],h=b[a+1];if(d){c+=g,f?f=!1:"\\"===g?f=!0:g===e&&(d=!1,e="");continue}if('"'===g||"'"===g){d=!0,e=g,c+=g;continue}if("/"===g&&"/"===h){for(;a<b.length&&"\n"!==b[a]&&"\r"!==b[a];)a++;a<b.length&&(c+=b[a]);continue}if("/"===g&&"*"===h){for(a+=2;a<b.length&&("*"!==b[a]||"/"!==b[a+1]);)("\n"===b[a]||"\r"===b[a])&&(c+=b[a]),a++;a++;continue}c+=g}return c}(a)))}c.d(b,{pX:()=>d})},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},78335:()=>{},96487:()=>{}};
7
+ `)},isRunning:function(a){let b=m().get(a);return!!(b?.proc&&!b.proc.killed&&null===b.proc.exitCode)},findPlugin:p,registerCustomPlugin:function(a){if(!o(a?.command))throw Error(`Blocked: command '${a?.command}' not in MCP allowlist`);n().set(a.name,a)}}},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>S,GET:()=>Q,POST:()=>R});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c.n(l),n=c(28286),o=c(30869),p=c(49120),q=c(54603),r=c(50308),s=c(24424);let t=o.h0.appPort,u=`http://localhost:${t}/api/mcp/`,v=null,w=async()=>(v||(v=await (0,q.Xj)("9r-cli-auth")),v),x=async a=>{let b=await w();for(let c of a)"string"==typeof c?.url&&c.url.startsWith(u)&&(c.headers={...c.headers||{},"x-9r-cli-token":b});return a},y="gateway",z={coworkEgressAllowedHosts:["*"],disabledBuiltinTools:[],isLocalDevMcpEnabled:!0,isDesktopExtensionEnabled:!0,isDesktopExtensionDirectoryEnabled:!0,isDesktopExtensionSignatureRequired:!1,isClaudeCodeForDesktopEnabled:!0,disableEssentialTelemetry:!0,disableNonessentialTelemetry:!0,disableNonessentialServices:!0},A=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},B=async()=>{let a=A();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},C=()=>A()[0],D=async()=>i().join(await B(),"configLibrary"),E=()=>i().join(C(),"configLibrary"),F=async()=>i().join(await D(),"_meta.json"),G=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},H=()=>i().join(G(),"claude_desktop_config.json"),I=async()=>{try{return(0,r.pX)(await g().readFile(H(),"utf-8"))||{}}catch(a){if("ENOENT"===a.code)return{};throw a}},J=async a=>{await g().mkdir(G(),{recursive:!0}),await g().writeFile(H(),JSON.stringify(a,null,2))},K=async()=>{let a=await I();return"3p"!==a.deploymentMode&&(a.deploymentMode="3p",await J(a),!0)},L=async()=>{let a=await I();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await J(a)},M=async()=>{for(let a of[...A(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},N=async a=>{try{return(0,r.pX)(await g().readFile(a,"utf-8"))}catch(a){if("ENOENT"===a.code)return null;throw a}},O=async()=>{let a=i().join(E(),"_meta.json"),b=await N(a);if(!b||!b.appliedId){let c=await N(await F());if(c?.appliedId)b=c;else{let a=m().randomUUID();b={appliedId:a,entries:[{id:a,name:"Default"}]}}await g().mkdir(E(),{recursive:!0}),await g().writeFile(a,JSON.stringify(b,null,2))}return b};async function P(a){let b=i().join(C(),"config.json"),c={};try{c=(0,r.pX)(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(C(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function Q(){try{if(!await M())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await N(await F()),b=a?.appliedId||null,c=await D(),d=b?i().join(c,`${b}.json`):null,f=d?await N(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider===y&&g),l=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name)),m=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,hasBluerouter:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=n.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:m,customPlugins:o},defaultPlugins:n.DEFAULT_PLUGINS,localStdioPlugins:n.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function R(a){try{let{baseUrl:b,apiKey:d,models:f,plugins:h,localPlugins:j,customPlugins:k}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let l=Array.isArray(f)?f.filter(a=>"string"==typeof a&&a.trim()):[];if(0===l.length)return e.NextResponse.json({error:"At least one model is required"},{status:400});let m=Array.isArray(h)?h:n.DEFAULT_PLUGINS,o=Array.isArray(j)?j:[],q=Array.isArray(k)?k:[];if(q.length>0){let{registerCustomPlugin:a}=c(17113),b=q.filter(a=>a&&"string"==typeof a.command&&a.command.trim()).filter(a=>n.ALLOWED_MCP_COMMANDS.has(i().basename(a.command))).map(a=>({name:String(a.name||"").replace(/[^a-zA-Z0-9_-]/g,"").slice(0,64),command:a.command,args:Array.isArray(a.args)?a.args.map(String):[]})).filter(a=>a.name);for(let c of b)try{a(c)}catch{}try{let a=i().join(p.DATA_DIR,"mcp");await g().mkdir(a,{recursive:!0}),await g().writeFile(i().join(a,"customPlugins.json"),JSON.stringify(b,null,2))}catch{}}let r=await x((a=>{let b=Array.isArray(a)?a:[],c=[];for(let a of b){let b=n.LOCAL_STDIO_PLUGINS.find(b=>b.name===a);if(!b)continue;let d={name:b.name,url:`http://localhost:${t}/api/mcp/${b.name}/sse`,transport:"sse"};if(Array.isArray(b.toolNames)&&b.toolNames.length>0){let a=`${b.name}-`,c={};for(let d of b.toolNames)c[d]="allow",c[`${a}${d}`]="allow";d.toolPolicy=c}c.push(d)}return c})(o)),s=await x((a=>{if(!Array.isArray(a))return[];let b=[];for(let c of a)c?.name&&(c.url?b.push({name:c.name,url:c.url,transport:c.transport||"sse",custom:!0}):c.command&&b.push({name:c.name,url:`http://localhost:${t}/api/mcp/${encodeURIComponent(c.name)}/sse`,transport:"sse",custom:!0}));return b})(q)),u=[...(0,n.buildManagedMcpServers)(m),...r,...s],v=await K(),w=await O(),A=i().join(E(),`${w.appliedId}.json`),B={...z,inferenceProvider:y,inferenceGatewayBaseUrl:b,inferenceGatewayApiKey:d,inferenceModels:l.map(a=>({name:a}))};u.length>0&&(B.managedMcpServers=u),await g().writeFile(A,JSON.stringify(B,null,2));let C=null;try{C=await P(u)}catch(a){C={error:a.message}}try{await L()}catch{}return e.NextResponse.json({success:!0,bootstrapped:v,message:v?"Cowork enabled (3p mode set). Quit & reopen Claude Desktop.":"Cowork settings applied. Quit & reopen Claude Desktop.",configPath:A,skipApprovals:C,localMcp:{applied:o,via:"3p-sse-bridge"}})}catch(a){return console.log("Error applying cowork settings:",a),e.NextResponse.json({error:"Failed to apply cowork settings"},{status:500})}}async function S(){try{let a=await N(await F());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await D(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await P([])}catch{}try{await L()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,s.D)([Q,R,S]),(0,d.A)(Q,"009f7d9bd46ebb361e8e914276878647e5867df610",null),(0,d.A)(R,"40ebf18b796c22efe54e8acf7c7cbf4c13f379c4b2",null),(0,d.A)(S,"0072fb6a3e608e40be91a6a7d68f44a07db3f7a956",null)},28286:a=>{"use strict";a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],ALLOWED_MCP_COMMANDS:new Set(["npx","node","uvx","python","python3","bunx","bun"]),buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,X3:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g});var d=c(39006),e=c(75681),f=c(81329);d.rE;let g={npmPackageName:"@jheavenknows/bluerouter",installCmd:"npm i -g @jheavenknows/bluerouter",installCmdLatest:"npm install -g @jheavenknows/bluerouter@latest",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","alims-intl":"https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},39006:a=>{"use strict";a.exports={rE:"5.1.62"}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="bluerouter";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},50308:(a,b,c)=>{"use strict";function d(a){return JSON.parse(function(a){let b=String(a??""),c="",d=!1,e="",f=!1;for(let a=0;a<b.length;a++){let g=b[a];if(d){c+=g,f?f=!1:"\\"===g?f=!0:g===e&&(d=!1,e="");continue}if('"'===g||"'"===g){d=!0,e=g,c+=g;continue}if(","===g){let c=a+1;for(;c<b.length&&/\s/.test(b[c]);)c++;if("}"===b[c]||"]"===b[c])continue}c+=g}return c}(function(a){let b=String(a??""),c="",d=!1,e="",f=!1;for(let a=0;a<b.length;a++){let g=b[a],h=b[a+1];if(d){c+=g,f?f=!1:"\\"===g?f=!0:g===e&&(d=!1,e="");continue}if('"'===g||"'"===g){d=!0,e=g,c+=g;continue}if("/"===g&&"/"===h){for(;a<b.length&&"\n"!==b[a]&&"\r"!==b[a];)a++;a<b.length&&(c+=b[a]);continue}if("/"===g&&"*"===h){for(a+=2;a<b.length&&("*"!==b[a]||"/"!==b[a+1]);)("\n"===b[a]||"\r"===b[a])&&(c+=b[a]),a++;a++;continue}c+=g}return c}(a)))}c.d(b,{pX:()=>d})},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},78335:()=>{},96487:()=>{}};