af360 0.1.14 → 0.1.16
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/dist/.next/BUILD_ID +1 -1
- package/dist/.next/app-build-manifest.json +139 -130
- package/dist/.next/app-path-routes-manifest.json +17 -17
- package/dist/.next/build-manifest.json +5 -5
- package/dist/.next/prerender-manifest.json +45 -45
- package/dist/.next/server/app/_not-found/page.js +2 -2
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.meta +8 -0
- package/dist/.next/server/app/_not-found.rsc +4 -4
- package/dist/.next/server/app/ahead/page.js +2 -2
- package/dist/.next/server/app/ahead/page.js.nft.json +1 -1
- package/dist/.next/server/app/ahead/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/ahead.html +1 -1
- package/dist/.next/server/app/ahead.meta +8 -0
- package/dist/.next/server/app/ahead.rsc +5 -5
- package/dist/.next/server/app/api/browse/route.js +1 -1
- package/dist/.next/server/app/api/browse/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/browse/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/card/route.js +1 -1
- package/dist/.next/server/app/api/card/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/card/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/check/route.js +1 -1
- package/dist/.next/server/app/api/check/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/check/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/config/route.js +1 -1
- package/dist/.next/server/app/api/config/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/config/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/connections/route.js +3 -3
- package/dist/.next/server/app/api/connections/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/connections/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/connectors/github/route.js +1 -1
- package/dist/.next/server/app/api/connectors/github/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/connectors/github/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/consent/route.js +1 -1
- package/dist/.next/server/app/api/consent/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/consent/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/context/route.js +3 -3
- package/dist/.next/server/app/api/context/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/context/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/discover/route.js +1 -1
- package/dist/.next/server/app/api/discover/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/discover/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/expiry/route.js +1 -1
- package/dist/.next/server/app/api/expiry/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/expiry/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/first-light/route.js +1 -1
- package/dist/.next/server/app/api/first-light/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/first-light/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/handoff/route.js +1 -1
- package/dist/.next/server/app/api/handoff/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/handoff/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/health/route.js +1 -1
- package/dist/.next/server/app/api/health/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/incidents/route.js +1 -1
- package/dist/.next/server/app/api/incidents/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/incidents/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/insights/route.js +1 -1
- package/dist/.next/server/app/api/insights/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/insights/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/log/route.js +1 -1
- package/dist/.next/server/app/api/log/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/log/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/pulse/route.js +1 -1
- package/dist/.next/server/app/api/pulse/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/pulse/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/radar/route.js +1 -1
- package/dist/.next/server/app/api/radar/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/radar/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/report/route.js +1 -1
- package/dist/.next/server/app/api/report/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/report/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/services/route.js +1 -1
- package/dist/.next/server/app/api/services/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/services/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/status/route.js +1 -1
- package/dist/.next/server/app/api/status/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/status/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/connections/page.js +2 -2
- package/dist/.next/server/app/connections/page.js.nft.json +1 -1
- package/dist/.next/server/app/connections/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/connections.html +1 -1
- package/dist/.next/server/app/connections.meta +8 -0
- package/dist/.next/server/app/connections.rsc +5 -5
- package/dist/.next/server/app/dashboard/page.js +2 -2
- package/dist/.next/server/app/dashboard/page.js.nft.json +1 -1
- package/dist/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/dashboard.html +1 -1
- package/dist/.next/server/app/dashboard.meta +8 -0
- package/dist/.next/server/app/dashboard.rsc +4 -4
- package/dist/.next/server/app/discoveries/page.js +2 -2
- package/dist/.next/server/app/discoveries/page.js.nft.json +1 -1
- package/dist/.next/server/app/discoveries/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/discoveries.html +1 -1
- package/dist/.next/server/app/discoveries.meta +8 -0
- package/dist/.next/server/app/discoveries.rsc +5 -5
- package/dist/.next/server/app/expiry/page.js +2 -2
- package/dist/.next/server/app/expiry/page.js.nft.json +1 -1
- package/dist/.next/server/app/expiry/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/expiry.html +1 -1
- package/dist/.next/server/app/expiry.meta +8 -0
- package/dist/.next/server/app/expiry.rsc +4 -4
- package/dist/.next/server/app/fleet/page.js +2 -2
- package/dist/.next/server/app/fleet/page.js.nft.json +1 -1
- package/dist/.next/server/app/fleet/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/fleet.html +1 -1
- package/dist/.next/server/app/fleet.meta +8 -0
- package/dist/.next/server/app/fleet.rsc +4 -4
- package/dist/.next/server/app/home/page.js +2 -2
- package/dist/.next/server/app/home/page.js.nft.json +1 -1
- package/dist/.next/server/app/home/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/home.html +1 -1
- package/dist/.next/server/app/home.meta +8 -0
- package/dist/.next/server/app/home.rsc +4 -4
- package/dist/.next/server/app/legal/privacy/page.js +2 -2
- package/dist/.next/server/app/legal/privacy/page.js.nft.json +1 -1
- package/dist/.next/server/app/legal/privacy/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/legal/terms/page.js +2 -2
- package/dist/.next/server/app/legal/terms/page.js.nft.json +1 -1
- package/dist/.next/server/app/legal/terms/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/log/page.js +2 -2
- package/dist/.next/server/app/log/page.js.nft.json +1 -1
- package/dist/.next/server/app/log/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/log.html +1 -1
- package/dist/.next/server/app/log.meta +8 -0
- package/dist/.next/server/app/log.rsc +5 -5
- package/dist/.next/server/app/page.js +2 -2
- package/dist/.next/server/app/page.js.nft.json +1 -1
- package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/projects/page.js +2 -2
- package/dist/.next/server/app/projects/page.js.nft.json +1 -1
- package/dist/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/projects.html +1 -1
- package/dist/.next/server/app/projects.meta +8 -0
- package/dist/.next/server/app/projects.rsc +5 -5
- package/dist/.next/server/app/radar/page.js +2 -65
- package/dist/.next/server/app/radar/page.js.nft.json +1 -1
- package/dist/.next/server/app/radar/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/radar.html +1 -1
- package/dist/.next/server/app/radar.meta +8 -0
- package/dist/.next/server/app/radar.rsc +5 -5
- package/dist/.next/server/app/report/page.js +2 -2
- package/dist/.next/server/app/report/page.js.nft.json +1 -1
- package/dist/.next/server/app/report/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/report.html +1 -1
- package/dist/.next/server/app/report.meta +8 -0
- package/dist/.next/server/app/report.rsc +5 -5
- package/dist/.next/server/app/settings/page.js +2 -2
- package/dist/.next/server/app/settings/page.js.nft.json +1 -1
- package/dist/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/settings.html +1 -1
- package/dist/.next/server/app/settings.meta +8 -0
- package/dist/.next/server/app/settings.rsc +5 -5
- package/dist/.next/server/app/sites/page.js +2 -2
- package/dist/.next/server/app/sites/page.js.nft.json +1 -1
- package/dist/.next/server/app/sites/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/sites.html +1 -1
- package/dist/.next/server/app/sites.meta +8 -0
- package/dist/.next/server/app/sites.rsc +5 -5
- package/dist/.next/server/app/welcome/page.js +2 -2
- package/dist/.next/server/app/welcome/page.js.nft.json +1 -1
- package/dist/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/welcome.html +1 -1
- package/dist/.next/server/app/welcome.meta +8 -0
- package/dist/.next/server/app/welcome.rsc +5 -5
- package/dist/.next/server/app-paths-manifest.json +17 -17
- package/dist/.next/server/chunks/1155.js +1 -1
- package/dist/.next/server/chunks/1232.js +1 -0
- package/dist/.next/server/chunks/2346.js +1 -1
- package/dist/.next/server/chunks/2465.js +64 -1
- package/dist/.next/server/chunks/2817.js +1 -1
- package/dist/.next/server/chunks/3897.js +22 -0
- package/dist/.next/server/chunks/4134.js +1 -1
- package/dist/.next/server/chunks/5277.js +1 -0
- package/dist/.next/server/chunks/5611.js +1 -1
- package/dist/.next/server/chunks/572.js +1 -1
- package/dist/.next/server/chunks/6992.js +1 -1
- package/dist/.next/server/chunks/7511.js +1 -1
- package/dist/.next/server/chunks/7719.js +1 -1
- package/dist/.next/server/chunks/8150.js +1 -1
- package/dist/.next/server/chunks/8549.js +1 -1
- package/dist/.next/server/chunks/876.js +1 -1
- package/dist/.next/server/chunks/9170.js +1 -1
- package/dist/.next/server/chunks/9655.js +11 -0
- package/dist/.next/server/middleware-build-manifest.js +1 -1
- package/dist/.next/server/middleware-manifest.json +5 -5
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/pages/_document.js.nft.json +1 -1
- package/dist/.next/server/pages/_error.js +3 -3
- package/dist/.next/server/pages/_error.js.nft.json +1 -1
- package/dist/.next/server/pages-manifest.json +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/chunks/1255-5cd2fe06309409a0.js +1 -0
- package/dist/.next/static/chunks/2619-3c9e02e22d10480a.js +1 -0
- package/dist/.next/static/chunks/3192-7e153722ff079fc6.js +1 -0
- package/dist/.next/static/chunks/5623-53fb7cea5de0afef.js +1 -0
- package/dist/.next/static/chunks/7897-52f8a153c1970ef0.js +1 -0
- package/dist/.next/static/chunks/8050-6c17ccfd85ac3208.js +1 -0
- package/dist/.next/static/chunks/app/ahead/page-f5789a03967af6e1.js +1 -0
- package/dist/.next/static/chunks/app/connections/page-5b833f9485623b92.js +1 -0
- package/dist/.next/static/chunks/app/discoveries/{page-52696e6ee0c8d3d5.js → page-337bb60e4cbdcebb.js} +1 -1
- package/dist/.next/static/chunks/app/{error-37987420de14c10c.js → error-b32d8c6d4bfa070e.js} +1 -1
- package/dist/.next/static/chunks/app/{layout-d14e087b541b48b1.js → layout-0f3f0098b5d1e6be.js} +1 -1
- package/dist/.next/static/chunks/app/log/page-1711fe02581c58e8.js +1 -0
- package/dist/.next/static/chunks/app/projects/page-b05c7b0c3284db79.js +1 -0
- package/dist/.next/static/chunks/app/radar/page-2c972e78ae153706.js +1 -0
- package/dist/.next/static/chunks/app/report/page-6bd98ca320f3730c.js +1 -0
- package/dist/.next/static/chunks/app/settings/{page-a38c457b7c57567b.js → page-d50e8193d000c9be.js} +1 -1
- package/dist/.next/static/chunks/app/sites/page-80cc0a08ae2339a8.js +1 -0
- package/dist/.next/static/chunks/app/welcome/{page-d26225bed7e1ad39.js → page-f2cd15c4b50942bc.js} +1 -1
- package/dist/.next/static/chunks/main-8e42304858de4a63.js +1 -0
- package/dist/.next/static/css/5ddef273a3ac3217.css +1 -0
- package/dist/.next/static/css/fbb4cf81dde34731.css +1 -0
- package/dist/build-id.json +228 -228
- package/dist/node_modules/@next/env/package.json +1 -1
- package/dist/node_modules/next/dist/build/swc/index.js +1 -1
- package/dist/node_modules/next/dist/build/webpack-config.js +2 -2
- package/dist/node_modules/next/dist/compiled/hash.js/sha256/256.js +1 -0
- package/dist/node_modules/next/dist/compiled/hash.js/sha256/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +13 -13
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +13 -13
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +10 -10
- package/dist/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +11 -11
- package/dist/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/dist/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +9 -9
- package/dist/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +8 -8
- package/dist/node_modules/next/dist/lib/has-necessary-dependencies.js +2 -0
- package/dist/node_modules/next/dist/lib/verify-typescript-setup.js +19 -0
- package/dist/node_modules/next/dist/server/base-server.js +2 -5
- package/dist/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/node_modules/next/dist/server/image-optimizer.js +65 -2
- package/dist/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/dist/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +197 -23
- package/dist/node_modules/next/dist/server/lib/incremental-cache/index.js +36 -17
- package/dist/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +3 -3
- package/dist/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +14 -6
- package/dist/node_modules/next/dist/server/lib/match-next-data-pathname.js +3 -1
- package/dist/node_modules/next/dist/server/lib/node-fs-methods.js +14 -0
- package/dist/node_modules/next/dist/server/lib/route-cache-key.js +77 -0
- package/dist/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/dist/node_modules/next/dist/server/next-server.js +8 -6
- package/dist/node_modules/next/dist/server/response-cache/index.js +31 -15
- package/dist/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +2 -2
- package/dist/node_modules/next/dist/server/route-modules/pages/pages-handler.js +6 -1
- package/dist/node_modules/next/dist/server/route-modules/route-module.js +9 -2
- package/dist/node_modules/next/dist/shared/lib/canary-only.js +1 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +17 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +1 -1
- package/dist/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/dist/node_modules/next/package.json +11 -11
- package/dist/node_modules/source-map-js/lib/quick-sort.js +10 -1
- package/dist/node_modules/source-map-js/lib/source-map-consumer.js +51 -3
- package/dist/node_modules/source-map-js/lib/source-map-generator.js +6 -4
- package/dist/node_modules/source-map-js/lib/source-node.js +7 -0
- package/dist/node_modules/source-map-js/package.json +1 -1
- package/dist/package.json +3 -3
- package/dist/shell/bin/af360-bridge.exe +0 -0
- package/docs/legal/PRIVACY.md +1 -1
- package/lib/mask.mjs +21 -1
- package/package.json +3 -3
- package/scripts/mcp-server.mjs +19 -9
- package/shell/bin/af360-bridge.exe +0 -0
- package/dist/.next/server/chunks/1331.js +0 -22
- package/dist/.next/server/chunks/6584.js +0 -1
- package/dist/.next/server/chunks/8134.js +0 -11
- package/dist/.next/server/chunks/9946.js +0 -1
- package/dist/.next/static/chunks/1255-612df69cb02f2021.js +0 -1
- package/dist/.next/static/chunks/1681-b233404f9ec2fc2e.js +0 -1
- package/dist/.next/static/chunks/2036-e29441d605c493a4.js +0 -1
- package/dist/.next/static/chunks/3192-6b341d547a49fa85.js +0 -1
- package/dist/.next/static/chunks/5623-ec4f1a6f7695d8d1.js +0 -1
- package/dist/.next/static/chunks/7897-6e6c509aea495560.js +0 -1
- package/dist/.next/static/chunks/app/ahead/page-e72bed448dd40bd5.js +0 -1
- package/dist/.next/static/chunks/app/connections/page-5d6cae02e6f2b49a.js +0 -1
- package/dist/.next/static/chunks/app/log/page-45b4cfd8f1a29d09.js +0 -1
- package/dist/.next/static/chunks/app/projects/page-75a41d4a90675d93.js +0 -1
- package/dist/.next/static/chunks/app/radar/page-4b4aad549dffcd3a.js +0 -1
- package/dist/.next/static/chunks/app/report/page-145496e8f0d5bc86.js +0 -1
- package/dist/.next/static/chunks/app/sites/page-96a7dcf3c1e9aa19.js +0 -1
- package/dist/.next/static/chunks/main-6828c74376f2b965.js +0 -1
- package/dist/.next/static/css/94d302c686de7e23.css +0 -1
- package/dist/.next/static/css/9b639a814d15c5ff.css +0 -1
- /package/dist/.next/static/{0b943e6aa8d5ffe860588 → be31a391928486d5659f1}/_buildManifest.js +0 -0
- /package/dist/.next/static/{0b943e6aa8d5ffe860588 → be31a391928486d5659f1}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../shell/bin/af360-bridge.exe","../../../../package.json","../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/route-kind.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../shell/bin/af360-bridge.exe","../../../../package.json","../../../chunks/1232.js","../../../chunks/3897.js","../../../chunks/4134.js","../../../chunks/5277.js","../../../chunks/572.js","../../../chunks/641.js","../../../chunks/6988.js","../../../chunks/6992.js","../../../chunks/6995.js","../../../chunks/7719.js","../../../chunks/8150.js","../../../chunks/9170.js","../../../chunks/9986.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/config/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/config/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"148":{"*":{"id":"82070","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"43661","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"61226","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"60997","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"86940","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"38489","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"34125","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"60357","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"16896","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"23726","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"45614","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"77731","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\globals.css":{"id":1290,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Bricolage_Grotesque\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"600\",\"700\",\"800\"],\"variable\":\"--font-display\"}],\"variableName\":\"display\"}":{"id":2744,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-ui\"}],\"variableName\":\"ui\"}":{"id":1219,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"IBM_Plex_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"400\",\"500\"],\"variable\":\"--font-mono\"}],\"variableName\":\"mono\"}":{"id":8036,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Noto_Sans_Arabic\",\"arguments\":[{\"subsets\":[\"arabic\"],\"weight\":[\"400\",\"500\",\"600\",\"700\"],\"variable\":\"--font-arabic\"}],\"variableName\":\"arabic\"}":{"id":974,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\app\\error.tsx":{"id":9567,"name":"*","chunks":["2619","static/chunks/2619-3c9e02e22d10480a.js","3192","static/chunks/3192-7e153722ff079fc6.js","8050","static/chunks/8050-6c17ccfd85ac3208.js","8039","static/chunks/app/error-b32d8c6d4bfa070e.js"],"async":false},"C:\\dev\\af360\\app\\ahead\\page.tsx":{"id":9540,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\discoveries\\page.tsx":{"id":1163,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\connections\\page.tsx":{"id":148,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\projects\\page.tsx":{"id":5657,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\log\\page.tsx":{"id":7843,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\sites\\page.tsx":{"id":4421,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\report\\page.tsx":{"id":3123,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\welcome\\page.tsx":{"id":5300,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\components\\Brand.tsx":{"id":7861,"name":"*","chunks":["8974","static/chunks/app/page-7bac6c467f34186e.js"],"async":false},"C:\\dev\\af360\\app\\settings\\page.tsx":{"id":2802,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\radar\\page.tsx":{"id":9151,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"C:\\dev\\af360\\":[],"C:\\dev\\af360\\app\\layout":[{"inlined":false,"path":"static/css/fbb4cf81dde34731.css"},{"inlined":false,"path":"static/css/5ddef273a3ac3217.css"}],"C:\\dev\\af360\\app\\error":[],"C:\\dev\\af360\\app\\page":[],"C:\\dev\\af360\\app\\api\\config\\route":[]},"rscModuleMapping":{"148":{"*":{"id":"25332","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"18071","name":"*","chunks":[],"async":false}},"1290":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"45144","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"31671","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"92417","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"17325","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"35743","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"69127","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"76417","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"79853","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"52980","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"41697","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=8405,a.ids=[8405],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94907:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>
|
|
1
|
+
"use strict";(()=>{var a={};a.id=8405,a.ids=[8405],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94907:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>au,patchFetch:()=>at,routeModule:()=>ap,serverHooks:()=>as,workAsyncStorage:()=>aq,workUnitAsyncStorage:()=>ar});var d={};c.r(d),c.d(d,{GET:()=>ak,POST:()=>an,dynamic:()=>aj});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(29021),x=c(33873),y=c(21820),z=c(55511);let A="af360",B=".af360-backup",C=[{id:"claude-code",label:"Claude Code",serversKey:"mcpServers",stdioType:!1,paths:a=>({config:x.join(a.home,".claude.json"),evidence:[x.join(a.home,".claude.json"),x.join(a.home,".claude")]})},{id:"claude-desktop",label:"Claude Desktop",serversKey:"mcpServers",stdioType:!1,paths:a=>{let b="win32"===a.platform?x.join(a.appData,"Claude"):"darwin"===a.platform?x.join(a.home,"Library","Application Support","Claude"):x.join(a.home,".config","Claude");return{config:x.join(b,"claude_desktop_config.json"),evidence:[b]}}},{id:"cursor",label:"Cursor",serversKey:"mcpServers",stdioType:!1,paths:a=>({config:x.join(a.home,".cursor","mcp.json"),evidence:[x.join(a.home,".cursor")]})},{id:"vscode",label:"VS Code",serversKey:"servers",stdioType:!0,paths:a=>{let b="win32"===a.platform?x.join(a.appData,"Code","User"):"darwin"===a.platform?x.join(a.home,"Library","Application Support","Code","User"):x.join(a.home,".config","Code","User");return{config:x.join(b,"mcp.json"),evidence:[b]}}}],D=C.map(a=>({id:a.id,label:a.label}));function E(a={}){return{home:a.home??y.homedir(),appData:a.appData??process.env.APPDATA??x.join(a.home??y.homedir(),"AppData","Roaming"),platform:a.platform??process.platform,localAppData:a.localAppData??process.env.LOCALAPPDATA??null,packaged:a.packaged??("1"===process.env.AF360_PACKAGED||"0"!==process.env.AF360_PACKAGED&&null)}}class F extends Error{}function G(a){let b=0,c=()=>{for(;;){for(;b<a.length&&/[\s]/.test(a[b]);)b++;if("/"===a[b]&&"/"===a[b+1]){for(;b<a.length&&"\n"!==a[b];)b++;continue}if("/"===a[b]&&"*"===a[b+1]){let c=a.indexOf("*/",b+2);if(-1===c)throw new F("an unclosed /* comment");b=c+2;continue}return}},d=c=>{let d=a.slice(0,b).split("\n").length;throw new F(`${c} at line ${d}`)};function e(){'"'!==a[b]&&d("expected a quoted name");let c=b;b++;let e="";for(;b<a.length;){let f=a[b];if("\\"===f){let c=a[b+1];if(void 0===c&&d("a string ended mid-escape"),"u"===c){let c=a.slice(b+2,b+6);/^[0-9a-fA-F]{4}$/.test(c)||d("a bad \\u escape"),e+=String.fromCharCode(parseInt(c,16)),b+=6;continue}let f={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};c in f||d("an unknown escape"),e+=f[c],b+=2;continue}if('"'===f)return{kind:"string",value:e,start:c,end:++b};"\n"===f&&d("a string ran past the end of its line"),e+=f,b++}d("a string with no closing quote")}c();let f=function f(){c();let g=a[b];if(void 0===g&&d("the file ended where a value was expected"),'"'===g)return e();if("{"===g)return function(){let g=b;b++;let h=[];if(c(),"}"===a[b])return{kind:"object",members:h,start:g,end:++b};for(;;){if(c(),"}"===a[b])return{kind:"object",members:h,start:g,end:++b};let i=b,j=e();c(),":"!==a[b]&&d("expected a colon after a name"),b++;let k=f();if(h.push({key:j.value,keyStart:j.start,keyEnd:j.end,value:k,start:i,end:k.end}),c(),","===a[b]){b++;continue}if("}"===a[b])return{kind:"object",members:h,start:g,end:++b};d("expected a comma or a closing brace")}}();if("["===g){let e=b;b++;let g=[];if(c(),"]"===a[b])return{kind:"array",items:g,start:e,end:++b};for(;;){if(c(),"]"===a[b])return{kind:"array",items:g,start:e,end:++b};if(g.push(f()),c(),","===a[b]){b++;continue}if("]"===a[b])return{kind:"array",items:g,start:e,end:++b};d("expected a comma or a closing bracket")}return}if(a.startsWith("true",b))return{kind:"boolean",value:!0,start:b,end:b+=4};if(a.startsWith("false",b))return{kind:"boolean",value:!1,start:b,end:b+=5};if(a.startsWith("null",b))return{kind:"null",value:null,start:b,end:b+=4};let h=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/.exec(a.slice(b));if(h){let a=b;return b+=h[0].length,{kind:"number",value:Number(h[0]),start:a,end:b}}d("something that is not a JSON value")}();return c(),b!==a.length&&d("unexpected text after the end of the document"),f}function H(a,b){let c=null;for(let d of a.members)d.key===b&&(c=d);return c}function I(a,b){let c=b;for(;c>0&&"\n"!==a[c-1];)c--;let d=/^[ \t]*/.exec(a.slice(c,b));return d?d[0]:""}function J(a,b,c,d,e){let f=JSON.stringify(a,null," "===c?" ":c.length).split("\n").join(e+d);return`${JSON.stringify(b)}: ${f}`}function K(a,b,c,d){let e=a.slice(0,b)+d+a.slice(b+c);if(e.slice(0,b)!==a.slice(0,b))throw new F("internal: the text before the edit moved");if(e.slice(b+d.length)!==a.slice(b+c))throw new F("internal: the text after the edit moved");return{after:e,at:b,removeLen:c,insertLen:d.length}}function L(a,{serversKey:b,entry:c,name:d=A,repoint:e=!1}){if(null===a)return{kind:"create",before:"",...K("",0,0,`{
|
|
2
2
|
${JSON.stringify(b)}: {
|
|
3
|
-
${
|
|
3
|
+
${J(c,d," "," ","\n")}
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
|
-
`)};let f=F(a);if("object"!==f.kind)throw new E("the file's top level is not an object");let g=a.includes("\r\n")?"\r\n":"\n",h=function(a){let b=/\n([ \t]+)\S/.exec(a);return b?b[1].includes(" ")?" ":" ".repeat(Math.min(b[1].length,8)):" "}(a),i=G(f,b);if(i){if("object"!==i.value.kind)throw new E(`"${b}" is not an object`);let f=i.value,j=G(f,d);if(j&&!e)return{kind:"already",before:a};if(j){let b=I(c,d,h,H(a,j.start),g);return{kind:"repoint",before:a,...J(a,j.start,j.end-j.start,b)}}let k=f.members.length>0?H(a,f.members[0].start):H(a,i.start)+h,l=I(c,d,h,k,g);if(0===f.members.length){let b=H(a,i.start),c=a.slice(f.start+1,f.end-1);return""===c.trim()?{kind:"insert",before:a,...J(a,f.start+1,c.length,`${g}${k}${l}${g}${b}`)}:{kind:"insert",before:a,...J(a,f.start+1,0,`${g}${k}${l}`)}}let m=f.members[f.members.length-1],n=a.slice(m.end,f.end-1).indexOf(",");return -1!==n?{kind:"insert",before:a,...J(a,m.end+n+1,0,`${g}${k}${l},`)}:{kind:"insert",before:a,...J(a,m.end,0,`,${g}${k}${l}`)}}let j=H(a,f.start)+h,k=j+h,l=`${JSON.stringify(b)}: {${g}${k}${I(c,d,h,k,g)}${g}${j}}`;if(0===f.members.length)return{kind:"insert",before:a,...J(a,f.start+1,0,`${g}${j}${l}${g}`)};let m=f.members[f.members.length-1],n=a.slice(m.end,f.end-1).indexOf(",");return -1!==n?{kind:"insert",before:a,...J(a,m.end+n+1,0,`${g}${j}${l},`)}:{kind:"insert",before:a,...J(a,m.end,0,`,${g}${j}${l}`)}}function L(a,{serversKey:b,name:c=z}){let d=F(a);if("object"!==d.kind)throw new E("the file's top level is not an object");let e=G(d,b);if(!e||"object"!==e.value.kind)return{kind:"absent",before:a};let f=e.value,g=f.members.findIndex(a=>a.key===c);if(-1===g)return{kind:"absent",before:a};let h=f.members[g];if(1===f.members.length&&""===(a.slice(f.start+1,h.start)+a.slice(h.end,f.end-1)).trim()){let b=f.start+1;return{kind:"remove",before:a,...J(a,b,f.end-1-b,"")}}let i=h.start,j=h.end;if(g<f.members.length-1){let b=j;for(;b<a.length&&/\s/.test(a[b]);)b++;","===a[b]&&(j=b+1);let c=i;for(;c>0&&"\n"!==a[c-1];)c--;/^[ \t]*$/.test(a.slice(c,i))&&(i=c);let d=j;for(;d<a.length&&"\n"!==a[d];)d++;/^[ \t\r]*$/.test(a.slice(j,d))&&(j=d<a.length?d+1:d)}else if(g>0){let b=f.members[g-1],c=a.indexOf(",",b.end);-1!==c&&c<h.start&&(i=c)}return{kind:"remove",before:a,...J(a,i,j-i,"")}}function M(a,b){return(0,y.createHash)("sha256").update(a).update("\0").update(b.before??"").update("\0").update(b.after).digest("hex").slice(0,32)}async function N(a){let b;try{b=await v.promises.lstat(a)}catch(a){if(a&&"ENOENT"===a.code)return{state:"missing",text:null};return{state:"unreadable",text:null,reason:O(a)}}if(b.isSymbolicLink())return{state:"unreadable",text:null,reason:"it is a symbolic link, and af360 does not write through links"};if(!b.isFile())return{state:"unreadable",text:null,reason:"it is not a regular file"};if(b.size>0x1000000)return{state:"unreadable",text:null,reason:`it is larger than ${Math.round(16)} MB`};try{return{state:"present",text:await v.promises.readFile(a,"utf8")}}catch(a){return{state:"unreadable",text:null,reason:O(a)}}}function O(a){let b=a&&a.code;return"EACCES"===b||"EPERM"===b?"af360 is not allowed to open it":"EISDIR"===b?"it is a folder, not a file":"af360 could not open it"}async function P(a,b){let{config:c,evidence:d}=a.paths(b);for(let a of d)try{return await v.promises.stat(a),{installed:!0,evidencePath:a,configPath:c}}catch{}return{installed:!1,evidencePath:null,configPath:c}}async function Q(a,b){let c=a+A;try{return await v.promises.writeFile(c,b,{encoding:"utf8",flag:"wx"}),{wrote:!0,backupPath:c}}catch(a){if(a&&"EEXIST"===a.code)return{wrote:!1,backupPath:c};throw a}}let R="af360.exe";async function S(a){if(!0!==a.packaged)return null;let b="win32"===a.platform&&a.localAppData?w.join(a.localAppData,"Microsoft","WindowsApps",R):null;if(!b)return null;try{return await v.promises.access(b),b}catch{return null}}async function T(a=process.cwd(),b=D()){let c=process.env.AF360_ROOT;for(let d of c?[w.join(c,"bin","af360.mjs"),w.join(a,"bin","af360.mjs")]:[w.join(a,"bin","af360.mjs")])try{if(await v.promises.access(d),await S(b))return{ok:!0,command:R,args:["mcp"],shape:"alias",target:R,mjs:d};return{ok:!0,command:process.execPath,args:[d,"mcp"],shape:"node",target:d,mjs:d}}catch{}return{ok:!1,reason:"af360 could not locate its own entry point, so it will not write a command a client cannot run."}}let U={"claude-desktop":"Claude.exe",cursor:"Cursor.exe",vscode:"Code.exe"};async function V(a,b){if("win32"===b.platform&&U[a.id])try{let{execFile:b}=await Promise.resolve().then(c.t.bind(c,79646,19)),d=await new Promise(c=>{b("tasklist",["/FI",`IMAGENAME eq ${U[a.id]}`,"/NH"],{timeout:2500,windowsHide:!0},(a,b)=>c(a?null:b)).on("error",()=>c(null))});if(null===d)return null;return!!d.includes(U[a.id])}catch{return null}if("claude-code"===a.id)try{let{config:c}=a.paths(b),d=await v.promises.stat(c);return Date.now()-d.mtimeMs<6e5||null}catch{}return null}function W(a,b){let c={command:b.command,args:b.args};return a.stdioType&&(c.type="stdio"),c}function X(a,b){try{let c=F(a);if("object"!==c.kind)return{fault:"its top level is not a JSON object"};let d=null;for(let a of c.members)a.key===b&&(d=a);if(!d)return{connected:!1,entryPath:null};if("object"!==d.value.kind)return{fault:`its "${b}" section is not a JSON object`};let e=d.value.members.find(a=>a.key===z);if(!e)return{connected:!1,entryPath:null,command:null};return{connected:!0,entryPath:function(a){var b;if(!a||"object"!==a.kind)return null;if("string"==typeof(b=Z(a))&&b&&w.basename(b).toLowerCase()===R)return R;let c=a.members.find(a=>"args"===a.key);if(!c||"array"!==c.value.kind)return null;for(let a of c.value.items)if("string"===a.kind&&/\.mjs$/i.test(a.value))return a.value;return null}(e.value),command:Z(e.value)}}catch(a){return{fault:a instanceof E?`af360 could not read it as JSON - ${a.message}`:"af360 could not read it as JSON"}}}function Y(a,b,c){if(!a||!b)return!1;let d=a=>{let b=w.resolve(a);return"win32"===c?b.toLowerCase():b};return d(a)===d(b)}function Z(a){if(!a||"object"!==a.kind)return null;let b=a.members.find(a=>"command"===a.key);return b&&"string"===b.value.kind?b.value.value:null}function $(a,b,c){return!!a&&!!b&&(a===R||b===R?a===b:Y(a,b,c))}async function _(a=D(),b=process.cwd()){let c=await T(b,a),d=c.ok?c.target:null,e=c.ok?c.mjs:null,f=[];for(let b of B){let g=await P(b,a),h={id:b.id,label:b.label,installed:g.installed,evidencePath:g.evidencePath,configPath:g.configPath,backedUp:!1};if(!g.installed){f.push({...h,state:"missing",connected:!1});continue}let i=await N(g.configPath),j=!1;try{await v.promises.stat(g.configPath+A),j=!0}catch{}if("missing"===i.state){f.push({...h,backedUp:j,state:"missing",connected:!1});continue}if("unreadable"===i.state){f.push({...h,backedUp:j,state:"unreadable",connected:!1,reason:i.reason});continue}let k=X(i.text,b.serversKey);if(k.fault){f.push({...h,backedUp:j,state:"malformed",connected:!1,reason:k.fault});continue}if(!k.connected){f.push({...h,backedUp:j,state:"present",connected:!1,verified:!0,elsewhere:null});continue}if(null===d){f.push({...h,backedUp:j,state:"present",connected:!1,verified:!1,elsewhere:null,reason:c.reason});continue}let l=$(k.entryPath,d,a.platform),m=!l&&Y(k.entryPath,e,a.platform);f.push({...h,backedUp:j,state:"present",verified:!0,connected:l,oldShape:m,entryCommand:m?k.command??null:null,elsewhere:l||m?null:k.entryPath??null})}return f}function aa(a){return B.find(b=>b.id===a)??null}async function ab(a,b,c=D(),d=process.cwd()){let e,f=aa(a);if(!f)return{clientId:a,label:a,configPath:"",reason:"af360 does not know that client."};let{config:g}=f.paths(c),h=b=>({clientId:a,label:f.label,configPath:g,reason:b});if(!(await P(f,c)).installed)return h(`af360 cannot find ${f.label} on this machine, so it will not create a settings folder for it.`);let i=await N(g);if("unreadable"===i.state)return h(`af360 could not safely edit this file: ${i.reason}.`);let j="missing"===i.state?null:i.text;if("disconnect"===b&&null===j)return h("There is nothing to disconnect - af360 is not in that file.");try{if("disconnect"===b){if(e=L(j,{serversKey:f.serversKey}),"absent"===e.kind)return h("There is nothing to disconnect - af360 is not in that file.")}else{let a=await T(d,c);if(!a.ok)return h(a.reason);if(e=K(j,{serversKey:f.serversKey,entry:W(f,a)}),"already"===e.kind){let b=X(j,f.serversKey);if($(b.entryPath,a.target,c.platform))return h(`${f.label} is already connected to af360.`);e=K(j,{serversKey:f.serversKey,entry:W(f,a),repoint:!0})}}}catch(b){let a=b instanceof E?b.message:"af360 could not read it as JSON";return h(`af360 could not safely edit this file: ${a}.`)}let k=function(a,b=3){let{before:c,after:d,at:e,removeLen:f,insertLen:g}=a,h=e;for(;h>0&&"\n"!==c[h-1];)h--;let i=e+f;for(;i<c.length&&"\n"!==c[i];)i++;let j=e+g;for(;j<d.length&&"\n"!==d[j];)j++;let k=c.slice(0,h).split("\n").length,l=c.slice(h,i).split("\n"),m=d.slice(h,j).split("\n"),n=c.slice(0,h).split("\n").slice(-b-1,-1),o=c.slice(i).split("\n").slice(1,b+1),p=(a,b,c)=>{let d=0,e=b;for(let b of a){if(e+b.length>c)break;d++,e+=b.length+1}return d},q=(a,b,c)=>{let d=0,e=b,f=a.map(a=>{let b=e;return e+=a.length+1,b});for(let b=a.length-1;b>=0&&!(f[b]<c);b--)d++;return d},r=Math.min(p(l,h,e),p(m,h,e)),s=Math.min(q(l,h,e+f),q(m,h,e+g),Math.max(0,Math.min(l.length,m.length)-r)),t=[];for(let a of n)t.push({sign:" ",text:a});for(let a=0;a<r;a++)t.push({sign:" ",text:l[a]});for(let a=r;a<l.length-s;a++)t.push({sign:"-",text:l[a]});for(let a=r;a<m.length-s;a++)t.push({sign:"+",text:m[a]});for(let a=l.length-s;a<l.length;a++)t.push({sign:" ",text:l[a]});for(let a of o)t.push({sign:" ",text:a});return{startLine:k,lines:t.map(a=>({sign:a.sign,text:a.text.replace(/\r$/,"")})),added:t.filter(a=>"+"===a.sign).length,removed:t.filter(a=>"-"===a.sign).length}}(e),l=!1;try{await v.promises.stat(g+A),l=!0}catch{}return{clientId:a,label:f.label,configPath:g,action:b,kind:e.kind,startLine:k.startLine,lines:k.lines,added:k.added,removed:k.removed,running:"connect"===b&&await V(f,c)||null,willBackupTo:null===j||l?null:g+A,digest:M(g,e)}}async function ac(a,b,c,d=D(),e=process.cwd()){let f,g=aa(a);if(!g)return{clientId:a,label:a,configPath:"",reason:"af360 does not know that client."};let h=await ab(a,b,d,e);if(h.reason)return h;if(h.digest!==c)return{clientId:a,label:g.label,configPath:h.configPath,reason:"That file changed since af360 showed you the diff, so nothing was written. Press the button again to see what it looks like now."};let{config:i}=g.paths(d),j=await N(i);if("unreadable"===j.state)return{clientId:a,label:g.label,configPath:i,reason:`af360 could not safely edit this file: ${j.reason}.`};let k="missing"===j.state?null:j.text;if("disconnect"===b)f=L(k,{serversKey:g.serversKey});else{let b=await T(e,d);if(!b.ok)return{clientId:a,label:g.label,configPath:i,reason:b.reason};"already"===(f=K(k,{serversKey:g.serversKey,entry:W(g,b)})).kind&&($(X(k,g.serversKey).entryPath,b.target,d.platform)||(f=K(k,{serversKey:g.serversKey,entry:W(g,b),repoint:!0})))}if(M(i,f)!==c)return{clientId:a,label:g.label,configPath:i,reason:"That file changed while af360 was writing to it, so nothing was written. Press the button again."};let l=null;if(null!==k){let a=await Q(i,k);l=a.wrote?a.backupPath:null}else await v.promises.mkdir(w.dirname(i),{recursive:!0});return await v.promises.writeFile(i,f.after,"utf8"),{ok:!0,configPath:i,backupPath:l}}var ad=c(59986),ae=c(94134),af=c(71011),ag=c(22191);async function ah(a,b){try{let c=await (0,af.G5)();if("unreadable"===c.status||!c.config)return;let d=c.config,e=d.connectedClients??[],f=b?e.includes(a)?e:[...e,a]:e.filter(b=>b!==a);if(f.length===e.length&&b===e.includes(a))return;d.connectedClients=f,await (0,af.ql)(d)}catch{}}let ai="force-dynamic";async function aj(a){if((0,ad.s0)(a))return u.NextResponse.json({clients:[],supported:C,demo:!0,remembered:[]});let b=await (0,ae.CD)();if(b)return b;let c=await (0,af.G5)(),d=await _(),e=c.config?.connectedClients??[];return function(a,b){for(let c of a){let a="malformed"!==c.state&&"unreadable"!==c.state;c.installed&&a&&!c.connected&&b.includes(c.id)&&!al.has(c.id)&&(al.add(c.id),(0,ag.logEvent)(`${c.label} dropped the entry on exit - reconnect is one click, in Connections.`,"connection")),c.connected&&al.delete(c.id)}}(d,e),u.NextResponse.json({clients:d,supported:C,remembered:e})}let ak=globalThis,al=ak.__af360Dropped??(ak.__af360Dropped=new Set);async function am(a){let b;try{b=await a.json()}catch{return an("I couldn't read that request.")}if((0,ad.s0)(a))return an("This is a preview - af360 does not change another app's settings from here.");let c=await (0,ae.CD)();if(c)return c;let d="string"==typeof b?.clientId?b.clientId:"",e=b?.action;if("preview"===e||"previewDisconnect"===e){let a=await ab(d,"preview"===e?"connect":"disconnect");return"reason"in a?u.NextResponse.json({ok:!1,refusal:a}):u.NextResponse.json({ok:!0,receipt:a})}if("connect"===e||"disconnect"===e){let a="string"==typeof b?.digest?b.digest:"";if(!a)return an("af360 will not change another app's settings without showing you the change first.");let c=await ac(d,"connect"===e?"connect":"disconnect",a);if("reason"in c)return u.NextResponse.json({ok:!1,refusal:c});await ah(d,"connect"===e);let f=C.find(a=>a.id===d)?.label??d;(0,ag.logEvent)("connect"===e?`${f} connected - config written${c.backupPath?", backup kept":""}.`:`${f} disconnected - entry removed.`,"connection");let g=await (0,af.G5)();return u.NextResponse.json({ok:!0,configPath:c.configPath,backupPath:c.backupPath,clients:await _(),remembered:g.config?.connectedClients??[]})}return an("Unknown action.")}function an(a){return u.NextResponse.json({ok:!1,message:a},{status:400})}let ao=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/connections/route",pathname:"/api/connections",filename:"route",bundlePath:"app/api/connections/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\dev\\af360\\app\\api\\connections\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:ap,workUnitAsyncStorage:aq,serverHooks:ar}=ao;function as(){return(0,g.patchFetch)({workAsyncStorage:ap,workUnitAsyncStorage:aq})}async function at(a,b,c){var d;let e="/api/connections/route";"/index"===e&&(e="/");let g=await ao.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||ao.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===ao.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),K=J.getActiveScopeSpan(),L={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ao.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},M=new k.NodeNextRequest(a),N=new k.NodeNextResponse(b),O=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ao.handle(O,L).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=L.renderOpts.collectedTags;if(!E)return await (0,o.I)(M,N,e,L.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,d=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:L.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ao.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await ao.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(M,N,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};K?await g(K):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ao.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(M,N,new Response(null,{status:500})),null}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,4134,9170,6992,9986],()=>b(b.s=94907));module.exports=c})();
|
|
6
|
+
`)};let f=G(a);if("object"!==f.kind)throw new F("the file's top level is not an object");let g=a.includes("\r\n")?"\r\n":"\n",h=function(a){let b=/\n([ \t]+)\S/.exec(a);return b?b[1].includes(" ")?" ":" ".repeat(Math.min(b[1].length,8)):" "}(a),i=H(f,b);if(i){if("object"!==i.value.kind)throw new F(`"${b}" is not an object`);let f=i.value,j=H(f,d);if(j&&!e)return{kind:"already",before:a};if(j){let b=J(c,d,h,I(a,j.start),g);return{kind:"repoint",before:a,...K(a,j.start,j.end-j.start,b)}}let k=f.members.length>0?I(a,f.members[0].start):I(a,i.start)+h,l=J(c,d,h,k,g);if(0===f.members.length){let b=I(a,i.start),c=a.slice(f.start+1,f.end-1);return""===c.trim()?{kind:"insert",before:a,...K(a,f.start+1,c.length,`${g}${k}${l}${g}${b}`)}:{kind:"insert",before:a,...K(a,f.start+1,0,`${g}${k}${l}`)}}let m=f.members[f.members.length-1],n=a.slice(m.end,f.end-1).indexOf(",");return -1!==n?{kind:"insert",before:a,...K(a,m.end+n+1,0,`${g}${k}${l},`)}:{kind:"insert",before:a,...K(a,m.end,0,`,${g}${k}${l}`)}}let j=I(a,f.start)+h,k=j+h,l=`${JSON.stringify(b)}: {${g}${k}${J(c,d,h,k,g)}${g}${j}}`;if(0===f.members.length)return{kind:"insert",before:a,...K(a,f.start+1,0,`${g}${j}${l}${g}`)};let m=f.members[f.members.length-1],n=a.slice(m.end,f.end-1).indexOf(",");return -1!==n?{kind:"insert",before:a,...K(a,m.end+n+1,0,`${g}${j}${l},`)}:{kind:"insert",before:a,...K(a,m.end,0,`,${g}${j}${l}`)}}function M(a,{serversKey:b,name:c=A}){let d=G(a);if("object"!==d.kind)throw new F("the file's top level is not an object");let e=H(d,b);if(!e||"object"!==e.value.kind)return{kind:"absent",before:a};let f=e.value,g=f.members.findIndex(a=>a.key===c);if(-1===g)return{kind:"absent",before:a};let h=f.members[g];if(1===f.members.length&&""===(a.slice(f.start+1,h.start)+a.slice(h.end,f.end-1)).trim()){let b=f.start+1;return{kind:"remove",before:a,...K(a,b,f.end-1-b,"")}}let i=h.start,j=h.end;if(g<f.members.length-1){let b=j;for(;b<a.length&&/\s/.test(a[b]);)b++;","===a[b]&&(j=b+1);let c=i;for(;c>0&&"\n"!==a[c-1];)c--;/^[ \t]*$/.test(a.slice(c,i))&&(i=c);let d=j;for(;d<a.length&&"\n"!==a[d];)d++;/^[ \t\r]*$/.test(a.slice(j,d))&&(j=d<a.length?d+1:d)}else if(g>0){let b=f.members[g-1],c=a.indexOf(",",b.end);-1!==c&&c<h.start&&(i=c)}return{kind:"remove",before:a,...K(a,i,j-i,"")}}function N(a,b){return(0,z.createHash)("sha256").update(a).update("\0").update(b.before??"").update("\0").update(b.after).digest("hex").slice(0,32)}async function O(a){let b;try{b=await w.promises.lstat(a)}catch(a){if(a&&"ENOENT"===a.code)return{state:"missing",text:null};return{state:"unreadable",text:null,reason:P(a)}}if(b.isSymbolicLink())return{state:"unreadable",text:null,reason:"it is a symbolic link, and af360 does not write through links"};if(!b.isFile())return{state:"unreadable",text:null,reason:"it is not a regular file"};if(b.size>0x1000000)return{state:"unreadable",text:null,reason:`it is larger than ${Math.round(16)} MB`};try{return{state:"present",text:await w.promises.readFile(a,"utf8")}}catch(a){return{state:"unreadable",text:null,reason:P(a)}}}function P(a){let b=a&&a.code;return"EACCES"===b||"EPERM"===b?"af360 is not allowed to open it":"EISDIR"===b?"it is a folder, not a file":"af360 could not open it"}async function Q(a,b){let{config:c,evidence:d}=a.paths(b);for(let a of d)try{return await w.promises.stat(a),{installed:!0,evidencePath:a,configPath:c}}catch{}return{installed:!1,evidencePath:null,configPath:c}}async function R(a,b){let c=a+B;try{return await w.promises.writeFile(c,b,{encoding:"utf8",flag:"wx"}),{wrote:!0,backupPath:c}}catch(a){if(a&&"EEXIST"===a.code)return{wrote:!1,backupPath:c};throw a}}let S="af360.exe";async function T(a){if(!0!==a.packaged)return null;let b="win32"===a.platform&&a.localAppData?x.join(a.localAppData,"Microsoft","WindowsApps",S):null;if(!b)return null;try{return await w.promises.access(b),b}catch{return null}}async function U(a=process.cwd(),b=E()){let c=process.env.AF360_ROOT;for(let d of c?[x.join(c,"bin","af360.mjs"),x.join(a,"bin","af360.mjs")]:[x.join(a,"bin","af360.mjs")])try{if(await w.promises.access(d),await T(b))return{ok:!0,command:S,args:["mcp"],shape:"alias",target:S,mjs:d};return{ok:!0,command:process.execPath,args:[d,"mcp"],shape:"node",target:d,mjs:d}}catch{}return{ok:!1,reason:"af360 could not locate its own entry point, so it will not write a command a client cannot run."}}let V={"claude-desktop":"Claude.exe",cursor:"Cursor.exe",vscode:"Code.exe"};async function W(a,b){if("win32"===b.platform&&V[a.id])try{let{execFile:b}=await Promise.resolve().then(c.t.bind(c,79646,19)),d=await new Promise(c=>{b("tasklist",["/FI",`IMAGENAME eq ${V[a.id]}`,"/NH"],{timeout:2500,windowsHide:!0},(a,b)=>c(a?null:b)).on("error",()=>c(null))});if(null===d)return null;return!!d.includes(V[a.id])}catch{return null}if("claude-code"===a.id)try{let{config:c}=a.paths(b),d=await w.promises.stat(c);return Date.now()-d.mtimeMs<6e5||null}catch{}return null}function X(a,b){let c={command:b.command,args:b.args};return a.stdioType&&(c.type="stdio"),c}function Y(a,b){try{let c=G(a);if("object"!==c.kind)return{fault:"its top level is not a JSON object"};let d=null;for(let a of c.members)a.key===b&&(d=a);if(!d)return{connected:!1,entryPath:null};if("object"!==d.value.kind)return{fault:`its "${b}" section is not a JSON object`};let e=d.value.members.find(a=>a.key===A);if(!e)return{connected:!1,entryPath:null,command:null};return{connected:!0,entryPath:function(a){var b;if(!a||"object"!==a.kind)return null;if("string"==typeof(b=$(a))&&b&&x.basename(b).toLowerCase()===S)return S;let c=a.members.find(a=>"args"===a.key);if(!c||"array"!==c.value.kind)return null;for(let a of c.value.items)if("string"===a.kind&&/\.mjs$/i.test(a.value))return a.value;return null}(e.value),command:$(e.value)}}catch(a){return{fault:a instanceof F?`af360 could not read it as JSON - ${a.message}`:"af360 could not read it as JSON"}}}function Z(a,b,c){if(!a||!b)return!1;let d=a=>{let b=x.resolve(a);return"win32"===c?b.toLowerCase():b};return d(a)===d(b)}function $(a){if(!a||"object"!==a.kind)return null;let b=a.members.find(a=>"command"===a.key);return b&&"string"===b.value.kind?b.value.value:null}function _(a,b,c){return!!a&&!!b&&(a===S||b===S?a===b:Z(a,b,c))}async function aa(a=E(),b=process.cwd()){let c=await U(b,a),d=c.ok?c.target:null,e=c.ok?c.mjs:null,f=[];for(let b of C){let g=await Q(b,a),h={id:b.id,label:b.label,installed:g.installed,evidencePath:g.evidencePath,configPath:g.configPath,backedUp:!1};if(!g.installed){f.push({...h,state:"missing",connected:!1});continue}let i=await O(g.configPath),j=!1;try{await w.promises.stat(g.configPath+B),j=!0}catch{}if("missing"===i.state){f.push({...h,backedUp:j,state:"missing",connected:!1});continue}if("unreadable"===i.state){f.push({...h,backedUp:j,state:"unreadable",connected:!1,reason:i.reason});continue}let k=Y(i.text,b.serversKey);if(k.fault){f.push({...h,backedUp:j,state:"malformed",connected:!1,reason:k.fault});continue}if(!k.connected){f.push({...h,backedUp:j,state:"present",connected:!1,verified:!0,elsewhere:null});continue}if(null===d){f.push({...h,backedUp:j,state:"present",connected:!1,verified:!1,elsewhere:null,reason:c.reason});continue}let l=_(k.entryPath,d,a.platform),m=!l&&Z(k.entryPath,e,a.platform);f.push({...h,backedUp:j,state:"present",verified:!0,connected:l,oldShape:m,entryCommand:m?k.command??null:null,elsewhere:l||m?null:k.entryPath??null})}return f}function ab(a){return C.find(b=>b.id===a)??null}async function ac(a,b,c=E(),d=process.cwd()){let e,f=ab(a);if(!f)return{clientId:a,label:a,configPath:"",reason:"af360 does not know that client."};let{config:g}=f.paths(c),h=b=>({clientId:a,label:f.label,configPath:g,reason:b});if(!(await Q(f,c)).installed)return h(`af360 cannot find ${f.label} on this machine, so it will not create a settings folder for it.`);let i=await O(g);if("unreadable"===i.state)return h(`af360 could not safely edit this file: ${i.reason}.`);let j="missing"===i.state?null:i.text;if("disconnect"===b&&null===j)return h("There is nothing to disconnect - af360 is not in that file.");try{if("disconnect"===b){if(e=M(j,{serversKey:f.serversKey}),"absent"===e.kind)return h("There is nothing to disconnect - af360 is not in that file.")}else{let a=await U(d,c);if(!a.ok)return h(a.reason);if(e=L(j,{serversKey:f.serversKey,entry:X(f,a)}),"already"===e.kind){let b=Y(j,f.serversKey);if(_(b.entryPath,a.target,c.platform))return h(`${f.label} is already connected to af360.`);e=L(j,{serversKey:f.serversKey,entry:X(f,a),repoint:!0})}}}catch(b){let a=b instanceof F?b.message:"af360 could not read it as JSON";return h(`af360 could not safely edit this file: ${a}.`)}let k=function(a,b=3){let{before:c,after:d,at:e,removeLen:f,insertLen:g}=a,h=e;for(;h>0&&"\n"!==c[h-1];)h--;let i=e+f;for(;i<c.length&&"\n"!==c[i];)i++;let j=e+g;for(;j<d.length&&"\n"!==d[j];)j++;let k=c.slice(0,h).split("\n").length,l=c.slice(h,i).split("\n"),m=d.slice(h,j).split("\n"),n=c.slice(0,h).split("\n").slice(-b-1,-1),o=c.slice(i).split("\n").slice(1,b+1),p=(a,b,c)=>{let d=0,e=b;for(let b of a){if(e+b.length>c)break;d++,e+=b.length+1}return d},q=(a,b,c)=>{let d=0,e=b,f=a.map(a=>{let b=e;return e+=a.length+1,b});for(let b=a.length-1;b>=0&&!(f[b]<c);b--)d++;return d},r=Math.min(p(l,h,e),p(m,h,e)),s=Math.min(q(l,h,e+f),q(m,h,e+g),Math.max(0,Math.min(l.length,m.length)-r)),t=[];for(let a of n)t.push({sign:" ",text:a});for(let a=0;a<r;a++)t.push({sign:" ",text:l[a]});for(let a=r;a<l.length-s;a++)t.push({sign:"-",text:l[a]});for(let a=r;a<m.length-s;a++)t.push({sign:"+",text:m[a]});for(let a=l.length-s;a<l.length;a++)t.push({sign:" ",text:l[a]});for(let a of o)t.push({sign:" ",text:a});return{startLine:k,lines:t.map(a=>({sign:a.sign,text:a.text.replace(/\r$/,"")})),added:t.filter(a=>"+"===a.sign).length,removed:t.filter(a=>"-"===a.sign).length}}(e),l=!1;try{await w.promises.stat(g+B),l=!0}catch{}return{clientId:a,label:f.label,configPath:g,action:b,kind:e.kind,startLine:k.startLine,lines:k.lines,added:k.added,removed:k.removed,running:"connect"===b&&await W(f,c)||null,willBackupTo:null===j||l?null:g+B,digest:N(g,e)}}async function ad(a,b,c,d=E(),e=process.cwd()){let f,g=ab(a);if(!g)return{clientId:a,label:a,configPath:"",reason:"af360 does not know that client."};let h=await ac(a,b,d,e);if(h.reason)return h;if(h.digest!==c)return{clientId:a,label:g.label,configPath:h.configPath,reason:"That file changed since af360 showed you the diff, so nothing was written. Press the button again to see what it looks like now."};let{config:i}=g.paths(d),j=await O(i);if("unreadable"===j.state)return{clientId:a,label:g.label,configPath:i,reason:`af360 could not safely edit this file: ${j.reason}.`};let k="missing"===j.state?null:j.text;if("disconnect"===b)f=M(k,{serversKey:g.serversKey});else{let b=await U(e,d);if(!b.ok)return{clientId:a,label:g.label,configPath:i,reason:b.reason};"already"===(f=L(k,{serversKey:g.serversKey,entry:X(g,b)})).kind&&(_(Y(k,g.serversKey).entryPath,b.target,d.platform)||(f=L(k,{serversKey:g.serversKey,entry:X(g,b),repoint:!0})))}if(N(i,f)!==c)return{clientId:a,label:g.label,configPath:i,reason:"That file changed while af360 was writing to it, so nothing was written. Press the button again."};let l=null;if(null!==k){let a=await R(i,k);l=a.wrote?a.backupPath:null}else await w.promises.mkdir(x.dirname(i),{recursive:!0});return await w.promises.writeFile(i,f.after,"utf8"),{ok:!0,configPath:i,backupPath:l}}var ae=c(59986),af=c(94134),ag=c(71011),ah=c(22191);async function ai(a,b){try{let c=await (0,ag.G5)();if("unreadable"===c.status||!c.config)return;let d=c.config,e=d.connectedClients??[],f=b?e.includes(a)?e:[...e,a]:e.filter(b=>b!==a);if(f.length===e.length&&b===e.includes(a))return;d.connectedClients=f,await (0,ag.ql)(d)}catch{}}let aj="force-dynamic";async function ak(a){if((0,ae.s0)(a))return v.NextResponse.json({clients:[],supported:D,demo:!0,remembered:[]});let b=await (0,af.CD)();if(b)return b;let c=await (0,ag.G5)(),d=await aa(),e=c.config?.connectedClients??[];return function(a,b){for(let c of a){let a="malformed"!==c.state&&"unreadable"!==c.state;c.installed&&a&&!c.connected&&b.includes(c.id)&&!am.has(c.id)&&(am.add(c.id),(0,ah.logEvent)(`${c.label} dropped the entry on exit - reconnect is one click, in Connections.`,"connection")),c.connected&&am.delete(c.id)}}(d,e),v.NextResponse.json({clients:d,supported:D,remembered:e})}let al=globalThis,am=al.__af360Dropped??(al.__af360Dropped=new Set);async function an(a){let b;try{b=await a.json()}catch{return ao("I couldn't read that request.")}if((0,ae.s0)(a))return ao("This is a preview - af360 does not change another app's settings from here.");let c=await (0,af.CD)();if(c)return c;let d="string"==typeof b?.clientId?b.clientId:"",e=b?.action;if("preview"===e||"previewDisconnect"===e){let a=await ac(d,"preview"===e?"connect":"disconnect");return"reason"in a?v.NextResponse.json({ok:!1,refusal:a}):v.NextResponse.json({ok:!0,receipt:a})}if("connect"===e||"disconnect"===e){let a="string"==typeof b?.digest?b.digest:"";if(!a)return ao("af360 will not change another app's settings without showing you the change first.");let c=await ad(d,"connect"===e?"connect":"disconnect",a);if("reason"in c)return v.NextResponse.json({ok:!1,refusal:c});await ai(d,"connect"===e);let f=D.find(a=>a.id===d)?.label??d;(0,ah.logEvent)("connect"===e?`${f} connected - config written${c.backupPath?", backup kept":""}.`:`${f} disconnected - entry removed.`,"connection");let g=await (0,ag.G5)();return v.NextResponse.json({ok:!0,configPath:c.configPath,backupPath:c.backupPath,clients:await aa(),remembered:g.config?.connectedClients??[]})}return ao("Unknown action.")}function ao(a){return v.NextResponse.json({ok:!1,message:a},{status:400})}let ap=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/connections/route",pathname:"/api/connections",filename:"route",bundlePath:"app/api/connections/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\dev\\af360\\app\\api\\connections\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:aq,workUnitAsyncStorage:ar,serverHooks:as}=ap;function at(){return(0,g.patchFetch)({workAsyncStorage:aq,workUnitAsyncStorage:ar})}async function au(a,b,c){var d;let e="/api/connections/route";"/index"===e&&(e="/");let g=await ap.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!z.routes[D]&&(ap.isDev||(0,t.isRouteCacheOwner)(D,ap.cacheOwner,z.routes[D])),G=!!(z.dynamicRoutes[E]||F);if(G&&!y){let a=z.dynamicRoutes[E];if(a&&!1===a.fallback&&!F)throw new s.NoFallbackError}let H=null;!G||ap.isDev||y||(H="/index"===(H=D)?"/":H);let I=!0===ap.isDev||!G,J=G&&!I,K=a.method||"GET",L=(0,i.getTracer)(),M=L.getActiveScopeSpan(),N={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:I,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:J,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ap.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},O=new k.NodeNextRequest(a),P=new k.NodeNextResponse(b),Q=l.NextRequestAdapter.fromNodeNextRequest(O,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ap.handle(Q,N).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=L.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${K} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${K} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=N.renderOpts.fetchMetrics;let i=N.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=N.renderOpts.collectedTags;if(!G)return await (0,o.I)(O,P,e,N.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==N.renderOpts.collectedRevalidate&&!(N.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&N.renderOpts.collectedRevalidate,d=void 0===N.renderOpts.collectedExpire||N.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:N.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ap.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})},A),b}},l=await ap.handleResponse({req:a,nextConfig:x,cacheKey:H,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!G)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&G||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(O,P,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};M?await g(M):await L.withPropagatedContext(a.headers,()=>L.trace(m.BaseServerSpan.handleRequest,{spanName:`${K} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":K,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ap.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})}),G)throw b;return await (0,o.I)(O,P,new Response(null,{status:500})),null}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,4134,9170,6992,9986],()=>b(b.s=94907));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../shell/bin/af360-bridge.exe","../../../../package.json","../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/route-kind.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../shell/bin/af360-bridge.exe","../../../../package.json","../../../chunks/1232.js","../../../chunks/3897.js","../../../chunks/4134.js","../../../chunks/641.js","../../../chunks/6988.js","../../../chunks/6992.js","../../../chunks/6995.js","../../../chunks/8150.js","../../../chunks/9170.js","../../../chunks/9986.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/connections/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/connections/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"148":{"*":{"id":"82070","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"43661","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"61226","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"60997","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"86940","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"38489","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"34125","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"60357","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"16896","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"23726","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"45614","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"77731","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\globals.css":{"id":1290,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Bricolage_Grotesque\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"600\",\"700\",\"800\"],\"variable\":\"--font-display\"}],\"variableName\":\"display\"}":{"id":2744,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-ui\"}],\"variableName\":\"ui\"}":{"id":1219,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"IBM_Plex_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"400\",\"500\"],\"variable\":\"--font-mono\"}],\"variableName\":\"mono\"}":{"id":8036,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Noto_Sans_Arabic\",\"arguments\":[{\"subsets\":[\"arabic\"],\"weight\":[\"400\",\"500\",\"600\",\"700\"],\"variable\":\"--font-arabic\"}],\"variableName\":\"arabic\"}":{"id":974,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\app\\error.tsx":{"id":9567,"name":"*","chunks":["2619","static/chunks/2619-3c9e02e22d10480a.js","3192","static/chunks/3192-7e153722ff079fc6.js","8050","static/chunks/8050-6c17ccfd85ac3208.js","8039","static/chunks/app/error-b32d8c6d4bfa070e.js"],"async":false},"C:\\dev\\af360\\app\\ahead\\page.tsx":{"id":9540,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\discoveries\\page.tsx":{"id":1163,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\connections\\page.tsx":{"id":148,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\projects\\page.tsx":{"id":5657,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\log\\page.tsx":{"id":7843,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\sites\\page.tsx":{"id":4421,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\report\\page.tsx":{"id":3123,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\welcome\\page.tsx":{"id":5300,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\components\\Brand.tsx":{"id":7861,"name":"*","chunks":["8974","static/chunks/app/page-7bac6c467f34186e.js"],"async":false},"C:\\dev\\af360\\app\\settings\\page.tsx":{"id":2802,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\radar\\page.tsx":{"id":9151,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"C:\\dev\\af360\\":[],"C:\\dev\\af360\\app\\layout":[{"inlined":false,"path":"static/css/fbb4cf81dde34731.css"},{"inlined":false,"path":"static/css/5ddef273a3ac3217.css"}],"C:\\dev\\af360\\app\\error":[],"C:\\dev\\af360\\app\\page":[],"C:\\dev\\af360\\app\\api\\connections\\route":[]},"rscModuleMapping":{"148":{"*":{"id":"25332","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"18071","name":"*","chunks":[],"async":false}},"1290":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"45144","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"31671","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"92417","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"17325","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"35743","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"69127","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"76417","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"79853","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"52980","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"41697","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=6208,a.ids=[6208],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6694:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>L,patchFetch:()=>K,routeModule:()=>G,serverHooks:()=>J,workAsyncStorage:()=>H,workUnitAsyncStorage:()=>I});var d={};c.r(d),c.d(d,{GET:()=>D,POST:()=>E,dynamic:()=>B});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(55511),w=c(18150),x=c(4683),y=c(59986),z=c(94134),A=c(22191);let B="force-dynamic",C=globalThis;async function D(a){return(0,y.s0)(a)?u.NextResponse.json({state:{id:w.github.id,label:w.github.label,connected:!1},demo:!0,appReady:x.APP_CONFIGURED}):u.NextResponse.json({state:await (0,w.state)(),appReady:x.APP_CONFIGURED})}async function E(a){let b;try{b=await a.json()}catch{return F("I couldn't read that request.")}if((0,y.s0)(a))return F("This is a preview - af360 does not connect real accounts from here.");let c=await (0,z.CD)();if(c)return c;let d=b?.action;if("disconnect"===d){try{await (0,w.y6)()}catch(a){return F(a?.message??"af360 could not change its settings.")}return delete C.__af360GhPending,(0,A.logEvent)("GitHub disconnected - the token was removed from config.json.","connection"),u.NextResponse.json({ok:!0,outcome:"disconnected",state:await (0,w.state)()})}if("cancel"===d){let a=C.__af360GhPending;return a?.phase==="waiting"&&a.cancel(),delete C.__af360GhPending,u.NextResponse.json({ok:!0,outcome:"cancelled"})}if("status"===d){let a=C.__af360GhPending;if(!a)return u.NextResponse.json({ok:!0,phase:"idle"});let c="string"==typeof b?.flowId?b.flowId:"";return"waiting"===a.phase?(c===a.id&&a.keepAlive(),u.NextResponse.json({ok:!0,phase:"waiting"})):c!==a.id?u.NextResponse.json({ok:!0,phase:"idle"}):(delete C.__af360GhPending,u.NextResponse.json({ok:!0,phase:"done",...a.outcome,state:await (0,w.state)()}))}if("begin"!==d)return F("Unknown action.");if(!x.APP_CONFIGURED)return F("This build of af360 has no GitHub App registration, so it cannot connect.");let e=await (0,x.Re)();if(!e.ok)return F(e.reason);let f=e.device;(0,A.logEvent)(`GitHub authorization: ${x.f2.issued}.`,"connection");let g=(0,v.randomUUID)(),h=!1,i={phase:"waiting",id:g,started:Date.now(),cancel:()=>{h=!0},keepAlive:()=>{}};return C.__af360GhPending=i,(async()=>{let a;try{let b=await (0,x.Zd)(f,{cancelled:()=>h||C.__af360GhPending!==i,onEnding:a=>(0,A.logEvent)(`GitHub authorization: ${x.f2[a]}.`,"connection")});if(b.ok&&b.tokens){(0,A.logEvent)(`GitHub authorization: ${x.f2.arrived}.`,"connection");let c=await w.github.verify(b.tokens.accessToken);"refused-write"===c.kind?((0,A.logEvent)(`GitHub authorization refused - ${c.detail} - so af360 stored nothing.`,"connection"),a={ok:!1,outcome:"refused-write",detail:c.detail}):"unreached"===c.kind?a={ok:!1,outcome:"unreached",kind:c.unreached,reason:c.reason}:(await (0,w.M_)(b.tokens.accessToken,c,b.tokens.accessExpiresAt>0?{expiresAt:b.tokens.accessExpiresAt,refreshToken:b.tokens.refreshToken,refreshExpiresAt:b.tokens.refreshExpiresAt}:void 0),(0,A.logEvent)(`GitHub connected as ${c.login} - read-only, ${c.repoNames.length} repositor${1===c.repoNames.length?"y":"ies"}`+(c.reposUnread?`, and ${c.reposUnread} installation${1===c.reposUnread?"":"s"} whose repository list af360 could not read`:"")+".","connection"),a={ok:!0,outcome:"ok",login:c.login,repoNames:c.repoNames,reposUnread:c.reposUnread??0,installationCount:c.installationCount})}else b.ending&&(0,A.logEvent)(`GitHub authorization: ${x.f2[b.ending]}.`,"connection"),a={ok:!1,outcome:"unreached",ending:b.ending??null,reason:b.reason??"the authorization did not complete - nothing was stored"}}catch(b){a={ok:!1,outcome:"unreached",ending:null,reason:"the authorization did not complete - nothing was stored"}}C.__af360GhPending===i&&(C.__af360GhPending={phase:"done",id:g,outcome:a})})(),u.NextResponse.json({ok:!0,outcome:"begun",userCode:f.userCode,verificationUri:f.verificationUri,expiresAt:f.expiresAt,flowId:g})}function F(a){return u.NextResponse.json({ok:!1,outcome:"error",message:a},{status:400})}let G=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/connectors/github/route",pathname:"/api/connectors/github",filename:"route",bundlePath:"app/api/connectors/github/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\dev\\af360\\app\\api\\connectors\\github\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:H,workUnitAsyncStorage:I,serverHooks:J}=G;function K(){return(0,g.patchFetch)({workAsyncStorage:H,workUnitAsyncStorage:I})}async function L(a,b,c){var d;let e="/api/connectors/github/route";"/index"===e&&(e="/");let g=await G.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||G.isDev||x||(F="/index"===(F=C)?"/":F);let H=!0===G.isDev||!E,I=E&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>G.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>G.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await G.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await G.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await G.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,4134,9170,6992,9986,8150],()=>b(b.s=6694));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=6208,a.ids=[1232,6208],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1232:(a,b,c)=>{c.d(b,{dK:()=>e,fI:()=>function a(b,c=0){if("string"==typeof b)return e(b);if(null===b||"object"!=typeof b)return b;if(c>=12)return"[too deeply nested for af360 to mask - not shown]";if(Array.isArray(b))return b.map(b=>a(b,c+1));let d={};for(let[f,g]of Object.entries(b))d[e(f)]=a(g,c+1);return d}});let d="[secret masked]";function e(a){let b=a;return(b=(b=(b=(b=(b=(b=(b=(b=(b=b.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,d)).replace(/\b([A-Za-z0-9_.-]*(?:SECRET|TOKEN|PASSWORD|PASSWD|API[_-]?KEY|APIKEY|ACCESS[_-]?KEY|PRIVATE[_-]?KEY|CLIENT[_-]?SECRET|AUTH|CREDENTIAL|[A-Z0-9]_KEY|^KEY)[A-Za-z0-9_.-]*)(\s*[:=]\s*)(["'`]?)([^\s"'`,;]{4,})\3/gi,(a,b,c)=>`${b}${c}${d}`)).replace(/\b([A-Za-z0-9_.-]*(?:URL|URI|DSN|CONN)[A-Za-z0-9_.-]*)(\s*[:=]\s*)(["'`]?)([^\s"'`,;]{4,})\3/gi,(a,b,c)=>/[A-Za-z]/.test(b)&&(b.includes("_")||b===b.toUpperCase())?`${b}${c}${d}`:a)).replace(/\b([A-Za-z][A-Za-z0-9+.-]*):\/\/([^\s/:@]{1,128}):([^\s/@]{1,256})@/g,(a,b,c)=>`${b}://${c}:${d}@`).replace(/(^|[\s(<'"`=,])([A-Za-z0-9._%+-]{1,64}):([^\s:@/\\]{4,128})@((?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}|\d{1,3}(?:\.\d{1,3}){3}|localhost)(?=[:/?\s'"`)>,]|$)/g,(a,b,c,e,f)=>`${b}${c}:${d}@${f}`)).replace(/gh[pousr]_[A-Za-z0-9]{16,}|github_pat_[A-Za-z0-9_]{20,}/g,d)).replace(/(?<![A-Za-z0-9])(AKIA[0-9A-Z]{12,}|ASIA[0-9A-Z]{12,}|sk_(?:live|test)_[0-9A-Za-z]{10,}|rk_(?:live|test)_[0-9A-Za-z]{10,}|pk_live_[0-9A-Za-z]{10,}|glpat-[A-Za-z0-9_-]{16,}|AIza[0-9A-Za-z_-]{30,}|ya29\.[0-9A-Za-z_-]{20,}|xox[baprs]-[0-9A-Za-z-]{8,}|npm_[A-Za-z0-9]{30,}|dop_v1_[a-f0-9]{40,}|SG\.[A-Za-z0-9_-]{20,}\.[A-Za-z0-9_-]{20,}|hf_[A-Za-z0-9]{30,}|sk-ant-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})(?![A-Za-z0-9])/g,d)).replace(/\b(bearer|basic)\s+[A-Za-z0-9._~+/=-]{12,}/gi,(a,b)=>`${b} ${d}`)).replace(/(?<![A-Za-z0-9])eyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}(?![A-Za-z0-9])/g,d)).replace(/(?<![A-Za-z0-9])[0-9a-f]{32,}(?![A-Za-z0-9])/gi,d)).replace(/(?<![A-Za-z0-9])[A-Za-z0-9+/]{40,}={0,2}(?![A-Za-z0-9+/=])/g,a=>!function(a){if(!a.includes("/")||a.includes("+")||/[A-Z=]/.test(a))return!1;let b=a.split("/").filter(Boolean);return b.length>=2&&b.every(a=>/^[a-z0-9]+$/.test(a)&&/[a-z]/.test(a))}(a)?d:a)}},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6694:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>E,POST:()=>F,dynamic:()=>C});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(55511),x=c(18150),y=c(4683),z=c(59986),A=c(94134),B=c(22191);let C="force-dynamic",D=globalThis;async function E(a){return(0,z.s0)(a)?v.NextResponse.json({state:{id:x.github.id,label:x.github.label,connected:!1},demo:!0,appReady:y.APP_CONFIGURED}):v.NextResponse.json({state:await (0,x.state)(),appReady:y.APP_CONFIGURED})}async function F(a){let b;try{b=await a.json()}catch{return G("I couldn't read that request.")}if((0,z.s0)(a))return G("This is a preview - af360 does not connect real accounts from here.");let c=await (0,A.CD)();if(c)return c;let d=b?.action;if("disconnect"===d){try{await (0,x.y6)()}catch(a){return G(a?.message??"af360 could not change its settings.")}return delete D.__af360GhPending,(0,B.logEvent)("GitHub disconnected - the token was removed from config.json.","connection"),v.NextResponse.json({ok:!0,outcome:"disconnected",state:await (0,x.state)()})}if("cancel"===d){let a=D.__af360GhPending;return a?.phase==="waiting"&&a.cancel(),delete D.__af360GhPending,v.NextResponse.json({ok:!0,outcome:"cancelled"})}if("status"===d){let a=D.__af360GhPending;if(!a)return v.NextResponse.json({ok:!0,phase:"idle"});let c="string"==typeof b?.flowId?b.flowId:"";return"waiting"===a.phase?(c===a.id&&a.keepAlive(),v.NextResponse.json({ok:!0,phase:"waiting"})):c!==a.id?v.NextResponse.json({ok:!0,phase:"idle"}):(delete D.__af360GhPending,v.NextResponse.json({ok:!0,phase:"done",...a.outcome,state:await (0,x.state)()}))}if("begin"!==d)return G("Unknown action.");if(!y.APP_CONFIGURED)return G("This build of af360 has no GitHub App registration, so it cannot connect.");let e=await (0,y.Re)();if(!e.ok)return G(e.reason);let f=e.device;(0,B.logEvent)(`GitHub authorization: ${y.f2.issued}.`,"connection");let g=(0,w.randomUUID)(),h=!1,i={phase:"waiting",id:g,started:Date.now(),cancel:()=>{h=!0},keepAlive:()=>{}};return D.__af360GhPending=i,(async()=>{let a;try{let b=await (0,y.Zd)(f,{cancelled:()=>h||D.__af360GhPending!==i,onEnding:a=>(0,B.logEvent)(`GitHub authorization: ${y.f2[a]}.`,"connection")});if(b.ok&&b.tokens){(0,B.logEvent)(`GitHub authorization: ${y.f2.arrived}.`,"connection");let c=await x.github.verify(b.tokens.accessToken);"refused-write"===c.kind?((0,B.logEvent)(`GitHub authorization refused - ${c.detail} - so af360 stored nothing.`,"connection"),a={ok:!1,outcome:"refused-write",detail:c.detail}):"unreached"===c.kind?a={ok:!1,outcome:"unreached",kind:c.unreached,reason:c.reason}:(await (0,x.M_)(b.tokens.accessToken,c,b.tokens.accessExpiresAt>0?{expiresAt:b.tokens.accessExpiresAt,refreshToken:b.tokens.refreshToken,refreshExpiresAt:b.tokens.refreshExpiresAt}:void 0),(0,B.logEvent)(`GitHub connected as ${c.login} - read-only, ${c.repoNames.length} repositor${1===c.repoNames.length?"y":"ies"}`+(c.reposUnread?`, and ${c.reposUnread} installation${1===c.reposUnread?"":"s"} whose repository list af360 could not read`:"")+".","connection"),a={ok:!0,outcome:"ok",login:c.login,repoNames:c.repoNames,reposUnread:c.reposUnread??0,installationCount:c.installationCount})}else b.ending&&(0,B.logEvent)(`GitHub authorization: ${y.f2[b.ending]}.`,"connection"),a={ok:!1,outcome:"unreached",ending:b.ending??null,reason:b.reason??"the authorization did not complete - nothing was stored"}}catch(b){a={ok:!1,outcome:"unreached",ending:null,reason:"the authorization did not complete - nothing was stored"}}D.__af360GhPending===i&&(D.__af360GhPending={phase:"done",id:g,outcome:a})})(),v.NextResponse.json({ok:!0,outcome:"begun",userCode:f.userCode,verificationUri:f.verificationUri,expiresAt:f.expiresAt,flowId:g})}function G(a){return v.NextResponse.json({ok:!1,outcome:"error",message:a},{status:400})}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/connectors/github/route",pathname:"/api/connectors/github",filename:"route",bundlePath:"app/api/connectors/github/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\dev\\af360\\app\\api\\connectors\\github\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){var d;let e="/api/connectors/github/route";"/index"===e&&(e="/");let g=await H.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!z.routes[D]&&(H.isDev||(0,t.isRouteCacheOwner)(D,H.cacheOwner,z.routes[D])),G=!!(z.dynamicRoutes[E]||F);if(G&&!y){let a=z.dynamicRoutes[E];if(a&&!1===a.fallback&&!F)throw new s.NoFallbackError}let I=null;!G||H.isDev||y||(I="/index"===(I=D)?"/":I);let J=!0===H.isDev||!G,K=G&&!J,L=a.method||"GET",M=(0,i.getTracer)(),N=M.getActiveScopeSpan(),O={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:J,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:K,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>H.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},P=new k.NodeNextRequest(a),Q=new k.NodeNextResponse(b),R=l.NextRequestAdapter.fromNodeNextRequest(P,(0,l.signalFromNodeResponse)(b));try{let d=async c=>H.handle(R,O).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=M.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${L} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${L} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=O.renderOpts.fetchMetrics;let i=O.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=O.renderOpts.collectedTags;if(!G)return await (0,o.I)(P,Q,e,O.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==O.renderOpts.collectedRevalidate&&!(O.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&O.renderOpts.collectedRevalidate,d=void 0===O.renderOpts.collectedExpire||O.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:O.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:K,isOnDemandRevalidate:B})},A),b}},l=await H.handleResponse({req:a,nextConfig:x,cacheKey:I,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!G)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&G||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(P,Q,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};N?await g(N):await M.withPropagatedContext(a.headers,()=>M.trace(m.BaseServerSpan.handleRequest,{spanName:`${L} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":L,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:K,isOnDemandRevalidate:B})}),G)throw b;return await (0,o.I)(P,Q,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,4134,9170,6992,9986,8150],()=>b(b.s=6694));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../shell/bin/af360-bridge.exe","../../../../../package.json","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../shell/bin/af360-bridge.exe","../../../../../package.json","../../../../chunks/1232.js","../../../../chunks/3897.js","../../../../chunks/4134.js","../../../../chunks/641.js","../../../../chunks/6988.js","../../../../chunks/6992.js","../../../../chunks/6995.js","../../../../chunks/8150.js","../../../../chunks/9170.js","../../../../chunks/9986.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/connectors/github/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/connectors/github/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"148":{"*":{"id":"82070","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"43661","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"61226","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"60997","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"86940","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"38489","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"34125","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"60357","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"16896","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"23726","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"45614","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"77731","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\metadata\\async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\globals.css":{"id":1290,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Bricolage_Grotesque\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"600\",\"700\",\"800\"],\"variable\":\"--font-display\"}],\"variableName\":\"display\"}":{"id":2744,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-ui\"}],\"variableName\":\"ui\"}":{"id":1219,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"IBM_Plex_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"400\",\"500\"],\"variable\":\"--font-mono\"}],\"variableName\":\"mono\"}":{"id":8036,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Noto_Sans_Arabic\",\"arguments\":[{\"subsets\":[\"arabic\"],\"weight\":[\"400\",\"500\",\"600\",\"700\"],\"variable\":\"--font-arabic\"}],\"variableName\":\"arabic\"}":{"id":974,"name":"*","chunks":["7177","static/chunks/app/layout-0f3f0098b5d1e6be.js"],"async":false},"C:\\dev\\af360\\app\\error.tsx":{"id":9567,"name":"*","chunks":["2619","static/chunks/2619-3c9e02e22d10480a.js","3192","static/chunks/3192-7e153722ff079fc6.js","8050","static/chunks/8050-6c17ccfd85ac3208.js","8039","static/chunks/app/error-b32d8c6d4bfa070e.js"],"async":false},"C:\\dev\\af360\\app\\ahead\\page.tsx":{"id":9540,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\discoveries\\page.tsx":{"id":1163,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\connections\\page.tsx":{"id":148,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\projects\\page.tsx":{"id":5657,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\log\\page.tsx":{"id":7843,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\sites\\page.tsx":{"id":4421,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\report\\page.tsx":{"id":3123,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\welcome\\page.tsx":{"id":5300,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\components\\Brand.tsx":{"id":7861,"name":"*","chunks":["8974","static/chunks/app/page-7bac6c467f34186e.js"],"async":false},"C:\\dev\\af360\\app\\settings\\page.tsx":{"id":2802,"name":"*","chunks":[],"async":false},"C:\\dev\\af360\\app\\radar\\page.tsx":{"id":9151,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"C:\\dev\\af360\\":[],"C:\\dev\\af360\\app\\layout":[{"inlined":false,"path":"static/css/fbb4cf81dde34731.css"},{"inlined":false,"path":"static/css/5ddef273a3ac3217.css"}],"C:\\dev\\af360\\app\\error":[],"C:\\dev\\af360\\app\\page":[],"C:\\dev\\af360\\app\\api\\connectors\\github\\route":[]},"rscModuleMapping":{"148":{"*":{"id":"25332","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"1163":{"*":{"id":"18071","name":"*","chunks":[],"async":false}},"1290":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"2802":{"*":{"id":"45144","name":"*","chunks":[],"async":false}},"3123":{"*":{"id":"31671","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"4421":{"*":{"id":"92417","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"5300":{"*":{"id":"17325","name":"*","chunks":[],"async":false}},"5657":{"*":{"id":"35743","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"7843":{"*":{"id":"69127","name":"*","chunks":[],"async":false}},"7861":{"*":{"id":"76417","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"9151":{"*":{"id":"79853","name":"*","chunks":[],"async":false}},"9540":{"*":{"id":"52980","name":"*","chunks":[],"async":false}},"9567":{"*":{"id":"41697","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|