wyxrouter 0.4.76 → 0.4.78

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 (333) hide show
  1. package/README.md +11 -11
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +9 -9
  4. package/app/.next-cli-build/build-manifest.json +2 -2
  5. package/app/.next-cli-build/prerender-manifest.json +3 -3
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  31. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  32. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  33. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  34. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  35. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  36. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  37. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  38. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  40. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  41. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  42. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  43. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  44. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  45. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  46. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  47. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  48. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  50. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  51. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  52. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  53. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  54. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  56. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  57. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  58. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  59. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  60. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  61. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  62. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  63. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  64. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  65. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  66. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  67. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  68. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  69. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  70. package/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
  71. package/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
  72. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  73. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  74. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  75. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  76. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  77. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  79. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  83. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  84. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  87. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  89. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  91. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  98. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  99. package/app/.next-cli-build/server/app/callback.html +1 -1
  100. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  101. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  102. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  104. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  105. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
  108. package/app/.next-cli-build/server/app/dashboard/automation.rsc +6 -6
  109. package/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
  110. package/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation.segment.rsc +1 -1
  111. package/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  112. package/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  113. package/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +6 -6
  114. package/app/.next-cli-build/server/app/dashboard/automation.segments/_head.segment.rsc +1 -1
  115. package/app/.next-cli-build/server/app/dashboard/automation.segments/_index.segment.rsc +4 -4
  116. package/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
  117. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  118. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  119. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  120. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  121. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  122. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  123. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  124. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  125. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  126. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  127. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  128. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  129. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  130. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  131. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  132. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  133. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  134. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  135. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  136. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  137. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  138. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  139. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  140. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  141. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  142. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  143. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  144. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  145. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  146. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  147. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  148. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  149. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  150. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  151. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  152. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  153. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  154. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  155. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  156. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  157. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  158. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  159. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  160. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  161. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  162. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  163. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  164. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  165. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  166. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  167. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  168. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  169. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  170. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  171. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  172. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  173. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  174. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  175. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  176. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  177. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  178. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  179. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  180. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  181. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  182. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  183. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  184. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  185. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  186. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  187. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  188. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  189. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  190. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  191. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  192. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  193. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  194. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  195. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  196. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  197. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  198. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  199. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  200. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  201. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  202. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  203. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  204. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  205. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  206. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  207. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  208. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  209. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  210. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  211. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  212. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  213. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  214. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  215. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  216. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  217. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  218. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  219. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  220. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  221. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  222. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  223. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  224. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  225. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  226. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  227. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  228. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  229. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  230. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  231. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  232. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  233. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  234. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  235. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  236. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  237. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  238. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  239. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  240. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  241. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  242. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  243. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  244. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  245. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  246. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  247. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  248. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  249. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  250. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  251. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  252. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  253. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  254. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  255. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  256. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  257. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  258. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  259. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  260. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  261. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  262. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  263. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  264. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  265. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  266. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  267. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  268. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  269. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  270. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  271. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  272. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  273. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  274. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  275. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  276. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  277. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  278. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  279. package/app/.next-cli-build/server/app/index.html +1 -1
  280. package/app/.next-cli-build/server/app/index.rsc +4 -4
  281. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  282. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  283. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  284. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  285. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  286. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  287. package/app/.next-cli-build/server/app/landing.html +1 -1
  288. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  289. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  290. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  291. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  292. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  293. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  294. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  295. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  296. package/app/.next-cli-build/server/app/login.html +1 -1
  297. package/app/.next-cli-build/server/app/login.rsc +5 -5
  298. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  299. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  300. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  301. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  302. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  303. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  304. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  305. package/app/.next-cli-build/server/app-paths-manifest.json +9 -9
  306. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  307. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  308. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  309. package/app/.next-cli-build/server/chunks/318.js +1 -1
  310. package/app/.next-cli-build/server/chunks/4574.js +1 -1
  311. package/app/.next-cli-build/server/chunks/6259.js +1 -1
  312. package/app/.next-cli-build/server/chunks/6685.js +1 -1
  313. package/app/.next-cli-build/server/chunks/7178.js +1 -1
  314. package/app/.next-cli-build/server/chunks/7466.js +1 -1
  315. package/app/.next-cli-build/server/chunks/8468.js +1 -1
  316. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  317. package/app/.next-cli-build/server/pages/404.html +1 -1
  318. package/app/.next-cli-build/server/pages/500.html +1 -1
  319. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  320. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  321. package/app/.next-cli-build/static/chunks/{1321-94879717b431d2c8.js → 1321-78b210380192a1b4.js} +1 -1
  322. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/page-048cd4482a11e132.js +1 -0
  323. package/app/.next-cli-build/static/css/e97c6b42344c3ac1.css +1 -0
  324. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  325. package/app/cli/.build-home/.9router/jwt-secret +1 -1
  326. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  327. package/app/node_modules/baseline-browser-mapping/package.json +2 -2
  328. package/app/package.json +1 -1
  329. package/package.json +2 -2
  330. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/page-1806e55e3e421a1a.js +0 -1
  331. package/app/.next-cli-build/static/css/8a5c9b3b2615ce0f.css +0 -1
  332. /package/app/.next-cli-build/static/{Pfb_3GblpUifti0vdKsu8 → AtANiYwZprfTsfwT_USW1}/_buildManifest.js +0 -0
  333. /package/app/.next-cli-build/static/{Pfb_3GblpUifti0vdKsu8 → AtANiYwZprfTsfwT_USW1}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  **Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models.**
