agent-relay 2.0.0 → 2.0.4
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.
- package/deploy/workspace/entrypoint.sh +4 -0
- package/dist/dashboard/out/404.html +1 -1
- package/dist/dashboard/out/app/onboarding.html +1 -1
- package/dist/dashboard/out/app/onboarding.txt +1 -1
- package/dist/dashboard/out/app.html +1 -1
- package/dist/dashboard/out/app.txt +1 -1
- package/dist/dashboard/out/cloud/link.html +1 -1
- package/dist/dashboard/out/cloud/link.txt +1 -1
- package/dist/dashboard/out/connect-repos.html +1 -1
- package/dist/dashboard/out/connect-repos.txt +1 -1
- package/dist/dashboard/out/history.html +1 -1
- package/dist/dashboard/out/history.txt +1 -1
- package/dist/dashboard/out/index.html +1 -1
- package/dist/dashboard/out/index.txt +1 -1
- package/dist/dashboard/out/login.html +1 -1
- package/dist/dashboard/out/login.txt +1 -1
- package/dist/dashboard/out/metrics.html +1 -1
- package/dist/dashboard/out/metrics.txt +1 -1
- package/dist/dashboard/out/pricing.html +1 -1
- package/dist/dashboard/out/pricing.txt +1 -1
- package/dist/dashboard/out/providers/setup/claude.html +1 -1
- package/dist/dashboard/out/providers/setup/claude.txt +1 -1
- package/dist/dashboard/out/providers/setup/codex.html +1 -1
- package/dist/dashboard/out/providers/setup/codex.txt +1 -1
- package/dist/dashboard/out/providers/setup/cursor.html +1 -1
- package/dist/dashboard/out/providers/setup/cursor.txt +1 -1
- package/dist/dashboard/out/providers.html +1 -1
- package/dist/dashboard/out/providers.txt +1 -1
- package/dist/dashboard/out/signup.html +1 -1
- package/dist/dashboard/out/signup.txt +1 -1
- package/dist/src/cli/index.js +7 -5
- package/package.json +10 -10
- package/packages/api-types/package.json +1 -1
- package/packages/bridge/dist/spawner.js +3 -1
- package/packages/bridge/package.json +12 -7
- package/packages/cloud/package.json +11 -6
- package/packages/config/dist/project-namespace.d.ts +4 -0
- package/packages/config/dist/project-namespace.js +8 -0
- package/packages/config/dist/relay-config.d.ts +14 -6
- package/packages/config/dist/relay-config.js +14 -6
- package/packages/config/package.json +7 -2
- package/packages/continuity/package.json +6 -1
- package/packages/daemon/package.json +16 -11
- package/packages/dashboard/dist/server.js +89 -17
- package/packages/dashboard/package.json +14 -22
- package/packages/dashboard/ui/react-components/SpawnModal.tsx +119 -29
- package/packages/dashboard/ui-dist/404.html +1 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/677-7323947c23b35979.js +1 -0
- package/packages/dashboard/ui-dist/app/onboarding.html +1 -1
- package/packages/dashboard/ui-dist/app/onboarding.txt +1 -1
- package/packages/dashboard/ui-dist/app.html +1 -1
- package/packages/dashboard/ui-dist/app.txt +1 -1
- package/packages/dashboard/ui-dist/cloud/link.html +1 -1
- package/packages/dashboard/ui-dist/cloud/link.txt +1 -1
- package/packages/dashboard/ui-dist/connect-repos.html +1 -1
- package/packages/dashboard/ui-dist/connect-repos.txt +1 -1
- package/packages/dashboard/ui-dist/history.html +1 -1
- package/packages/dashboard/ui-dist/history.txt +1 -1
- package/packages/dashboard/ui-dist/index.html +1 -1
- package/packages/dashboard/ui-dist/index.txt +1 -1
- package/packages/dashboard/ui-dist/login.html +1 -1
- package/packages/dashboard/ui-dist/login.txt +1 -1
- package/packages/dashboard/ui-dist/metrics.html +1 -1
- package/packages/dashboard/ui-dist/metrics.txt +1 -1
- package/packages/dashboard/ui-dist/pricing.html +1 -1
- package/packages/dashboard/ui-dist/pricing.txt +1 -1
- package/packages/dashboard/ui-dist/providers/setup/claude.html +1 -1
- package/packages/dashboard/ui-dist/providers/setup/claude.txt +1 -1
- package/packages/dashboard/ui-dist/providers/setup/codex.html +1 -1
- package/packages/dashboard/ui-dist/providers/setup/codex.txt +1 -1
- package/packages/dashboard/ui-dist/providers/setup/cursor.html +1 -1
- package/packages/dashboard/ui-dist/providers/setup/cursor.txt +1 -1
- package/packages/dashboard/ui-dist/providers.html +1 -1
- package/packages/dashboard/ui-dist/providers.txt +1 -1
- package/packages/dashboard/ui-dist/signup.html +1 -1
- package/packages/dashboard/ui-dist/signup.txt +1 -1
- package/packages/dashboard-server/package.json +18 -12
- package/packages/hooks/package.json +9 -4
- package/packages/mcp/README.md +135 -19
- package/packages/mcp/dist/cloud.js +50 -1
- package/packages/mcp/package.json +1 -1
- package/packages/memory/package.json +7 -2
- package/packages/policy/package.json +7 -2
- package/packages/protocol/package.json +6 -1
- package/packages/resiliency/package.json +6 -1
- package/packages/sdk/README.md +160 -43
- package/packages/sdk/dist/client.d.ts +99 -3
- package/packages/sdk/dist/client.js +113 -6
- package/packages/sdk/dist/discovery.d.ts +29 -0
- package/packages/sdk/dist/discovery.js +126 -0
- package/packages/sdk/dist/index.d.ts +1 -0
- package/packages/sdk/dist/index.js +2 -0
- package/packages/sdk/dist/standalone.js +1 -0
- package/packages/sdk/package.json +2 -2
- package/packages/spawner/package.json +2 -2
- package/packages/state/package.json +6 -1
- package/packages/storage/package.json +7 -2
- package/packages/trajectory/package.json +7 -2
- package/packages/user-directory/package.json +7 -2
- package/packages/utils/package.json +6 -1
- package/packages/wrapper/dist/base-wrapper.d.ts +25 -1
- package/packages/wrapper/dist/base-wrapper.js +44 -2
- package/packages/wrapper/dist/relay-pty-orchestrator.d.ts +2 -0
- package/packages/wrapper/dist/relay-pty-orchestrator.js +55 -10
- package/packages/wrapper/dist/shared.d.ts +25 -0
- package/packages/wrapper/dist/shared.js +40 -0
- package/packages/wrapper/dist/tmux-wrapper.d.ts +7 -0
- package/packages/wrapper/dist/tmux-wrapper.js +62 -9
- package/packages/wrapper/package.json +7 -7
- package/.turbo/cache/013415461711937f-meta.json +0 -1
- package/.turbo/cache/013415461711937f.tar.zst +0 -0
- package/.turbo/cache/0562b1ff326acd6d-meta.json +0 -1
- package/.turbo/cache/0562b1ff326acd6d.tar.zst +0 -0
- package/.turbo/cache/0b46e0e17254882f-meta.json +0 -1
- package/.turbo/cache/0b46e0e17254882f.tar.zst +0 -0
- package/.turbo/cache/3799eda981d53d14-meta.json +0 -1
- package/.turbo/cache/3799eda981d53d14.tar.zst +0 -0
- package/.turbo/cache/47e9d8f404ed064d-meta.json +0 -1
- package/.turbo/cache/47e9d8f404ed064d.tar.zst +0 -0
- package/.turbo/cache/4cde1d1e5b298099-meta.json +0 -1
- package/.turbo/cache/4cde1d1e5b298099.tar.zst +0 -0
- package/.turbo/cache/538eea955c0936ef-meta.json +0 -1
- package/.turbo/cache/538eea955c0936ef.tar.zst +0 -0
- package/.turbo/cache/5dceac7f229f5d5d-meta.json +0 -1
- package/.turbo/cache/5dceac7f229f5d5d.tar.zst +0 -0
- package/.turbo/cache/64c15b201819367d-meta.json +0 -1
- package/.turbo/cache/64c15b201819367d.tar.zst +0 -0
- package/.turbo/cache/6d6a21a05efca434-meta.json +0 -1
- package/.turbo/cache/6d6a21a05efca434.tar.zst +0 -0
- package/.turbo/cache/7562610cb03ec040-meta.json +0 -1
- package/.turbo/cache/7562610cb03ec040.tar.zst +0 -0
- package/.turbo/cache/81a2456e17af4d7f-meta.json +0 -1
- package/.turbo/cache/81a2456e17af4d7f.tar.zst +0 -0
- package/.turbo/cache/823fc2a7b12f724c-meta.json +0 -1
- package/.turbo/cache/823fc2a7b12f724c.tar.zst +0 -0
- package/.turbo/cache/9daad16a073d1f91-meta.json +0 -1
- package/.turbo/cache/9daad16a073d1f91.tar.zst +0 -0
- package/.turbo/cache/b81ccbab0a606b60-meta.json +0 -1
- package/.turbo/cache/b81ccbab0a606b60.tar.zst +0 -0
- package/.turbo/cache/cf98487988bfcf91-meta.json +0 -1
- package/.turbo/cache/cf98487988bfcf91.tar.zst +0 -0
- package/.turbo/cache/cfdf7c57dca71f27-meta.json +0 -1
- package/.turbo/cache/cfdf7c57dca71f27.tar.zst +0 -0
- package/.turbo/cache/d3063ef43811b1e5-meta.json +0 -1
- package/.turbo/cache/d3063ef43811b1e5.tar.zst +0 -0
- package/.turbo/cache/de28892eb7678e65-meta.json +0 -1
- package/.turbo/cache/de28892eb7678e65.tar.zst +0 -0
- package/.turbo/cache/ec29adce408132ba-meta.json +0 -1
- package/.turbo/cache/ec29adce408132ba.tar.zst +0 -0
- package/.turbo/cache/f70450d8d305f172-meta.json +0 -1
- package/.turbo/cache/f70450d8d305f172.tar.zst +0 -0
- package/.turbo/cache/fe384d5d6b7a983a-meta.json +0 -1
- package/.turbo/cache/fe384d5d6b7a983a.tar.zst +0 -0
- package/bin/relay-pty +0 -0
- package/packages/dashboard/ui/.next/BUILD_ID +0 -1
- package/packages/dashboard/ui/.next/app-build-manifest.json +0 -135
- package/packages/dashboard/ui/.next/app-path-routes-manifest.json +0 -1
- package/packages/dashboard/ui/.next/build-manifest.json +0 -32
- package/packages/dashboard/ui/.next/cache/config.json +0 -7
- package/packages/dashboard/ui/.next/cache/eslint/.cache_1asv1h5 +0 -1
- package/packages/dashboard/ui/.next/cache/webpack/client-production/0.pack +0 -0
- package/packages/dashboard/ui/.next/cache/webpack/client-production/index.pack +0 -0
- package/packages/dashboard/ui/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/packages/dashboard/ui/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/packages/dashboard/ui/.next/cache/webpack/server-production/0.pack +0 -0
- package/packages/dashboard/ui/.next/cache/webpack/server-production/index.pack +0 -0
- package/packages/dashboard/ui/.next/export-detail.json +0 -1
- package/packages/dashboard/ui/.next/export-marker.json +0 -1
- package/packages/dashboard/ui/.next/images-manifest.json +0 -1
- package/packages/dashboard/ui/.next/next-minimal-server.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/next-server.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/package.json +0 -1
- package/packages/dashboard/ui/.next/prerender-manifest.json +0 -1
- package/packages/dashboard/ui/.next/react-loadable-manifest.json +0 -1970
- package/packages/dashboard/ui/.next/required-server-files.json +0 -1
- package/packages/dashboard/ui/.next/routes-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/app/_not-found/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/_not-found/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/_not-found.html +0 -1
- package/packages/dashboard/ui/.next/server/app/_not-found.meta +0 -6
- package/packages/dashboard/ui/.next/server/app/_not-found.rsc +0 -9
- package/packages/dashboard/ui/.next/server/app/app/onboarding/page.js +0 -6
- package/packages/dashboard/ui/.next/server/app/app/onboarding/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/app/onboarding/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/app/onboarding.html +0 -1
- package/packages/dashboard/ui/.next/server/app/app/onboarding.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/app/onboarding.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/app/page.js +0 -436
- package/packages/dashboard/ui/.next/server/app/app/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/app/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/app.html +0 -1
- package/packages/dashboard/ui/.next/server/app/app.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/app.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/apple-icon.png/route.js +0 -12
- package/packages/dashboard/ui/.next/server/app/apple-icon.png/route.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/apple-icon.png.body +0 -0
- package/packages/dashboard/ui/.next/server/app/apple-icon.png.meta +0 -1
- package/packages/dashboard/ui/.next/server/app/cloud/link/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/cloud/link/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/cloud/link/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/cloud/link.html +0 -1
- package/packages/dashboard/ui/.next/server/app/cloud/link.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/cloud/link.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/connect-repos/page.js +0 -6
- package/packages/dashboard/ui/.next/server/app/connect-repos/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/connect-repos/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/connect-repos.html +0 -1
- package/packages/dashboard/ui/.next/server/app/connect-repos.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/connect-repos.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/history/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/history/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/history/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/history.html +0 -1
- package/packages/dashboard/ui/.next/server/app/history.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/history.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/index.html +0 -1
- package/packages/dashboard/ui/.next/server/app/index.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/index.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/login/page.js +0 -6
- package/packages/dashboard/ui/.next/server/app/login/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/login/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/login.html +0 -5
- package/packages/dashboard/ui/.next/server/app/login.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/login.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/metrics/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/metrics/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/metrics/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/metrics.html +0 -1
- package/packages/dashboard/ui/.next/server/app/metrics.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/metrics.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/pricing/page.js +0 -5
- package/packages/dashboard/ui/.next/server/app/pricing/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/pricing/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/pricing.html +0 -13
- package/packages/dashboard/ui/.next/server/app/pricing.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/pricing.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/providers/page.js +0 -2
- package/packages/dashboard/ui/.next/server/app/providers/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/[provider]/page.js +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/[provider]/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/[provider]/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/claude.html +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/claude.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/providers/setup/claude.rsc +0 -8
- package/packages/dashboard/ui/.next/server/app/providers/setup/codex.html +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/codex.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/providers/setup/codex.rsc +0 -8
- package/packages/dashboard/ui/.next/server/app/providers/setup/cursor.html +0 -1
- package/packages/dashboard/ui/.next/server/app/providers/setup/cursor.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/providers/setup/cursor.rsc +0 -8
- package/packages/dashboard/ui/.next/server/app/providers.html +0 -1
- package/packages/dashboard/ui/.next/server/app/providers.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/providers.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app/signup/page.js +0 -6
- package/packages/dashboard/ui/.next/server/app/signup/page.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/app/signup/page_client-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/app/signup.html +0 -6
- package/packages/dashboard/ui/.next/server/app/signup.meta +0 -5
- package/packages/dashboard/ui/.next/server/app/signup.rsc +0 -7
- package/packages/dashboard/ui/.next/server/app-paths-manifest.json +0 -16
- package/packages/dashboard/ui/.next/server/chunks/190.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/205.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/251.js +0 -9
- package/packages/dashboard/ui/.next/server/chunks/288.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/434.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/471.js +0 -2
- package/packages/dashboard/ui/.next/server/chunks/621.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/680.js +0 -5
- package/packages/dashboard/ui/.next/server/chunks/682.js +0 -6
- package/packages/dashboard/ui/.next/server/chunks/684.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/71.js +0 -196
- package/packages/dashboard/ui/.next/server/chunks/711.js +0 -1
- package/packages/dashboard/ui/.next/server/chunks/90.js +0 -17
- package/packages/dashboard/ui/.next/server/chunks/948.js +0 -2
- package/packages/dashboard/ui/.next/server/chunks/font-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/font-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/functions-config-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/interception-route-rewrite-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/middleware-build-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/middleware-manifest.json +0 -6
- package/packages/dashboard/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/next-font-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/next-font-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/pages/404.html +0 -1
- package/packages/dashboard/ui/.next/server/pages/500.html +0 -1
- package/packages/dashboard/ui/.next/server/pages/_app.js +0 -1
- package/packages/dashboard/ui/.next/server/pages/_app.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/pages/_document.js +0 -1
- package/packages/dashboard/ui/.next/server/pages/_document.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/pages/_error.js +0 -1
- package/packages/dashboard/ui/.next/server/pages/_error.js.nft.json +0 -1
- package/packages/dashboard/ui/.next/server/pages-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/server-reference-manifest.js +0 -1
- package/packages/dashboard/ui/.next/server/server-reference-manifest.json +0 -1
- package/packages/dashboard/ui/.next/server/webpack-runtime.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/116-a883fca163f3a5bc.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/117-c8afed19e821a35d.js +0 -2
- package/packages/dashboard/ui/.next/static/chunks/282-980c2eb8fff20123.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/532-bace199897eeab37.js +0 -9
- package/packages/dashboard/ui/.next/static/chunks/631-af51bad94027527a.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/648-acb2ff9f77cbfbd3.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/677-30e60cb0b47875b6.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/766-2aea80818f7eb0d8.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/83-4f08122d4e7e79a6.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/847-f1f467060f32afff.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/891-5cb1513eeb97a891.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/_not-found/page-60501fddbafba9dc.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/app/onboarding/page-9914652442f7e4fb.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/app/page-44813aa26ad19681.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/cloud/link/page-fa1d5842aa90e8a6.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/connect-repos/page-113060009ef35bc2.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/history/page-9965d2483011b846.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/layout-6b91e33784c20610.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/login/page-a0ca6f7ca6a100b8.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/metrics/page-1e37ef8e73940b40.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/page-7993778218818ace.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/pricing/page-9db3ebdfa567a7c9.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/providers/page-bcf46064ac4474ce.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/providers/setup/[provider]/page-4dbe33f0f7691b7c.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/app/signup/page-1ede2205b58649ca.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/e868780c-48e5f147c90a3a41.js +0 -18
- package/packages/dashboard/ui/.next/static/chunks/fd9d1056-609918ca7b6280bb.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/framework-f66176bb897dc684.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/main-5a40a5ae29646e1b.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/main-app-fdbeb09028f57c9f.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/pages/_app-72b849fbd24ac258.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/pages/_error-7ba65e1336b92748.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/packages/dashboard/ui/.next/static/chunks/webpack-1cdd8ed57114d5e1.js +0 -1
- package/packages/dashboard/ui/.next/static/css/4034f236dd1a3178.css +0 -1
- package/packages/dashboard/ui/.next/static/css/99c2552394077586.css +0 -1
- package/packages/dashboard/ui/.next/trace +0 -63
- package/packages/dashboard/ui/.next/types/app/app/onboarding/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/app/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/cloud/link/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/connect-repos/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/history/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/layout.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/login/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/metrics/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/pricing/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/providers/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/providers/setup/[provider]/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/app/signup/page.ts +0 -79
- package/packages/dashboard/ui/.next/types/package.json +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/677-30e60cb0b47875b6.js +0 -1
- /package/dist/dashboard/out/_next/static/{ZCFjHbkF8yDKS2md3lVgb → 72btMIJ64BCAB4UgVkpaq}/_buildManifest.js +0 -0
- /package/dist/dashboard/out/_next/static/{ZCFjHbkF8yDKS2md3lVgb → 72btMIJ64BCAB4UgVkpaq}/_ssgManifest.js +0 -0
- /package/packages/dashboard/ui-dist/_next/static/{HR7W9z1PPVPFqUboUVZFZ → 0AsOfRemPXJmtynCKT-rx}/_buildManifest.js +0 -0
- /package/packages/dashboard/ui-dist/_next/static/{HR7W9z1PPVPFqUboUVZFZ → 0AsOfRemPXJmtynCKT-rx}/_ssgManifest.js +0 -0
- /package/packages/dashboard/ui-dist/_next/static/{ZCFjHbkF8yDKS2md3lVgb → 72btMIJ64BCAB4UgVkpaq}/_buildManifest.js +0 -0
- /package/packages/dashboard/ui-dist/_next/static/{ZCFjHbkF8yDKS2md3lVgb → 72btMIJ64BCAB4UgVkpaq}/_ssgManifest.js +0 -0
- /package/packages/dashboard/{ui/.next/static/HR7W9z1PPVPFqUboUVZFZ → ui-dist/_next/static/clUN2n0bz9HCjKI0qlOxU}/_buildManifest.js +0 -0
- /package/packages/dashboard/{ui/.next/static/HR7W9z1PPVPFqUboUVZFZ → ui-dist/_next/static/clUN2n0bz9HCjKI0qlOxU}/_ssgManifest.js +0 -0
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
(()=>{var e={};e.id=191,e.ids=[191],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},5315:e=>{"use strict";e.exports=require("path")},7360:e=>{"use strict";e.exports=require("url")},3572:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>p,pages:()=>d,routeModule:()=>x,tree:()=>c}),r(2345),r(1506),r(5866);var a=r(3191),s=r(8716),n=r(7922),i=r.n(n),o=r(5231),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let c=["",{children:["app",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,2345)),"/home/runner/work/relay/relay/packages/dashboard/ui/app/app/page.tsx"]}]},{metadata:{icon:[],apple:[async e=>(await Promise.resolve().then(r.bind(r,3226))).default(e)],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,1506)),"/home/runner/work/relay/relay/packages/dashboard/ui/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,5866,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[],apple:[async e=>(await Promise.resolve().then(r.bind(r,3226))).default(e)],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/runner/work/relay/relay/packages/dashboard/ui/app/app/page.tsx"],p="/app/page",m={require:r,loadChunk:()=>Promise.resolve()},x=new a.AppPageRouteModule({definition:{kind:s.x.APP_PAGE,page:"/app/page",pathname:"/app",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},3127:(e,t,r)=>{Promise.resolve().then(r.bind(r,3094))},3094:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var a=r(326),s=r(7577),n=r(4071),i=r(8977),o=r(48),l=r(6824);let c=[{id:"creating",name:"Initialize",description:"Creating workspace container",estimatedSeconds:5,icon:"◈"},{id:"networking",name:"Network",description:"Configuring DNS & IP allocation",estimatedSeconds:8,icon:"◇"},{id:"secrets",name:"Secure",description:"Encrypting credentials",estimatedSeconds:3,icon:"◆"},{id:"machine",name:"Deploy",description:"Launching cloud instance",estimatedSeconds:25,icon:"▣"},{id:"booting",name:"Boot",description:"Starting relay services",estimatedSeconds:20,icon:"▢"},{id:"health",name:"Verify",description:"Running health checks",estimatedSeconds:15,icon:"◉"}];function d({currentStage:e,isProvisioning:t,workspaceName:r,error:n,onCancel:i}){let[o,l]=(0,s.useState)(0),[d,x]=(0,s.useState)([]),[g,u]=(0,s.useState)(!0),h=(0,s.useMemo)(()=>{if(e){let t=c.findIndex(t=>t.id===e);return t>=0?t:0}let t=0;for(let e=0;e<c.length;e++)if(o<(t+=c[e].estimatedSeconds))return e;return c.length-1},[e,o]),b=(0,s.useMemo)(()=>c.reduce((e,t)=>e+t.estimatedSeconds,0),[]),f=(0,s.useMemo)(()=>Math.min(95,Math.round(o/b*100)),[o,b]);return n?(0,a.jsxs)("div",{className:"prov-container prov-error",children:[a.jsx("div",{className:"error-glitch",children:a.jsx("span",{className:"error-icon",children:"✕"})}),a.jsx("h3",{className:"error-title",children:"PROVISIONING FAILED"}),a.jsx("p",{className:"error-message",children:n}),i&&a.jsx("button",{onClick:i,className:"retry-btn",children:a.jsx("span",{children:"RETRY"})}),a.jsx("style",{children:m})]}):(0,a.jsxs)("div",{className:"prov-container",children:[a.jsx("div",{className:"ambient-glow"}),a.jsx("div",{className:"scan-line"}),(0,a.jsxs)("header",{className:"prov-header",children:[a.jsx("div",{className:"header-badge",children:"PROVISIONING"}),a.jsx("h1",{className:"header-title",children:r||"Workspace"}),(0,a.jsxs)("div",{className:"header-meta",children:[a.jsx("span",{className:"meta-time",children:(e=>{let t=Math.floor(e/60),r=e%60;return t>0?`${t}:${r.toString().padStart(2,"0")}`:`0:${r.toString().padStart(2,"0")}`})(o)}),a.jsx("span",{className:"meta-sep",children:"•"}),(0,a.jsxs)("span",{className:"meta-percent",children:[f,"%"]})]})]}),(0,a.jsxs)("div",{className:"progress-track",children:[a.jsx("div",{className:"progress-fill",style:{width:`${f}%`}}),a.jsx("div",{className:"progress-glow",style:{left:`${f}%`}})]}),a.jsx("div",{className:"stages-timeline",children:c.map((e,t)=>{let r=t<h,s=t===h,n=t>h;return(0,a.jsxs)("div",{className:`stage-row ${r?"completed":""} ${s?"current":""} ${n?"pending":""}`,children:[t>0&&(0,a.jsxs)("div",{className:`stage-connector ${r?"active":""}`,children:[a.jsx("div",{className:"connector-line"}),r&&a.jsx("div",{className:"connector-pulse"})]}),(0,a.jsxs)("div",{className:"stage-node",children:[a.jsx("span",{className:"node-icon",children:e.icon}),s&&a.jsx("div",{className:"node-ring"})]}),(0,a.jsxs)("div",{className:"stage-content",children:[a.jsx("span",{className:"stage-name",children:e.name}),s&&a.jsx("span",{className:"stage-desc",children:e.description})]}),(0,a.jsxs)("div",{className:"stage-status",children:[r&&a.jsx("span",{className:"status-done",children:"DONE"}),s&&a.jsx("span",{className:"status-active",children:"ACTIVE"}),n&&(0,a.jsxs)("span",{className:"status-wait",children:["~",e.estimatedSeconds,"s"]})]})]},e.id)})}),(0,a.jsxs)("div",{className:"terminal-window",children:[(0,a.jsxs)("div",{className:"terminal-header",children:[a.jsx("span",{className:"terminal-dot red"}),a.jsx("span",{className:"terminal-dot yellow"}),a.jsx("span",{className:"terminal-dot green"}),a.jsx("span",{className:"terminal-title",children:"agent-relay"})]}),(0,a.jsxs)("div",{className:"terminal-body",children:[d.map((e,t)=>a.jsx("div",{className:"terminal-line",style:{animationDelay:`${.1*t}s`},children:e},t)),(0,a.jsxs)("div",{className:"terminal-cursor",children:[a.jsx("span",{className:"cursor-prompt",children:"$"}),a.jsx("span",{className:`cursor-block ${g?"visible":""}`,children:"_"})]})]})]}),i&&a.jsx("button",{onClick:i,className:"cancel-btn",children:"Cancel"}),a.jsx("style",{children:p})]})}let p=`
|
|
2
|
-
.prov-container {
|
|
3
|
-
position: relative;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 24px;
|
|
7
|
-
padding: 40px 32px;
|
|
8
|
-
background: linear-gradient(145deg, rgba(10, 15, 25, 0.95) 0%, rgba(5, 10, 18, 0.98) 100%);
|
|
9
|
-
border: 1px solid rgba(6, 182, 212, 0.15);
|
|
10
|
-
border-radius: 16px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Ambient effects */
|
|
16
|
-
.ambient-glow {
|
|
17
|
-
position: absolute;
|
|
18
|
-
top: -100px;
|
|
19
|
-
left: 50%;
|
|
20
|
-
transform: translateX(-50%);
|
|
21
|
-
width: 300px;
|
|
22
|
-
height: 200px;
|
|
23
|
-
background: radial-gradient(ellipse, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
|
|
24
|
-
pointer-events: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.scan-line {
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: 0;
|
|
30
|
-
left: 0;
|
|
31
|
-
right: 0;
|
|
32
|
-
height: 2px;
|
|
33
|
-
background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
|
|
34
|
-
animation: scanMove 3s ease-in-out infinite;
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@keyframes scanMove {
|
|
39
|
-
0%, 100% { top: 0; opacity: 0.5; }
|
|
40
|
-
50% { top: 100%; opacity: 0.2; }
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Header */
|
|
44
|
-
.prov-header {
|
|
45
|
-
text-align: center;
|
|
46
|
-
position: relative;
|
|
47
|
-
z-index: 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.header-badge {
|
|
51
|
-
display: inline-block;
|
|
52
|
-
padding: 4px 12px;
|
|
53
|
-
background: rgba(6, 182, 212, 0.1);
|
|
54
|
-
border: 1px solid rgba(6, 182, 212, 0.3);
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
font-size: 10px;
|
|
57
|
-
font-weight: 600;
|
|
58
|
-
letter-spacing: 2px;
|
|
59
|
-
color: #06b6d4;
|
|
60
|
-
margin-bottom: 12px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.header-title {
|
|
64
|
-
font-size: 22px;
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
color: #f1f5f9;
|
|
67
|
-
margin: 0 0 8px 0;
|
|
68
|
-
letter-spacing: -0.5px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.header-meta {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
gap: 8px;
|
|
76
|
-
font-size: 13px;
|
|
77
|
-
color: #64748b;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.meta-time {
|
|
81
|
-
font-variant-numeric: tabular-nums;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.meta-percent {
|
|
85
|
-
color: #06b6d4;
|
|
86
|
-
font-weight: 500;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.meta-sep {
|
|
90
|
-
opacity: 0.3;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* Progress bar */
|
|
94
|
-
.progress-track {
|
|
95
|
-
position: relative;
|
|
96
|
-
height: 4px;
|
|
97
|
-
background: rgba(100, 116, 139, 0.2);
|
|
98
|
-
border-radius: 2px;
|
|
99
|
-
overflow: visible;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.progress-fill {
|
|
103
|
-
height: 100%;
|
|
104
|
-
background: linear-gradient(90deg, #0891b2, #06b6d4, #22d3ee);
|
|
105
|
-
border-radius: 2px;
|
|
106
|
-
transition: width 0.5s ease;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.progress-glow {
|
|
110
|
-
position: absolute;
|
|
111
|
-
top: 50%;
|
|
112
|
-
transform: translate(-50%, -50%);
|
|
113
|
-
width: 8px;
|
|
114
|
-
height: 8px;
|
|
115
|
-
background: #22d3ee;
|
|
116
|
-
border-radius: 50%;
|
|
117
|
-
box-shadow: 0 0 16px rgba(34, 211, 238, 0.6);
|
|
118
|
-
transition: left 0.5s ease;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/* Stages */
|
|
122
|
-
.stages-timeline {
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
gap: 0;
|
|
126
|
-
padding: 16px 0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.stage-row {
|
|
130
|
-
display: grid;
|
|
131
|
-
grid-template-columns: 40px 1fr auto;
|
|
132
|
-
align-items: center;
|
|
133
|
-
gap: 12px;
|
|
134
|
-
padding: 10px 0;
|
|
135
|
-
position: relative;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.stage-connector {
|
|
139
|
-
position: absolute;
|
|
140
|
-
left: 19px;
|
|
141
|
-
top: -10px;
|
|
142
|
-
width: 2px;
|
|
143
|
-
height: 20px;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.connector-line {
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 100%;
|
|
149
|
-
background: rgba(100, 116, 139, 0.3);
|
|
150
|
-
transition: background 0.3s ease;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.stage-connector.active .connector-line {
|
|
154
|
-
background: linear-gradient(180deg, #06b6d4, rgba(6, 182, 212, 0.3));
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.connector-pulse {
|
|
158
|
-
position: absolute;
|
|
159
|
-
top: 0;
|
|
160
|
-
left: 0;
|
|
161
|
-
width: 100%;
|
|
162
|
-
height: 100%;
|
|
163
|
-
background: linear-gradient(180deg, rgba(34, 211, 238, 0.8), transparent);
|
|
164
|
-
animation: pulseLine 1.5s ease-out infinite;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@keyframes pulseLine {
|
|
168
|
-
0% { opacity: 1; transform: translateY(-100%); }
|
|
169
|
-
100% { opacity: 0; transform: translateY(100%); }
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.stage-node {
|
|
173
|
-
width: 40px;
|
|
174
|
-
height: 40px;
|
|
175
|
-
display: flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
position: relative;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.node-icon {
|
|
182
|
-
font-size: 18px;
|
|
183
|
-
color: #475569;
|
|
184
|
-
transition: all 0.3s ease;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.stage-row.completed .node-icon {
|
|
188
|
-
color: #06b6d4;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.stage-row.current .node-icon {
|
|
192
|
-
color: #22d3ee;
|
|
193
|
-
text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.node-ring {
|
|
197
|
-
position: absolute;
|
|
198
|
-
inset: 4px;
|
|
199
|
-
border: 2px solid rgba(34, 211, 238, 0.4);
|
|
200
|
-
border-radius: 50%;
|
|
201
|
-
animation: ringPulse 2s ease-in-out infinite;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
@keyframes ringPulse {
|
|
205
|
-
0%, 100% { transform: scale(1); opacity: 1; }
|
|
206
|
-
50% { transform: scale(1.2); opacity: 0.5; }
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.stage-content {
|
|
210
|
-
display: flex;
|
|
211
|
-
flex-direction: column;
|
|
212
|
-
gap: 2px;
|
|
213
|
-
min-width: 0;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.stage-name {
|
|
217
|
-
font-size: 13px;
|
|
218
|
-
font-weight: 500;
|
|
219
|
-
color: #64748b;
|
|
220
|
-
text-transform: uppercase;
|
|
221
|
-
letter-spacing: 0.5px;
|
|
222
|
-
transition: color 0.3s ease;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.stage-row.completed .stage-name {
|
|
226
|
-
color: #475569;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.stage-row.current .stage-name {
|
|
230
|
-
color: #f1f5f9;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.stage-desc {
|
|
234
|
-
font-size: 11px;
|
|
235
|
-
color: #64748b;
|
|
236
|
-
animation: fadeSlideIn 0.3s ease;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
@keyframes fadeSlideIn {
|
|
240
|
-
from { opacity: 0; transform: translateX(-8px); }
|
|
241
|
-
to { opacity: 1; transform: translateX(0); }
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.stage-status {
|
|
245
|
-
font-size: 10px;
|
|
246
|
-
font-weight: 600;
|
|
247
|
-
letter-spacing: 1px;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.status-done {
|
|
251
|
-
color: #06b6d4;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.status-active {
|
|
255
|
-
color: #22d3ee;
|
|
256
|
-
animation: blink 1s ease-in-out infinite;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
@keyframes blink {
|
|
260
|
-
0%, 100% { opacity: 1; }
|
|
261
|
-
50% { opacity: 0.5; }
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.status-wait {
|
|
265
|
-
color: #475569;
|
|
266
|
-
font-variant-numeric: tabular-nums;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/* Terminal */
|
|
270
|
-
.terminal-window {
|
|
271
|
-
background: rgba(0, 0, 0, 0.4);
|
|
272
|
-
border: 1px solid rgba(100, 116, 139, 0.2);
|
|
273
|
-
border-radius: 8px;
|
|
274
|
-
overflow: hidden;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.terminal-header {
|
|
278
|
-
display: flex;
|
|
279
|
-
align-items: center;
|
|
280
|
-
gap: 6px;
|
|
281
|
-
padding: 8px 12px;
|
|
282
|
-
background: rgba(30, 41, 59, 0.5);
|
|
283
|
-
border-bottom: 1px solid rgba(100, 116, 139, 0.15);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.terminal-dot {
|
|
287
|
-
width: 10px;
|
|
288
|
-
height: 10px;
|
|
289
|
-
border-radius: 50%;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.terminal-dot.red { background: #ef4444; }
|
|
293
|
-
.terminal-dot.yellow { background: #eab308; }
|
|
294
|
-
.terminal-dot.green { background: #22c55e; }
|
|
295
|
-
|
|
296
|
-
.terminal-title {
|
|
297
|
-
margin-left: auto;
|
|
298
|
-
font-size: 11px;
|
|
299
|
-
color: #64748b;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.terminal-body {
|
|
303
|
-
padding: 12px;
|
|
304
|
-
min-height: 100px;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.terminal-line {
|
|
308
|
-
font-size: 12px;
|
|
309
|
-
color: #94a3b8;
|
|
310
|
-
padding: 2px 0;
|
|
311
|
-
animation: typeIn 0.3s ease;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
@keyframes typeIn {
|
|
315
|
-
from { opacity: 0; transform: translateY(4px); }
|
|
316
|
-
to { opacity: 1; transform: translateY(0); }
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.terminal-cursor {
|
|
320
|
-
display: flex;
|
|
321
|
-
align-items: center;
|
|
322
|
-
gap: 4px;
|
|
323
|
-
margin-top: 8px;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.cursor-prompt {
|
|
327
|
-
color: #06b6d4;
|
|
328
|
-
font-weight: 600;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.cursor-block {
|
|
332
|
-
color: #22d3ee;
|
|
333
|
-
opacity: 0;
|
|
334
|
-
transition: opacity 0.1s;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.cursor-block.visible {
|
|
338
|
-
opacity: 1;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/* Cancel button */
|
|
342
|
-
.cancel-btn {
|
|
343
|
-
align-self: center;
|
|
344
|
-
padding: 8px 20px;
|
|
345
|
-
background: transparent;
|
|
346
|
-
border: 1px solid rgba(100, 116, 139, 0.3);
|
|
347
|
-
border-radius: 6px;
|
|
348
|
-
color: #64748b;
|
|
349
|
-
font-family: inherit;
|
|
350
|
-
font-size: 12px;
|
|
351
|
-
cursor: pointer;
|
|
352
|
-
transition: all 0.2s ease;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.cancel-btn:hover {
|
|
356
|
-
border-color: rgba(239, 68, 68, 0.5);
|
|
357
|
-
color: #ef4444;
|
|
358
|
-
}
|
|
359
|
-
`,m=`
|
|
360
|
-
.prov-container.prov-error {
|
|
361
|
-
display: flex;
|
|
362
|
-
flex-direction: column;
|
|
363
|
-
align-items: center;
|
|
364
|
-
gap: 16px;
|
|
365
|
-
padding: 48px 32px;
|
|
366
|
-
background: linear-gradient(145deg, rgba(25, 10, 10, 0.95) 0%, rgba(15, 5, 8, 0.98) 100%);
|
|
367
|
-
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
368
|
-
border-radius: 16px;
|
|
369
|
-
text-align: center;
|
|
370
|
-
font-family: 'SF Mono', 'JetBrains Mono', monospace;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.error-glitch {
|
|
374
|
-
position: relative;
|
|
375
|
-
width: 64px;
|
|
376
|
-
height: 64px;
|
|
377
|
-
display: flex;
|
|
378
|
-
align-items: center;
|
|
379
|
-
justify-content: center;
|
|
380
|
-
background: rgba(239, 68, 68, 0.1);
|
|
381
|
-
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
382
|
-
border-radius: 12px;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.error-icon {
|
|
386
|
-
font-size: 28px;
|
|
387
|
-
color: #ef4444;
|
|
388
|
-
animation: glitch 0.3s ease infinite;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
@keyframes glitch {
|
|
392
|
-
0%, 100% { transform: translate(0); }
|
|
393
|
-
25% { transform: translate(-2px, 1px); }
|
|
394
|
-
50% { transform: translate(2px, -1px); }
|
|
395
|
-
75% { transform: translate(-1px, -1px); }
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.error-title {
|
|
399
|
-
font-size: 14px;
|
|
400
|
-
font-weight: 600;
|
|
401
|
-
letter-spacing: 2px;
|
|
402
|
-
color: #ef4444;
|
|
403
|
-
margin: 0;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.error-message {
|
|
407
|
-
font-size: 13px;
|
|
408
|
-
color: #94a3b8;
|
|
409
|
-
max-width: 350px;
|
|
410
|
-
margin: 0;
|
|
411
|
-
line-height: 1.5;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.retry-btn {
|
|
415
|
-
margin-top: 8px;
|
|
416
|
-
padding: 10px 28px;
|
|
417
|
-
background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
|
|
418
|
-
border: 1px solid rgba(239, 68, 68, 0.4);
|
|
419
|
-
border-radius: 6px;
|
|
420
|
-
color: #ef4444;
|
|
421
|
-
font-family: inherit;
|
|
422
|
-
font-size: 12px;
|
|
423
|
-
font-weight: 600;
|
|
424
|
-
letter-spacing: 1px;
|
|
425
|
-
cursor: pointer;
|
|
426
|
-
transition: all 0.2s ease;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.retry-btn:hover {
|
|
430
|
-
background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
|
|
431
|
-
border-color: rgba(239, 68, 68, 0.6);
|
|
432
|
-
transform: translateY(-1px);
|
|
433
|
-
}
|
|
434
|
-
`;var x=r(6190);let g=[{id:"anthropic",name:"Anthropic",displayName:"Claude",color:"#D97757",cliCommand:"claude"},{id:"codex",name:"OpenAI",displayName:"Codex",color:"#10A37F",cliCommand:"codex login",supportsDeviceFlow:!0,requiresUrlCopy:!0},{id:"google",name:"Google",displayName:"Gemini",color:"#4285F4",cliCommand:"gemini"},{id:"opencode",name:"OpenCode",displayName:"OpenCode",color:"#00D4AA",cliCommand:"opencode"},{id:"droid",name:"Factory",displayName:"Droid",color:"#6366F1",cliCommand:"droid"},{id:"cursor",name:"Cursor",displayName:"Cursor",color:"#7C3AED",cliCommand:"agent"}],u="true"===process.env.NEXT_PUBLIC_FORCE_CLOUD_MODE;function h(){let[e,t]=(0,s.useState)("loading"),[r,c]=(0,s.useState)([]),[p,m]=(0,s.useState)([]),[h,b]=(0,s.useState)(null),[f,w]=(0,s.useState)(void 0),[v,j]=(0,s.useState)(null),[y,N]=(0,s.useState)(u),[k,C]=(0,s.useState)(null),[S,P]=(0,s.useState)(null),[z,I]=(0,s.useState)([]),M=(0,s.useCallback)(e=>{if(!e.publicUrl){j("Workspace has no public URL"),t("error");return}b(e),t("connecting"),(0,l.hc)(e.id);let r=new URL(e.publicUrl),a="https:"===r.protocol?"wss:":"ws:";w(`${a}//${r.host}/ws`),t("connected")},[]),E=(0,s.useCallback)(async e=>{j(null);try{let r={"Content-Type":"application/json"};k&&(r["X-CSRF-Token"]=k);let a=await fetch("/api/workspaces/quick",{method:"POST",credentials:"include",headers:r,body:JSON.stringify({repositoryFullName:e})}),s=await a.json();if(!a.ok)throw Error(s.error||"Failed to create workspace");let n=Date.now();P({workspaceId:s.workspaceId,workspaceName:e.split("/")[1]||e,stage:null,startedAt:n}),t("provisioning");let i=async e=>{let r=0;for(;r<150;){let a=await fetch(`/api/workspaces/${e}/status`,{credentials:"include"}),s=await a.json();if(s.provisioning?.stage&&P(e=>e?{...e,stage:s.provisioning.stage}:null),"running"===s.status){let r=await fetch(`/api/workspaces/${e}`,{credentials:"include"}),a=await r.json();if(a.publicUrl){P(null),b(a),t("connect-provider");return}}else if("error"===s.status){let e=s.errorMessage||"Workspace provisioning failed";throw Error(e)}await new Promise(e=>setTimeout(e,2e3)),++r%15==0&&console.log(`[workspace] Still provisioning... (${Math.floor(2e3*r/1e3)}s elapsed)`)}throw Error("Workspace provisioning timed out after 5 minutes. Please try again or contact support.")};await i(s.workspaceId)}catch(e){console.error("Create workspace error:",e),P(null),j(e instanceof Error?e.message:"Failed to create workspace"),t("no-workspaces")}},[M,k]),$=(0,s.useCallback)(e=>{I(t=>[...new Set([...t,e])])},[]),A=(0,s.useCallback)(()=>{h&&M(h)},[h,M]),F=(0,s.useCallback)(async e=>{t("loading"),j(null);try{let t={};k&&(t["X-CSRF-Token"]=k);let r=await fetch(`/api/workspaces/${e.id}/restart`,{method:"POST",credentials:"include",headers:t});if(!r.ok){let e=await r.json();throw Error(e.error||"Failed to start workspace")}let a=0;for(;a<60;){let t=await fetch(`/api/workspaces/${e.id}/status`,{credentials:"include"}),r=await t.json();if("running"===r.status){let t=await fetch(`/api/workspaces/${e.id}`,{credentials:"include"}),r=await t.json();if(r.publicUrl){M({...e,...r});return}}await new Promise(e=>setTimeout(e,2e3)),a++}throw Error("Workspace start timed out")}catch(e){console.error("Start workspace error:",e),j(e instanceof Error?e.message:"Failed to start workspace"),t("select-workspace")}},[M,k]);return"loading"===e?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsxs)("svg",{className:"w-8 h-8 text-accent-cyan animate-spin mx-auto",fill:"none",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),a.jsx("p",{className:"mt-4 text-text-muted",children:"Loading..."})]})}):"local"===e?a.jsx(n.gV,{}):"connected"===e&&f?a.jsx(i.TI,{cloudMode:!0,children:a.jsx(n.gV,{wsUrl:f})}):"connecting"===e?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsxs)("svg",{className:"w-8 h-8 text-accent-cyan animate-spin mx-auto",fill:"none",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,a.jsxs)("p",{className:"mt-4 text-white font-medium",children:["Connecting to ",h?.name,"..."]}),a.jsx("p",{className:"mt-2 text-text-muted text-sm",children:h?.publicUrl})]})}):"provisioning"===e&&S?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex items-center justify-center",children:a.jsx("div",{className:"w-full max-w-xl",children:a.jsx(d,{isProvisioning:!0,currentStage:S.stage,workspaceName:S.workspaceName,error:v,onCancel:()=>{P(null),t("no-workspaces")}})})}):"error"===e?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"bg-bg-primary/80 backdrop-blur-sm border border-border-subtle rounded-2xl p-8 max-w-md w-full text-center",children:[a.jsx("div",{className:"w-16 h-16 mx-auto mb-4 bg-error/20 rounded-full flex items-center justify-center",children:a.jsx("svg",{className:"w-8 h-8 text-error",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),a.jsx("h2",{className:"text-xl font-semibold text-white mb-2",children:"Something went wrong"}),a.jsx("p",{className:"text-text-muted mb-6",children:v}),a.jsx("button",{onClick:()=>window.location.reload(),className:"w-full py-3 px-4 bg-bg-tertiary border border-border-subtle rounded-xl text-white font-medium hover:bg-bg-hover transition-colors",children:"Try Again"})]})}):"connect-provider"===e&&h?(0,a.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex flex-col items-center justify-center p-4",children:[a.jsx("div",{className:"fixed inset-0 opacity-10 pointer-events-none",children:a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`linear-gradient(rgba(0, 217, 255, 0.1) 1px, transparent 1px),
|
|
435
|
-
linear-gradient(90deg, rgba(0, 217, 255, 0.1) 1px, transparent 1px)`,backgroundSize:"50px 50px"}})}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-xl",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center mb-8",children:[a.jsx(o.K7,{size:48,withGlow:!0}),a.jsx("h1",{className:"mt-4 text-2xl font-bold text-white",children:"Connect AI Provider"}),(0,a.jsxs)("p",{className:"mt-2 text-text-muted text-center",children:["Your workspace ",a.jsx("span",{className:"text-white",children:h.name})," is ready!",a.jsx("br",{}),"Connect an AI provider to start using agents."]})]}),a.jsx(x.c,{providers:g,connectedProviders:z,workspaceId:h.id,csrfToken:k||void 0,onProviderConnected:$,onContinue:A,showDetailedInfo:!0})]})]}):(0,a.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex flex-col items-center justify-center p-4",children:[a.jsx("div",{className:"fixed inset-0 opacity-10 pointer-events-none",children:a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`linear-gradient(rgba(0, 217, 255, 0.1) 1px, transparent 1px),
|
|
436
|
-
linear-gradient(90deg, rgba(0, 217, 255, 0.1) 1px, transparent 1px)`,backgroundSize:"50px 50px"}})}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-2xl",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center mb-8",children:[a.jsx(o.K7,{size:48,withGlow:!0}),a.jsx("h1",{className:"mt-4 text-2xl font-bold text-white",children:"Agent Relay"}),a.jsx("p",{className:"mt-2 text-text-muted",children:"no-workspaces"===e?"Create a workspace to get started":"Select a workspace"})]}),v&&a.jsx("div",{className:"mb-4 p-4 bg-error/10 border border-error/20 rounded-xl",children:a.jsx("p",{className:"text-error",children:v})}),"select-workspace"===e&&r.length>0&&(0,a.jsxs)("div",{className:"bg-bg-primary/80 backdrop-blur-sm border border-border-subtle rounded-2xl p-6",children:[a.jsx("h2",{className:"text-lg font-semibold text-white mb-4",children:"Your Workspaces"}),a.jsx("div",{className:"space-y-3",children:r.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 bg-bg-tertiary rounded-xl border border-border-subtle hover:border-accent-cyan/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:`w-3 h-3 rounded-full ${"running"===e.status?"bg-success":"provisioning"===e.status?"bg-warning animate-pulse":"error"===e.status?"bg-error":"bg-gray-500"}`}),(0,a.jsxs)("div",{children:[a.jsx("h3",{className:"font-medium text-white",children:e.name}),a.jsx("p",{className:"text-sm text-text-muted",children:"running"===e.status?"Running":"provisioning"===e.status?"Starting...":"stopped"===e.status?"Stopped":"Error"})]})]}),a.jsx("div",{children:"running"===e.status&&e.publicUrl?a.jsx("button",{onClick:()=>M(e),className:"py-2 px-4 bg-gradient-to-r from-accent-cyan to-[#00b8d9] text-bg-deep font-semibold rounded-lg hover:shadow-glow-cyan transition-all",children:"Connect"}):"stopped"===e.status?a.jsx("button",{onClick:()=>F(e),className:"py-2 px-4 bg-bg-card border border-border-subtle rounded-lg text-white hover:border-accent-cyan/50 transition-colors",children:"Start"}):"provisioning"===e.status?a.jsx("span",{className:"text-text-muted text-sm",children:"Starting..."}):a.jsx("span",{className:"text-error text-sm",children:"Failed"})})]},e.id))}),p.length>0&&(0,a.jsxs)("div",{className:"mt-6 pt-6 border-t border-border-subtle",children:[a.jsx("p",{className:"text-text-muted text-sm mb-3",children:"Or create a new workspace:"}),a.jsx("div",{className:"flex gap-2 flex-wrap",children:p.slice(0,3).map(e=>(0,a.jsxs)("button",{onClick:()=>E(e.fullName),className:"py-2 px-3 bg-bg-card border border-border-subtle rounded-lg text-sm text-text-muted hover:text-white hover:border-accent-cyan/50 transition-colors",children:["+ ",e.fullName.split("/")[1]]},e.id))})]})]}),"no-workspaces"===e&&(0,a.jsxs)("div",{className:"bg-bg-primary/80 backdrop-blur-sm border border-border-subtle rounded-2xl p-6",children:[a.jsx("h2",{className:"text-lg font-semibold text-white mb-4",children:"Create Your First Workspace"}),a.jsx("p",{className:"text-text-muted mb-6",children:"Select a repository to create a workspace where agents can work on your code."}),p.length>0?a.jsx("div",{className:"space-y-3",children:p.map(e=>(0,a.jsxs)("button",{onClick:()=>E(e.fullName),className:"w-full flex items-center gap-3 p-4 bg-bg-tertiary rounded-xl border border-border-subtle hover:border-accent-cyan/50 transition-colors text-left",children:[a.jsx("svg",{className:"w-5 h-5 text-text-muted flex-shrink-0",fill:"currentColor",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8z"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[a.jsx("p",{className:"text-white font-medium truncate",children:e.fullName}),a.jsx("p",{className:"text-text-muted text-sm",children:e.isPrivate?"Private":"Public"})]}),a.jsx("svg",{className:"w-5 h-5 text-text-muted",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]},e.id))}):(0,a.jsxs)("div",{className:"text-center py-8",children:[a.jsx("p",{className:"text-text-muted mb-4",children:"No repositories connected yet."}),(0,a.jsxs)("a",{href:"/connect-repos",className:"inline-flex items-center gap-2 py-3 px-6 bg-gradient-to-r from-accent-cyan to-[#00b8d9] text-bg-deep font-semibold rounded-xl hover:shadow-glow-cyan transition-all",children:[a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"})}),"Connect GitHub"]})]})]}),(0,a.jsxs)("div",{className:"mt-6 flex justify-center gap-4 text-sm",children:[a.jsx("a",{href:"/connect-repos",className:"text-text-muted hover:text-white transition-colors",children:"Manage Repositories"}),a.jsx("span",{className:"text-text-muted",children:"\xb7"}),a.jsx("button",{onClick:async()=>{let e={};k&&(e["X-CSRF-Token"]=k),await fetch("/api/auth/logout",{method:"POST",credentials:"include",headers:e}),window.location.href="/login"},className:"text-text-muted hover:text-white transition-colors",children:"Sign Out"})]})]})]})}},2345:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a=(0,r(8570).createProxy)(String.raw`/home/runner/work/relay/relay/packages/dashboard/ui/app/app/page.tsx#default`)}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[948,471,621,90,251,684,680,205,71,190],()=>r(3572));module.exports=a})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/190.js","../../chunks/205.js","../../chunks/251.js","../../chunks/471.js","../../chunks/621.js","../../chunks/680.js","../../chunks/684.js","../../chunks/71.js","../../chunks/90.js","../../chunks/948.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/app/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"3330":{"*":{"id":"3094","name":"*","chunks":[],"async":false}},"4011":{"*":{"id":"9213","name":"*","chunks":[],"async":false}},"4665":{"*":{"id":"7722","name":"*","chunks":[],"async":false}},"4676":{"*":{"id":"3787","name":"*","chunks":[],"async":false}},"4680":{"*":{"id":"1249","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"5804":{"*":{"id":"1343","name":"*","chunks":[],"async":false}},"5844":{"*":{"id":"5100","name":"*","chunks":[],"async":false}},"6374":{"*":{"id":"1442","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"7340":{"*":{"id":"8743","name":"*","chunks":[],"async":false}},"8615":{"*":{"id":"3947","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9197":{"*":{"id":"153","name":"*","chunks":[],"async":false}},"9992":{"*":{"id":"8687","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/globals.css":{"id":7960,"name":"*","chunks":["185","static/chunks/app/layout-6b91e33784c20610.js"],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/app/onboarding/page.tsx":{"id":4011,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/app/page.tsx":{"id":3330,"name":"*","chunks":["30","static/chunks/e868780c-48e5f147c90a3a41.js","532","static/chunks/532-bace199897eeab37.js","116","static/chunks/116-a883fca163f3a5bc.js","891","static/chunks/891-5cb1513eeb97a891.js","83","static/chunks/83-4f08122d4e7e79a6.js","677","static/chunks/677-30e60cb0b47875b6.js","631","static/chunks/631-af51bad94027527a.js","191","static/chunks/app/app/page-44813aa26ad19681.js"],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/cloud/link/page.tsx":{"id":4680,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/connect-repos/page.tsx":{"id":9992,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/history/page.tsx":{"id":8615,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/login/page.tsx":{"id":6374,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/page.tsx":{"id":7340,"name":"*","chunks":["30","static/chunks/e868780c-48e5f147c90a3a41.js","532","static/chunks/532-bace199897eeab37.js","116","static/chunks/116-a883fca163f3a5bc.js","891","static/chunks/891-5cb1513eeb97a891.js","83","static/chunks/83-4f08122d4e7e79a6.js","677","static/chunks/677-30e60cb0b47875b6.js","766","static/chunks/766-2aea80818f7eb0d8.js","931","static/chunks/app/page-7993778218818ace.js"],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/metrics/page.tsx":{"id":5804,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/pricing/page.tsx":{"id":4676,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/providers/page.tsx":{"id":9197,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/signup/page.tsx":{"id":4665,"name":"*","chunks":[],"async":false},"/home/runner/work/relay/relay/packages/dashboard/ui/app/providers/setup/[provider]/ProviderSetupClient.tsx":{"id":5844,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/relay/relay/packages/dashboard/ui/":[],"/home/runner/work/relay/relay/packages/dashboard/ui/app/layout":["static/css/99c2552394077586.css"],"/home/runner/work/relay/relay/packages/dashboard/ui/app/page":["static/css/4034f236dd1a3178.css"],"/home/runner/work/relay/relay/packages/dashboard/ui/app/app/page":[]}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c2552394077586.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-1cdd8ed57114d5e1.js"/><script src="/_next/static/chunks/fd9d1056-609918ca7b6280bb.js" async=""></script><script src="/_next/static/chunks/117-c8afed19e821a35d.js" async=""></script><script src="/_next/static/chunks/main-app-fdbeb09028f57c9f.js" async=""></script><script src="/_next/static/chunks/e868780c-48e5f147c90a3a41.js" async=""></script><script src="/_next/static/chunks/532-bace199897eeab37.js" async=""></script><script src="/_next/static/chunks/116-a883fca163f3a5bc.js" async=""></script><script src="/_next/static/chunks/891-5cb1513eeb97a891.js" async=""></script><script src="/_next/static/chunks/83-4f08122d4e7e79a6.js" async=""></script><script src="/_next/static/chunks/677-30e60cb0b47875b6.js" async=""></script><script src="/_next/static/chunks/631-af51bad94027527a.js" async=""></script><script src="/_next/static/chunks/app/app/page-44813aa26ad19681.js" async=""></script><title>Agent Relay Dashboard</title><meta name="description" content="Fleet control dashboard for Agent Relay"/><link rel="apple-touch-icon" href="/apple-icon.png?9e7a840704165ca6" type="image/png" sizes="256x256"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div class="min-h-screen bg-gradient-to-br from-[#0a0a0f] via-[#0d1117] to-[#0a0a0f] flex items-center justify-center"><div class="text-center"><svg class="w-8 h-8 text-accent-cyan animate-spin mx-auto" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg><p class="mt-4 text-text-muted">Loading...</p></div></div><script src="/_next/static/chunks/webpack-1cdd8ed57114d5e1.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/99c2552394077586.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[9107,[],\"ClientPageRoot\"]\n5:I[3330,[\"30\",\"static/chunks/e868780c-48e5f147c90a3a41.js\",\"532\",\"static/chunks/532-bace199897eeab37.js\",\"116\",\"static/chunks/116-a883fca163f3a5bc.js\",\"891\",\"static/chunks/891-5cb1513eeb97a891.js\",\"83\",\"static/chunks/83-4f08122d4e7e79a6.js\",\"677\",\"static/chunks/677-30e60cb0b47875b6.js\",\"631\",\"static/chunks/631-af51bad94027527a.js\",\"191\",\"static/chunks/app/app/page-44813aa26ad19681.js\"],\"default\",1]\n6:I[4707,[],\"\"]\n7:I[6423,[],\"\"]\n9:I[1060,[],\"\"]\na:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"HR7W9z1PPVPFqUboUVZFZ\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"app\"],\"initialTree\":[\"\",{\"children\":[\"app\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"app\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"app\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c2552394077586.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L8\"],\"globalErrorComponent\":\"$9\",\"missingSlots\":\"$Wa\"}]\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Agent Relay Dashboard\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Fleet control dashboard for Agent Relay\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?9e7a840704165ca6\",\"type\":\"image/png\",\"sizes\":\"256x256\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
2:I[9107,[],"ClientPageRoot"]
|
|
2
|
-
3:I[3330,["30","static/chunks/e868780c-48e5f147c90a3a41.js","532","static/chunks/532-bace199897eeab37.js","116","static/chunks/116-a883fca163f3a5bc.js","891","static/chunks/891-5cb1513eeb97a891.js","83","static/chunks/83-4f08122d4e7e79a6.js","677","static/chunks/677-30e60cb0b47875b6.js","631","static/chunks/631-af51bad94027527a.js","191","static/chunks/app/app/page-44813aa26ad19681.js"],"default",1]
|
|
3
|
-
4:I[4707,[],""]
|
|
4
|
-
5:I[6423,[],""]
|
|
5
|
-
0:["HR7W9z1PPVPFqUboUVZFZ",[[["",{"children":["app",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["app",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","app","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c2552394077586.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]],null],null],["$L6",null]]]]
|
|
6
|
-
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Agent Relay Dashboard"}],["$","meta","3",{"name":"description","content":"Fleet control dashboard for Agent Relay"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-icon.png?9e7a840704165ca6","type":"image/png","sizes":"256x256"}]]
|
|
7
|
-
1:null
|