6
6
 
7
- [![npm](https://img.shields.io/npm/v/9router.svg)](https://www.npmjs.com/package/9router)
8
- [![Downloads](https://img.shields.io/npm/dm/9router.svg)](https://www.npmjs.com/package/9router)
7
+ [![npm](https://img.shields.io/npm/v/wyxrouter.svg)](https://www.npmjs.com/package/wyxrouter)
8
+ [![Downloads](https://img.shields.io/npm/dm/wyxrouter.svg)](https://www.npmjs.com/package/wyxrouter)
9
9
  [![Docker Pulls](https://img.shields.io/docker/pulls/decolua/9router.svg?logo=docker&label=Docker%20pulls)](https://hub.docker.com/r/decolua/9router)
10
10
  [![GHCR](https://img.shields.io/badge/GHCR-decolua%2F9router-blue?logo=github)](https://github.com/decolua/9router/pkgs/container/9router)
11
- [![License](https://img.shields.io/npm/l/9router.svg)](https://github.com/decolua/9router/blob/main/LICENSE)
11
+ [![License](https://img.shields.io/npm/l/wyxrouter.svg)](https://github.com/Wisyam/9router_wyx0/blob/master/LICENSE)
12
12
 
13
13
  <a href="https://trendshift.io/repositories/22628" target="_blank"><img src="https://trendshift.io/api/badge/repositories/22628" alt="decolua%2F9router | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
14
14
 
@@ -40,11 +40,11 @@
40
40
  **Option 1 — npm (recommended for desktop):**
41
41
 
42
42
  ```bash
43
- npm install -g 9router
44
- 9router
43
+ npm install -g wyxrouter
44
+ wyxrouter
45
45
 
46
46
  # Or run directly with npx
47
- npx 9router
47
+ npx wyxrouter
48
48
  ```
49
49
 
50
50
  **Option 2 — Docker (server/VPS):**
@@ -79,11 +79,11 @@ That's it! Start coding with FREE AI models.
79
79
  ## 🚀 CLI Options
80
80
 
81
81
  ```bash
82
- 9router # Start with default settings
83
- 9router --port 8080 # Custom port
84
- 9router --no-browser # Don't open browser
85
- 9router --skip-update # Skip auto-update check
86
- 9router --help # Show all options
82
+ wyxrouter # Start with default settings
83
+ wyxrouter --port 8080 # Custom port
84
+ wyxrouter --no-browser # Don't open browser
85
+ wyxrouter --skip-update # Skip auto-update check
86
+ wyxrouter --help # Show all options
87
87
  ```
88
88
 
89
89
  **Dashboard**: `http://localhost:20128/dashboard`
@@ -1 +1 @@
1
- Pfb_3GblpUifti0vdKsu8
1
+ AtANiYwZprfTsfwT_USW1
@@ -108,37 +108,37 @@
108
108
  "/api/models/alias/route": "/api/models/alias",
109
109
  "/api/models/custom/route": "/api/models/custom",
110
110
  "/api/models/disabled/route": "/api/models/disabled",
111
+ "/api/oauth/[provider]/[action]/route": "/api/oauth/[provider]/[action]",
111
112
  "/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route": "/api/oauth/codebuddy/bulk-import/[jobId]/cancel",
112
113
  "/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route": "/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]",
113
114
  "/api/oauth/codebuddy/bulk-import/[jobId]/route": "/api/oauth/codebuddy/bulk-import/[jobId]",
114
- "/api/oauth/[provider]/[action]/route": "/api/oauth/[provider]/[action]",
115
115
  "/api/oauth/codebuddy/bulk-import/latest/route": "/api/oauth/codebuddy/bulk-import/latest",
116
116
  "/api/oauth/codebuddy/bulk-import/route": "/api/oauth/codebuddy/bulk-import",
117
- "/api/oauth/codebuddy/bulk-token/route": "/api/oauth/codebuddy/bulk-token",
118
117
  "/api/oauth/kiro/bulk-import/[jobId]/cancel/route": "/api/oauth/kiro/bulk-import/[jobId]/cancel",
119
118
  "/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route": "/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]",
120
119
  "/api/oauth/kiro/bulk-import/[jobId]/route": "/api/oauth/kiro/bulk-import/[jobId]",
121
120
  "/api/oauth/kiro/bulk-import/latest/route": "/api/oauth/kiro/bulk-import/latest",
121
+ "/api/oauth/codebuddy/bulk-token/route": "/api/oauth/codebuddy/bulk-token",
122
122
  "/api/oauth/kiro/bulk-import/route": "/api/oauth/kiro/bulk-import",
123
123
  "/api/provider-nodes/route": "/api/provider-nodes",
124
124
  "/api/providers/[id]/route": "/api/providers/[id]",
125
- "/api/providers/suggested-models/route": "/api/providers/suggested-models",
126
125
  "/api/providers/client/route": "/api/providers/client",
126
+ "/api/providers/suggested-models/route": "/api/providers/suggested-models",
127
127
  "/api/providers/route": "/api/providers",
128
- "/api/proxy-pools/[id]/route": "/api/proxy-pools/[id]",
129
128
  "/api/proxy-pools/[id]/test/route": "/api/proxy-pools/[id]/test",
129
+ "/api/proxy-pools/[id]/route": "/api/proxy-pools/[id]",
130
130
  "/api/proxy-pools/cloudflare-deploy/route": "/api/proxy-pools/cloudflare-deploy",
131
- "/api/proxy-pools/deno-deploy/route": "/api/proxy-pools/deno-deploy",
132
131
  "/api/proxy-pools/route": "/api/proxy-pools",
132
+ "/api/proxy-pools/deno-deploy/route": "/api/proxy-pools/deno-deploy",
133
133
  "/api/settings/database/route": "/api/settings/database",
134
- "/api/proxy-pools/vercel-deploy/route": "/api/proxy-pools/vercel-deploy",
135
134
  "/api/settings/proxy-test/route": "/api/settings/proxy-test",
135
+ "/api/proxy-pools/vercel-deploy/route": "/api/proxy-pools/vercel-deploy",
136
136
  "/api/settings/route": "/api/settings",
137
137
  "/api/translator/console-logs/stream/route": "/api/translator/console-logs/stream",
138
138
  "/api/usage/stats/route": "/api/usage/stats",
139
- "/api/usage/[connectionId]/route": "/api/usage/[connectionId]",
140
139
  "/api/v1/audio/transcriptions/route": "/api/v1/audio/transcriptions",
141
140
  "/api/usage/stream/route": "/api/usage/stream",
141
+ "/api/usage/[connectionId]/route": "/api/usage/[connectionId]",
142
142
  "/callback/page": "/callback",
143
143
  "/dashboard/settings/pricing/page": "/dashboard/settings/pricing",
144
144
  "/landing/page": "/landing",
@@ -164,6 +164,6 @@
164
164
  "/(dashboard)/dashboard/console-log/page": "/dashboard/console-log",
165
165
  "/(dashboard)/dashboard/profile/page": "/dashboard/profile",
166
166
  "/(dashboard)/dashboard/providers/page": "/dashboard/providers",
167
- "/(dashboard)/dashboard/providers/[id]/page": "/dashboard/providers/[id]",
168
- "/(dashboard)/dashboard/proxy-pools/page": "/dashboard/proxy-pools"
167
+ "/(dashboard)/dashboard/proxy-pools/page": "/dashboard/proxy-pools",
168
+ "/(dashboard)/dashboard/providers/[id]/page": "/dashboard/providers/[id]"
169
169
  }
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "devFiles": [],
6
6
  "lowPriorityFiles": [
7
- "static/Pfb_3GblpUifti0vdKsu8/_buildManifest.js",
8
- "static/Pfb_3GblpUifti0vdKsu8/_ssgManifest.js"
7
+ "static/AtANiYwZprfTsfwT_USW1/_buildManifest.js",
8
+ "static/AtANiYwZprfTsfwT_USW1/_ssgManifest.js"
9
9
  ],
10
10
  "rootMainFiles": [
11
11
  "static/chunks/webpack-f482ccef6733ebcc.js",
@@ -616,8 +616,8 @@
616
616
  "dynamicRoutes": {},
617
617
  "notFoundRoutes": [],
618
618
  "preview": {
619
- "previewModeId": "4ed4886f5b08726c2c010518c2f8b265",
620
- "previewModeSigningKey": "ec452cb197f8ef0a4f80825db164af2e03e0ea549df455dca709d91ae2421c55",
621
- "previewModeEncryptionKey": "36aadf75a3d7067ecec4211946ef01914dae1de0de5d469f76ece4b258255c0e"
619
+ "previewModeId": "8b2ca07aa9ca5444d510b7957b3560d5",
620
+ "previewModeSigningKey": "a4d8fa8c54f2686c47629153cb5727a615e09817d9bf0026fd9ddb4e682a1cfd",
621
+ "previewModeEncryptionKey": "c484397d2bd9e9f1bdd96246452333c2f91d3b7d4cd6fbce114640a1d739b075"
622
622
  }
623
623
  }
@@ -1,2 +1,2 @@
1
1
  (()=>{var a={};a.id=8593,a.ids=[8593],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16565:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>O,handler:()=>Q,routeModule:()=>P});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(14965),o=c(63747),p=c(24235),q=c(23938),r=c(261),s=c(66758),t=c(77243),u=c(26713),v=c(37527),w=c(22820),x=c(88216),y=c(47929),z=c(79551),A=c(71797),B=c(89125),C=c(86439),D=c(77068),E=c(27269),F=c(37525),G=c(61287),H=c(81494),I=c(70722),J=c(70753),K=c(43954),L=c(17891),M={};for(let a in G)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(M[a]=()=>G[a]);c.d(b,M);let N={children:["",{children:["(dashboard)",{children:["dashboard",{children:["automation",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,99947)),"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/dashboard/automation/page.js"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,30508)),"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,55068)),"/home/runner/work/9router_wyx0/9router_wyx0/src/app/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,O={require:c,loadChunk:()=>Promise.resolve()},P=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/dashboard/automation/page",pathname:"/dashboard/automation",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:N},distDir:".next-cli-build",relativeProjectDir:""});async function Q(a,b,d){var M,R,S,T,U;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),P.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let V=!!(0,h.getRequestMeta)(a,"minimalMode"),W="/(dashboard)/dashboard/automation/page";"/index"===W&&(W="/");let X=await P.prepare(a,b,{srcPage:W,multiZoneDraftMode:!1});if(!X)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Y,query:Z,params:$,pageIsDynamic:_,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,serverActionsManifest:ad,clientReferenceManifest:ae,subresourceIntegrityManifest:af,prerenderManifest:ag,isDraftMode:ah,resolvedPathname:ai,revalidateOnlyGenerated:aj,routerServerContext:ak,nextConfig:al,parsedUrl:am,interceptionRoutePatterns:an,deploymentId:ao,clientAssetToken:ap}=X,aq=(0,r.normalizeAppPath)(W),{isOnDemandRevalidate:ar}=X,as=al.experimental.ppr&&!al.cacheComponents&&(0,K.isInterceptionRouteAppPath)(ai)?null:P.match(ai,ag),at=(null==as?void 0:as.route)??null,au=!!ag.routes[ai],av=a.headers["user-agent"]||"",aw=(0,u.getBotType)(av),ax=(0,q.isHtmlBotRequest)(a),ay=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],az=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[t.RSC_HEADER]),aA=(0,s.getIsPossibleServerAction)(a),aB=(0,m.checkIsAppPPREnabled)(al.experimental.ppr),aC=a.headers[y.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&V&&aB&&aA&&aC&&"string"==typeof aC){let e=parseInt(aC,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(U=al.experimental.serverActions)?void 0:U.bodySizeLimit)??i,k=e+(j!==i?c(95726).parse(j):1048576),l=await (0,E.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&aB&&"1"===a.headers[y.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),f=await (0,E.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aD=!0===P.isDev||!0===al.experimental.exposeTestingApiInProductionBuild,aE=aD&&("1"===a.headers[t.NEXT_INSTANT_PREFETCH_HEADER]||!(0,n.f)(a.headers[t.RSC_HEADER])&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(t.NEXT_INSTANT_TEST_COOKIE+"=")),aF=(aB||aE)&&((null==(M=ag.routes[aq]??ag.dynamicRoutes[aq])?void 0:M.renderingMode)==="PARTIALLY_STATIC"||aE&&(aD||(null==ak?void 0:ak.experimentalTestProxy)===!0)),aG=aE&&aF,aH=aG&&!0===P.isDev,aI=!1,aJ=aF?(0,h.getRequestMeta)(a,"postponed"):void 0,aK=null==(R=ag.routes[ai])?void 0:R.prefetchDataRoute,aL=aF&&az&&!ay&&!aK;V&&(aL=aL&&!!aJ);let aM=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aN=(!aw||!aF)&&(!av||(0,q.shouldServeStreamingMetadata)(av,al.htmlLimitedBots)),aO=!!((at||au||ag.routes[aq])&&!(aw&&aF)),aP=aF&&!0===al.cacheComponents,aQ=!0===P.isDev||!aO||"string"==typeof aJ||(aP&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aL&&!V:aL),aR=!!aw&&aF,aS=(null==at?void 0:at.remainingPrerenderableParams)??[],aT=(null==at?void 0:at.fallback)===null&&((null==(S=at.fallbackRootParams)?void 0:S.length)??0)>0,aU=null;if(!ah&&aO&&!aQ&&!aA&&!aJ&&!aL){let a=as?"string"==typeof(null==at?void 0:at.fallback)?at.fallback:as.source:null;if(!0===al.experimental.partialFallbacks&&a&&(null==at?void 0:at.fallbackRouteParams)&&!aT){if(aS.length>0){let b,c=(b=new Map(aS.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,L.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==$?void 0:$[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace((0,o.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");aU=c!==a?c:null}}else aU=ai}let aV=aU;!aV&&(P.isDev||aO&&_&&(null==at?void 0:at.fallbackRouteParams)&&!aA)&&(aV=ai),P.isDev||ah||!aO||!az||aL||(0,k.d)(a.headers);let aW={...G,tree:N,handler:Q,routeModule:P,__next_app__:O};ad&&ae&&(0,p.setManifestsSingleton)({page:W,clientReferenceManifest:ae,serverActionsManifest:ad});let aX=a.method||"GET",aY=(0,g.getTracer)(),aZ=aY.getActiveScopeSpan(),a$=!!(null==ak?void 0:ak.isWrappedByNextServer),a_=!0===al.experimental.partialFallbacks&&aS.length>0?(null==at||null==(T=at.fallbackRouteParams)?void 0:T.filter(a=>!aS.some(b=>b.paramName===a.paramName)))??[]:[],a0=async()=>((null==ak?void 0:ak.render404)?await ak.render404(a,b,am,!1):b.end("This page could not be found"),null);try{let k,m=P.getVaryHeader(ai,an);b.setHeader("Vary",m);let n=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return P.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aY.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aX} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aX} ${W}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await P.getIncrementalCache(a,al,ag,V);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:Z,params:$,page:aq,sharedContext:{buildId:Y,deploymentId:ao,clientAssetToken:ap},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aW,Component:(0,j.T)(aW),params:$,routeModule:P,page:W,postponed:f,shouldWaitOnAllReady:aR,serveStreamingMetadata:aN,supportsDynamicResponse:"string"==typeof f||aQ,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,subresourceIntegrityManifest:af,setCacheStatus:null==ak?void 0:ak.setCacheStatus,setIsrStatus:null==ak?void 0:ak.setIsrStatus,setReactDebugChannel:null==ak?void 0:ak.setReactDebugChannel,sendErrorsToBrowser:null==ak?void 0:ak.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),P.relativeProjectDir),isDraftMode:ah,botType:aw,isOnDemandRevalidate:ar,isPossibleServerAction:aA,assetPrefix:al.assetPrefix,nextConfigOutput:al.output,crossOrigin:al.crossOrigin,trailingSlash:al.trailingSlash,images:al.images,previewProps:ag.preview,enableTainting:al.experimental.taint,htmlLimitedBots:al.htmlLimitedBots,reactMaxHeadersLength:al.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:al.cacheLife,basePath:al.basePath,serverActions:al.experimental.serverActions,logServerFunctions:"object"==typeof al.logging&&!!al.logging.serverFunctions,...aG||aH||aI?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aH}:{},cacheComponents:!!al.cacheComponents,experimental:{isRoutePPREnabled:aF,expireTime:al.expireTime,staleTimes:al.experimental.staleTimes,dynamicOnHover:!!al.experimental.dynamicOnHover,optimisticRouting:!!al.experimental.optimisticRouting,inlineCss:!!al.experimental.inlineCss,prefetchInlining:al.experimental.prefetchInlining??!1,authInterrupts:!!al.experimental.authInterrupts,cachedNavigations:!!al.experimental.cachedNavigations,clientTraceMetadata:al.experimental.clientTraceMetadata||[],clientParamParsingOrigins:al.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,D.parseMaxPostponedStateSize)(al.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>P.onRequestError(a,b,d,e,ak),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await n(e,k),{metadata:m}=l,{cacheControl:o,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[y.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aO&&(null==o?void 0:o.revalidate)===0&&!P.isDev&&!aF){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ai}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},22154:(a,b,c)=>{Promise.resolve().then(c.bind(c,99947))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},59545:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(50412),g=c(96919);function h(a){return`${a} connection${1===a?"":"s"}`}function i({isOpen:a,onClose:b,onSuccess:c}){let[f,g]=(0,e.useState)(""),[h,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null),m=async()=>{if(f.trim()){j(!0),l(null);try{let a=await fetch("/api/oauth/codebuddy/bulk-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:f})}),b=await a.json();l(b),b.success&&c?.()}catch(a){l({error:a.message})}finally{j(!1)}}};if(!a)return null;let n=k?.success?`Imported ${k.imported}/${k.total} tokens.${k.failed?` ${k.failed} failed.`:""}`:null;return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:b,children:(0,d.jsxs)("div",{className:"w-full max-w-lg rounded-xl border border-border bg-surface p-6 shadow-xl",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("h3",{className:"mb-4 text-lg font-semibold text-text-main",children:"CodeBuddy Bulk Token Import"}),(0,d.jsx)("p",{className:"mb-3 text-xs text-text-muted",children:"Paste access tokens, one per line. Each token will be validated and imported as a connection."}),(0,d.jsx)("textarea",{className:"mb-3 w-full rounded-lg border border-border bg-background p-3 font-mono text-xs text-text-main placeholder:text-text-muted focus:border-primary focus:outline-none",rows:8,placeholder:"eyJhbGciOiJSUzI1NiIs...\neyJhbGciOiJSUzI1NiIs...\neyJhbGciOiJSUzI1NiIs...",value:f,onChange:a=>g(a.target.value),disabled:h}),k&&(0,d.jsx)("div",{className:"mb-3 rounded-lg p-3 text-xs "+(k.success?"bg-green-500/10 text-green-400":"bg-red-500/10 text-red-400"),children:n||k.error||"Import failed"}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)("button",{type:"button",onClick:b,className:"rounded-lg px-4 py-2 text-sm text-text-muted hover:bg-border/50",children:"Close"}),(0,d.jsx)("button",{type:"button",onClick:m,disabled:h||!f.trim(),className:"rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white hover:bg-primary/90 disabled:opacity-50",children:h?"Importing...":"Import Tokens"})]})]})})}let j=[{id:"kiro",label:"Kiro AI",icon:"psychology_alt",description:"Token import, bulk import, and social login automation.",supportedModes:["single-token","bulk-token","bulk-account","social"],component:function({providerInfo:a,onRefresh:b}){let[c,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(null),[j,k]=(0,e.useState)(null),l=a=>{k({...a,key:Date.now()}),g(!0)};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:[{id:"bulk-account",title:"Auto Login Bulk",icon:"group_add",description:"Run bulk gmail|password automation with worker progress and manual assist.",action:()=>l({method:"import",importMode:"bulk-account"})},{id:"bulk-token",title:"Bulk Token",icon:"playlist_add",description:"Import many Kiro refresh tokens, one token per line.",action:()=>l({method:"import",importMode:"bulk-token"})},{id:"single-token",title:"Single Token",icon:"vpn_key",description:"Auto-detect or paste one Kiro refresh token.",action:()=>l({method:"import",importMode:"single-token"})},{id:"builder-id",title:"AWS Builder ID",icon:"shield",description:"Open the standard AWS Builder ID device login.",action:()=>l({method:"builder-id"})},{id:"idc",title:"AWS IDC",icon:"business",description:"Enter an IAM Identity Center start URL and region.",action:()=>l({method:"idc"})},{id:"google",title:"Google Login",icon:"account_circle",description:"Open Kiro social Google login with callback capture.",action:()=>l({method:"social",provider:"google"})}].map(a=>(0,d.jsxs)("button",{type:"button",onClick:a.action,className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:a.icon}),a.title]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:a.description})]},a.id))}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[h?.jobId&&(0,d.jsxs)(f.Ex,{variant:"default",children:["Bulk job: ",h.status]}),h?.jobId&&(0,d.jsx)(f.$n,{size:"sm",variant:"secondary",icon:"monitoring",onClick:()=>l({method:"import",importMode:"bulk-account"}),children:"Resume Bulk Progress"})]}),(0,d.jsx)(f.Mh,{isOpen:c,providerInfo:a,onSuccess:b,onRefresh:b,initialBulkJobId:h?.jobId||null,initialFlow:j,onBulkJobChange:i,onClose:()=>g(!1)})]})}},{id:"codebuddy",label:"CodeBuddy",icon:"smart_toy",description:"Bulk GSuite automation and browser OAuth polling login.",supportedModes:["bulk-account","device-oauth"],component:function({providerInfo:a,onRefresh:b}){let[c,g]=(0,e.useState)(!1),[h,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>j(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"group_add"}),"Auto Login Bulk"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Run bulk GSuite gmail|password login with worker progress and manual assist."})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>l(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"playlist_add"}),"Bulk Token Import"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Paste multiple access tokens directly. No browser needed."})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>g(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"login"}),"Device OAuth Login"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Open CodeBuddy browser login and poll until the access token is saved."})]})]}),(0,d.jsx)(i,{isOpen:k,onClose:()=>l(!1),onSuccess:b}),(0,d.jsx)(f.Go,{isOpen:h,provider:"codebuddy",title:"CodeBuddy Bulk GSuite Login",serviceName:"CodeBuddy",onSuccess:b,onClose:()=>j(!1)}),(0,d.jsx)(f.LF,{isOpen:c,provider:"codebuddy",providerInfo:a,onSuccess:()=>{b?.(),g(!1)},onClose:()=>g(!1)})]})}}];function k(){let[a,b]=(0,e.useState)([]),[c,i]=(0,e.useState)(!0),[k,l]=(0,e.useState)(j[0].id),m=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/providers",{cache:"no-store"}),c=await a.json();a.ok&&b(c.connections||[])}catch(a){console.log("Error fetching automation connections:",a)}finally{i(!1)}},[]),n=j.find(a=>a.id===k)||j[0],o=g.IS[n.id]||{id:n.id,name:n.label},p=n.component,q=(0,e.useMemo)(()=>{let b={};for(let c of j)b[c.id]=a.filter(a=>a.provider===c.id).length;return b},[a]);return c?(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{})]}):(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,d.jsx)("div",{className:"flex flex-col gap-1",children:(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:"Automation"})}),(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",children:j.map(a=>{let b=a.id===k;return(0,d.jsxs)("button",{type:"button",onClick:()=>l(a.id),className:`flex min-w-0 items-center gap-3 rounded-lg border px-4 py-3 text-left transition-colors ${b?"border-primary/50 bg-primary/10 text-primary":"border-border bg-surface text-text-main hover:border-primary/30 hover:bg-primary/5"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:a.icon}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block truncate text-sm font-semibold",children:a.label}),(0,d.jsx)("span",{className:"mt-0.5 block text-xs text-text-muted",children:h(q[a.id]||0)})]})]},a.id)})}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px] text-primary",children:n.icon}),(0,d.jsx)("h2",{className:"text-lg font-semibold",children:n.label})]}),(0,d.jsx)("div",{className:"mt-2 flex flex-wrap gap-1.5",children:n.supportedModes.map(a=>(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:a},a))})]}),(0,d.jsx)(f.Ex,{variant:"success",children:h(q[n.id]||0)})]}),(0,d.jsx)(p,{providerInfo:o,onRefresh:m})]})})]})}},61906:(a,b,c)=>{Promise.resolve().then(c.bind(c,59545))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},99947:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/dashboard/automation/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/dashboard/automation/page.js","default")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,319,5221,8032,9248,4404,5681,1900,1124,6457,6685,412,8654],()=>b(b.s=16565));module.exports=c})();
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},22154:(a,b,c)=>{Promise.resolve().then(c.bind(c,99947))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},59545:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(50412),g=c(96919);function h(a){return`${a} connection${1===a?"":"s"}`}function i({isOpen:a,onClose:b,onSuccess:c}){let[f,g]=(0,e.useState)(""),[h,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null),m=async()=>{if(f.trim()){j(!0),l(null);try{let a=await fetch("/api/oauth/codebuddy/bulk-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:f})}),b=await a.json();l(b),b.success&&c?.()}catch(a){l({error:a.message})}finally{j(!1)}}};if(!a)return null;let n=k?.success?`Imported ${k.imported}/${k.total} tokens.${k.failed?` ${k.failed} failed.`:""}`:null;return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:b,children:(0,d.jsxs)("div",{className:"w-full max-w-lg rounded-xl border border-border bg-surface p-6 shadow-xl",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("h3",{className:"mb-4 text-lg font-semibold text-text-main",children:"CodeBuddy OAuth Token Import"}),(0,d.jsx)("p",{className:"mb-3 text-xs text-text-muted",children:"Paste CodeBuddy OAuth access tokens, one per line. This is separate from generated CodeBuddy Access Keys."}),(0,d.jsx)("textarea",{className:"mb-3 w-full rounded-lg border border-border bg-background p-3 font-mono text-xs text-text-main placeholder:text-text-muted focus:border-primary focus:outline-none",rows:8,placeholder:"eyJhbGciOiJSUzI1NiIs...\neyJhbGciOiJSUzI1NiIs...\neyJhbGciOiJSUzI1NiIs...",value:f,onChange:a=>g(a.target.value),disabled:h}),k&&(0,d.jsx)("div",{className:"mb-3 rounded-lg p-3 text-xs "+(k.success?"bg-green-500/10 text-green-400":"bg-red-500/10 text-red-400"),children:n||k.error||"Import failed"}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)("button",{type:"button",onClick:b,className:"rounded-lg px-4 py-2 text-sm text-text-muted hover:bg-border/50",children:"Close"}),(0,d.jsx)("button",{type:"button",onClick:m,disabled:h||!f.trim(),className:"rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white hover:bg-primary/90 disabled:opacity-50",children:h?"Importing...":"Import Tokens"})]})]})})}let j=[{id:"kiro",label:"Kiro AI",icon:"psychology_alt",description:"Token import, bulk import, and social login automation.",supportedModes:["single-token","bulk-token","bulk-account","social"],component:function({providerInfo:a,onRefresh:b}){let[c,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(null),[j,k]=(0,e.useState)(null),l=a=>{k({...a,key:Date.now()}),g(!0)};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:[{id:"bulk-account",title:"Auto Login Bulk",icon:"group_add",description:"Run bulk gmail|password automation with worker progress and manual assist.",action:()=>l({method:"import",importMode:"bulk-account"})},{id:"bulk-token",title:"Bulk Token",icon:"playlist_add",description:"Import many Kiro refresh tokens, one token per line.",action:()=>l({method:"import",importMode:"bulk-token"})},{id:"single-token",title:"Single Token",icon:"vpn_key",description:"Auto-detect or paste one Kiro refresh token.",action:()=>l({method:"import",importMode:"single-token"})},{id:"builder-id",title:"AWS Builder ID",icon:"shield",description:"Open the standard AWS Builder ID device login.",action:()=>l({method:"builder-id"})},{id:"idc",title:"AWS IDC",icon:"business",description:"Enter an IAM Identity Center start URL and region.",action:()=>l({method:"idc"})},{id:"google",title:"Google Login",icon:"account_circle",description:"Open Kiro social Google login with callback capture.",action:()=>l({method:"social",provider:"google"})}].map(a=>(0,d.jsxs)("button",{type:"button",onClick:a.action,className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:a.icon}),a.title]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:a.description})]},a.id))}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[h?.jobId&&(0,d.jsxs)(f.Ex,{variant:"default",children:["Bulk job: ",h.status]}),h?.jobId&&(0,d.jsx)(f.$n,{size:"sm",variant:"secondary",icon:"monitoring",onClick:()=>l({method:"import",importMode:"bulk-account"}),children:"Resume Bulk Progress"})]}),(0,d.jsx)(f.Mh,{isOpen:c,providerInfo:a,onSuccess:b,onRefresh:b,initialBulkJobId:h?.jobId||null,initialFlow:j,onBulkJobChange:i,onClose:()=>g(!1)})]})}},{id:"codebuddy",label:"CodeBuddy",icon:"smart_toy",description:"Bulk GSuite automation and browser OAuth polling login.",supportedModes:["bulk-account","device-oauth"],component:function({providerInfo:a,onRefresh:b}){let[c,g]=(0,e.useState)(!1),[h,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>j(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"group_add"}),"Auto Login + Generate Key"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Run bulk GSuite gmail|password login, create a CodeBuddy Access Key, and save it for model calls."})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>l(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"playlist_add"}),"OAuth Token Import"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Paste OAuth access tokens directly. Generated Access Keys should come from automation."})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>g(!0),className:"flex min-h-[112px] min-w-0 flex-col gap-2 rounded-lg border border-border bg-surface px-4 py-3 text-left transition-colors hover:border-primary/40 hover:bg-primary/5",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] text-primary",children:"login"}),"Device OAuth Login"]}),(0,d.jsx)("span",{className:"text-xs leading-relaxed text-text-muted",children:"Open CodeBuddy browser login and poll until the OAuth token is saved."})]})]}),(0,d.jsx)(i,{isOpen:k,onClose:()=>l(!1),onSuccess:b}),(0,d.jsx)(f.Go,{isOpen:h,provider:"codebuddy",title:"CodeBuddy Bulk GSuite Login + Access Key",serviceName:"CodeBuddy",onSuccess:b,onClose:()=>j(!1)}),(0,d.jsx)(f.LF,{isOpen:c,provider:"codebuddy",providerInfo:a,onSuccess:()=>{b?.(),g(!1)},onClose:()=>g(!1)})]})}}];function k(){let[a,b]=(0,e.useState)([]),[c,i]=(0,e.useState)(!0),[k,l]=(0,e.useState)(j[0].id),m=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/providers",{cache:"no-store"}),c=await a.json();a.ok&&b(c.connections||[])}catch(a){console.log("Error fetching automation connections:",a)}finally{i(!1)}},[]),n=j.find(a=>a.id===k)||j[0],o=g.IS[n.id]||{id:n.id,name:n.label},p=n.component,q=(0,e.useMemo)(()=>{let b={};for(let c of j)b[c.id]=a.filter(a=>a.provider===c.id).length;return b},[a]);return c?(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{})]}):(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,d.jsx)("div",{className:"flex flex-col gap-1",children:(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:"Automation"})}),(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",children:j.map(a=>{let b=a.id===k;return(0,d.jsxs)("button",{type:"button",onClick:()=>l(a.id),className:`flex min-w-0 items-center gap-3 rounded-lg border px-4 py-3 text-left transition-colors ${b?"border-primary/50 bg-primary/10 text-primary":"border-border bg-surface text-text-main hover:border-primary/30 hover:bg-primary/5"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:a.icon}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block truncate text-sm font-semibold",children:a.label}),(0,d.jsx)("span",{className:"mt-0.5 block text-xs text-text-muted",children:h(q[a.id]||0)})]})]},a.id)})}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px] text-primary",children:n.icon}),(0,d.jsx)("h2",{className:"text-lg font-semibold",children:n.label})]}),(0,d.jsx)("div",{className:"mt-2 flex flex-wrap gap-1.5",children:n.supportedModes.map(a=>(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:a},a))})]}),(0,d.jsx)(f.Ex,{variant:"success",children:h(q[n.id]||0)})]}),(0,d.jsx)(p,{providerInfo:o,onRefresh:m})]})})]})}},61906:(a,b,c)=>{Promise.resolve().then(c.bind(c,59545))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},99947:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/dashboard/automation/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router_wyx0/9router_wyx0/src/app/(dashboard)/dashboard/automation/page.js","default")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,319,5221,8032,9248,4404,5681,1900,1124,6457,6685,412,8654],()=>b(b.s=16565));module.exports=c})();