beadscope 0.6.1 → 0.6.3
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +3 -3
- package/.next/required-server-files.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/agent-queue.html +1 -1
- package/.next/server/app/agent-queue.rsc +1 -1
- package/.next/server/app/agent-queue.segments/_full.segment.rsc +1 -1
- package/.next/server/app/agent-queue.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/agent-queue.segments/agent-queue/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/fs/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/activity/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/attachments/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/doctor/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/gamification/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/insights/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/order/route.js.nft.json +1 -1
- package/.next/server/app/api/p/[projectId]/publish/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/server/app/api/telemetry/route.js.nft.json +1 -1
- package/.next/server/app/api/update/check/route.js +3 -3
- package/.next/server/app/api/update/check/route.js.nft.json +1 -1
- package/.next/server/app/api/update/run/route.js +3 -3
- package/.next/server/app/api/update/run/route.js.nft.json +1 -1
- package/.next/server/app/api/viewer-mode/route.js.nft.json +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/needs-you.html +1 -1
- package/.next/server/app/needs-you.rsc +1 -1
- package/.next/server/app/needs-you.segments/_full.segment.rsc +1 -1
- package/.next/server/app/needs-you.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/needs-you.segments/needs-you/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/p/[projectId]/page.js.nft.json +1 -1
- package/.next/server/app/p/[projectId]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js +1 -1
- package/.next/server/chunks/_19tb4jcjqiyom._.js +1 -1
- package/.next/server/chunks/_19tb4jcjqiyom._.js.map +1 -1
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js +1 -1
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js.map +1 -1
- package/.next/server/chunks/ssr/_1a0tisnm12bqj._.js +2 -2
- package/.next/server/chunks/ssr/_1a0tisnm12bqj._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/middleware.js.nft.json +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/preview-props.json +3 -3
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{0w0t3l_1-utc7.js → 1berhnnvlwj-a.js} +2 -2
- package/README.md +12 -5
- package/package.json +1 -1
- /package/.next/static/{Epv1ELE5Uz6mzjftqkyRj → dmCQuxy1F19EnJNtsX7Eq}/_buildManifest.js +0 -0
- /package/.next/static/{Epv1ELE5Uz6mzjftqkyRj → dmCQuxy1F19EnJNtsX7Eq}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{Epv1ELE5Uz6mzjftqkyRj → dmCQuxy1F19EnJNtsX7Eq}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":["../../../../../.beads/metadata.json","../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../node_modules/next/dist/client/lib/console.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-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../node_modules/next/dist/lib/scheduler.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/blocking-route-messages.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.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/dynamic-rendering.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.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/segment-config/ensure-static.js","../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../node_modules/next/dist/server/app-render/sync-io-messages.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/dev/browser-logs/file-logger.js","../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../node_modules/next/dist/server/lib/app-dir-module.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/parse-stack.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/source-maps.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/node-environment-baseline.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../node_modules/next/dist/server/node-environment.js","../../../../../node_modules/next/dist/server/node-polyfill-crypto.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/patch-error-inspect.js","../../../../../node_modules/next/dist/server/require-hook.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/route-kind.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.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/instant-messages.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/lazy-dynamic/react-browser-bailout.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/promise-with-resolvers.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/parse-loader-tree.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","../../../../../node_modules/react/cjs/react.development.js","../../../../../node_modules/react/cjs/react.production.js","../../../../../node_modules/react/index.js","../../../../../node_modules/react/package.json","../../../chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js","../../../chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js","../../../chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js","../../../chunks/ssr/[root-of-the-server]__1bineosozt48c._.js","../../../chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js","../../../chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","../../../chunks/ssr/[root-of-the-server]__1w8ctgl9egn2e._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/_0_ky_k50rh6-9._.js","../../../chunks/ssr/_0aed6_5-7b0vm._.js","../../../chunks/ssr/_178w-ba_o_2e6._.js","../../../chunks/ssr/_1a0tisnm12bqj._.js","../../../chunks/ssr/_1mzldxegsozij._.js","../../../chunks/ssr/_1q3qhcu72vd3e._.js","../../../chunks/ssr/_1z56nmh78j-qf._.js","../../../chunks/ssr/_1z62_folzttt0._.js","../../../chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js","../../../chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","../../../chunks/ssr/node_modules_0h91jdk0pr40d._.js","../../../chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js","../../../chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","../../../chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js","../../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js","page/react-loadable-manifest.json","page_client-reference-manifest.js"],"fileHashes":["f9766d6d0461506d593e77d9d5e0c881","ef6ac6914a3f24c9f4a98105a3bdd310","bcdfbca94848d30153fa83f8421423d7","50bb01754878225cf6730e02b44f84d6","a5446fb306fcfec27c39f81de38ec842","9c53694dd40423680deefb5a1e3c25af","57ca86e5858543e1466b92725355539a","11eb668649d2434d25d26977b8e01e49","02186196a2cc227a67f668f00873f72a","fa8a4dd27dcbde144881044b2fa74f64","92efc99184eb4dffe99e07a90f5ad81b","18929c800606d32dc25e59d7f3455fa5","cd28bbc5151decba058dfd44bd7f47ef","a8da0851d005c95af6d4ff8b8db146ce","1f24bdbd44b8333f9d2b907f7f715922","61445cc4a73d56b154f397d2e4213b60","4e6491a35b1970e74a940d26e575216a","0bcd39f6f5be09dab16374e3bf84459e","5cbb2fcc1a3ee4e3de7554c6f9a79124","d1e9d6e75ad3a9d63cc0825ec4ebe282","b81183ad70cf2df4130a6f7853eff593","edcceea1e2a5c13a14d12f4d422f733a","92d7eec9f49250bf6325e1b4186fb521","0b3ab74e31e82ffa9b20013ed883782e","15ad04875f6d43fc8bd602b20d828566","e9f490e52cc3e3587a2db77df3631106","d1b58a4c4f4b51381ddeb76ca1920d1e","0aa24beea9e1b8ae34954feb1be5caa6","f9295c2e844d919b0be75fffe2e10989","0769df0b5a413429bc413b583f83da42","6505c89743b18298e0e22489f1d956ed","b91bcb43a2d42f6109ce4c047015aae6","d90d4f1de46d810d671d85f21ec5d352","de2c6eb509dc1730165a1357ea028eb5","b3dfb320aaae6ea703222cdf54402174","9e4f0ed67bf3efdb786e3a00dac56ae9","83975e6e8243a2191de294873810c394","33916079c6a49d35edf38970b6afa990","6aaa704a63c62578c5603d9dc7ffcb46","d590ce5b3fcb1312f204f01e8f976c15","98eb0c96f36aef4e622c41fd55ca247d","8fb4ea2a1e97dc7ad2cbbf5641b1aa23","186215f0fec2c072c8f6297af68b52be","7a4c4e16ecb22ffb0ba224fa37e94a70","31d26bb12cde118378334dd2a496085e","9a4bf6feaeaec9bbed4247a73a9afc75","5fad95c4a506729d2de7ac7b407b7e84","c2c5d8f4733a95e3e3e3dd448def1b6c","8206e8e95a4c77b71da57881f95a8a79","1acc3875adfbadf8dd6721e71e776ecd","e7f96b38034fe9c723588b54a6b339f0","693ae690349eff6a50bdda9979058199","bef9750470e394d3052dfe5a7847e9a0","75b89ad5bd589669836dd2c0b858126f","bdf448c5fe7a1fe43097b941cb41f422","4aef133981746c67d534b11bee793d8f","341ade317df8ec02b7d7b686949f05a3","59f473418a3a0c96c8ec855aa72bd02a","084cfebb994e7dc78970a525305daac3","215309237f9a05ec8f52edadcd0565bf","06301f971477597e382ec18e13f95e42","8b057ef2abe5fe7b34f1606f8a0d5968","0732b714b4806bc254dd3c8830387715","ce930365528e6b0f94d346e8a3a6c976","822ae426f96197f8b8c4a9c7a594b1ea","fe1df57b3bcb680251c3114b2179e506","3b3479748dc7ed144da24a1fe249d75e","4b5216f48144eab06a89f40a112df0f9","257d9898e707a2414595a40fd04b3f15","a52c1bfa60cdd122eb82001cf748b39b","4daf2c54f6e769ac3f1c55e2d2356e62","67530655ee6d2037c694d851f60a4d3a","72e15054e5bb83aa2714e9aa0f2a8aaa","6b2f7948ac6974ad774c08d6c090134e","71b1491964e20b67b481fddf14b86ee3","64c0567172a45f553110cf14514d76dc","f5232a6a89b9b1646513f6f36cfd6edc","b5d07886dac78261660f2fedf5296a6b","3a55a78645b57706246de6914d4ce134","438a096196cbf3f40712fc244347eced","59be47cbf4cb15affb56354159123835","0258cfa61471ed365f22acb22afd12db","28dfa4cf2be84ac882b092ae5afabf32","dbfa85b37328d28f5383d4a3929cece1","4c9c4bf389c624b596102b496c6b8c73","f1ca1feadffdf9c514fc64b055f363fd","38636bd694da4120897a2a695111039c","03f54ee64db45e6ac7025c881590f862","df6b0e8744489135e6c0c0520e07cca8","48538028ed97d91e767563f56035e684","217152373b3f900ae15ce0920bb06da9","ef229e92de99756605459456a30408f5","7101ec590f3b1fdf8b47c9d9b655b3b5","934a20040ea49112ea9a56f1e199eaea","37ac4cbd6b18d52a47105218c3573c36","5ab4d38c634c37598fc59a79eeef302f","0e683719b25734fe54ff0d118fa5e44b","a5ceecfe744045263b3b4c06e4d48cce","3a4566f4bd473c7fdfbb61f33b3fc0bb","44eca32d0e78189af01db90f90423c3f","5654b3d7d7805129b98db879f3bbd2af","1767eab6f0d5b5ce0688659a51b9327a","1f0dc12ac30b54f9bce844f5ae8b0906","179bee33252a0f823cd2d39af03e9ae6","22f2a2ad0edce5f59635f5ff2103737c","ef943c03a9ee7fc0a8c47e40de5dd470","2f6834428e05961979ccf0b57d3c9a72","9b3aaef6c81b23232f376cc714badadb","deef54fb4c402325da2038fd78856071","dd6ec877672513edabec5dabfd179515","d47786ddc62ab9cdaad4c7b9a38bb9d2","8a53755ebb136efdb940bfd9dc8bbec2","e00a5d832179933262efab3ca8e9bb83","bd95af69943c6b10d72a1520da203070","41d3d5995c60604ab07d47ae122d1262","c506d3c35e1c4acf1bf9daff7e39380e","237e69816d320f1bae3ad6314dfa713b","f2f70c9144771e554629411aeab07ad7","d77867cf713070ced8201e742aabdc63","e8618d2ebbe5398fac60a97cebac8f40","8cbb4fbcb639a1d6f7f51b0257983824","1f2a2d84af10e0885620b8e984ac9b1e","cf741a846185603d169f5d95a88d4e89","e884d243a35fdc054f81fcb981e0685e","550715ce68cb095d6bc3845192454225","c81514e7611b20bd8294ecf55a779cb8","18a54db587e2d9cc288adc127a56fe7e","875379faa21ebc5c46283718f054c05c","f538605a9ed35aab58871f857af96e2d","efafec991367cd98fc210e8f77f0d587","66950759d901320cf3012697b1cd50c4","d2600090b62538b041325f504e329de6","67883494387484a47f321cfaadd12ce2","02362441a05e1afcd0cdf92806471078","8cd27cc748b453ec0630c9f2cd36bd22","e21cdf501c44ee0b109b65e1bc0da937","43c9ccad2c0f5137e26b5c9fedfc90a2","ade65dc4c5492448751ddc73830a52f2","1220b52482fa51ad8eb863deee64d0e3","33460aacefb27ca366c20ef9ebe6d7be","f5dcc3661a93ebc7fe409e796d7f04d6","16e46fdae0f9e53f20442b629714017f","8e38a13ccecccc6bb45f7301f9f123e1"],"symlinks":[],"version":1,"entryHash":"780795064ebf68241e89f661c0a641dd"}
|
|
1
|
+
{"files":["../../../../../.beads/dolt-server.port","../../../../../.beads/metadata.json","../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../node_modules/next/dist/client/lib/console.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-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../node_modules/next/dist/lib/scheduler.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/blocking-route-messages.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.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/dynamic-rendering.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.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/segment-config/ensure-static.js","../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../node_modules/next/dist/server/app-render/sync-io-messages.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/dev/browser-logs/file-logger.js","../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../node_modules/next/dist/server/lib/app-dir-module.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/parse-stack.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/source-maps.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/node-environment-baseline.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../node_modules/next/dist/server/node-environment.js","../../../../../node_modules/next/dist/server/node-polyfill-crypto.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/patch-error-inspect.js","../../../../../node_modules/next/dist/server/require-hook.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/route-kind.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.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/instant-messages.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/lazy-dynamic/react-browser-bailout.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/promise-with-resolvers.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/parse-loader-tree.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","../../../../../node_modules/react/cjs/react.development.js","../../../../../node_modules/react/cjs/react.production.js","../../../../../node_modules/react/index.js","../../../../../node_modules/react/package.json","../../../chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js","../../../chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js","../../../chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js","../../../chunks/ssr/[root-of-the-server]__1bineosozt48c._.js","../../../chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js","../../../chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","../../../chunks/ssr/[root-of-the-server]__1w8ctgl9egn2e._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/_0_ky_k50rh6-9._.js","../../../chunks/ssr/_0aed6_5-7b0vm._.js","../../../chunks/ssr/_178w-ba_o_2e6._.js","../../../chunks/ssr/_1a0tisnm12bqj._.js","../../../chunks/ssr/_1mzldxegsozij._.js","../../../chunks/ssr/_1q3qhcu72vd3e._.js","../../../chunks/ssr/_1z56nmh78j-qf._.js","../../../chunks/ssr/_1z62_folzttt0._.js","../../../chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js","../../../chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","../../../chunks/ssr/node_modules_0h91jdk0pr40d._.js","../../../chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js","../../../chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","../../../chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js","../../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js","page/react-loadable-manifest.json","page_client-reference-manifest.js"],"fileHashes":["178957d507850840ae671e220c00eb5f","f9766d6d0461506d593e77d9d5e0c881","ef6ac6914a3f24c9f4a98105a3bdd310","bcdfbca94848d30153fa83f8421423d7","50bb01754878225cf6730e02b44f84d6","a5446fb306fcfec27c39f81de38ec842","9c53694dd40423680deefb5a1e3c25af","57ca86e5858543e1466b92725355539a","11eb668649d2434d25d26977b8e01e49","02186196a2cc227a67f668f00873f72a","fa8a4dd27dcbde144881044b2fa74f64","92efc99184eb4dffe99e07a90f5ad81b","18929c800606d32dc25e59d7f3455fa5","cd28bbc5151decba058dfd44bd7f47ef","a8da0851d005c95af6d4ff8b8db146ce","1f24bdbd44b8333f9d2b907f7f715922","61445cc4a73d56b154f397d2e4213b60","4e6491a35b1970e74a940d26e575216a","0bcd39f6f5be09dab16374e3bf84459e","5cbb2fcc1a3ee4e3de7554c6f9a79124","d1e9d6e75ad3a9d63cc0825ec4ebe282","b81183ad70cf2df4130a6f7853eff593","edcceea1e2a5c13a14d12f4d422f733a","92d7eec9f49250bf6325e1b4186fb521","0b3ab74e31e82ffa9b20013ed883782e","15ad04875f6d43fc8bd602b20d828566","e9f490e52cc3e3587a2db77df3631106","d1b58a4c4f4b51381ddeb76ca1920d1e","0aa24beea9e1b8ae34954feb1be5caa6","f9295c2e844d919b0be75fffe2e10989","0769df0b5a413429bc413b583f83da42","6505c89743b18298e0e22489f1d956ed","b91bcb43a2d42f6109ce4c047015aae6","d90d4f1de46d810d671d85f21ec5d352","de2c6eb509dc1730165a1357ea028eb5","b3dfb320aaae6ea703222cdf54402174","9e4f0ed67bf3efdb786e3a00dac56ae9","83975e6e8243a2191de294873810c394","33916079c6a49d35edf38970b6afa990","6aaa704a63c62578c5603d9dc7ffcb46","d590ce5b3fcb1312f204f01e8f976c15","98eb0c96f36aef4e622c41fd55ca247d","8fb4ea2a1e97dc7ad2cbbf5641b1aa23","186215f0fec2c072c8f6297af68b52be","7a4c4e16ecb22ffb0ba224fa37e94a70","31d26bb12cde118378334dd2a496085e","9a4bf6feaeaec9bbed4247a73a9afc75","5fad95c4a506729d2de7ac7b407b7e84","c2c5d8f4733a95e3e3e3dd448def1b6c","8206e8e95a4c77b71da57881f95a8a79","1acc3875adfbadf8dd6721e71e776ecd","e7f96b38034fe9c723588b54a6b339f0","693ae690349eff6a50bdda9979058199","bef9750470e394d3052dfe5a7847e9a0","75b89ad5bd589669836dd2c0b858126f","bdf448c5fe7a1fe43097b941cb41f422","4aef133981746c67d534b11bee793d8f","341ade317df8ec02b7d7b686949f05a3","59f473418a3a0c96c8ec855aa72bd02a","084cfebb994e7dc78970a525305daac3","215309237f9a05ec8f52edadcd0565bf","06301f971477597e382ec18e13f95e42","8b057ef2abe5fe7b34f1606f8a0d5968","0732b714b4806bc254dd3c8830387715","ce930365528e6b0f94d346e8a3a6c976","822ae426f96197f8b8c4a9c7a594b1ea","fe1df57b3bcb680251c3114b2179e506","3b3479748dc7ed144da24a1fe249d75e","4b5216f48144eab06a89f40a112df0f9","257d9898e707a2414595a40fd04b3f15","a52c1bfa60cdd122eb82001cf748b39b","4daf2c54f6e769ac3f1c55e2d2356e62","67530655ee6d2037c694d851f60a4d3a","72e15054e5bb83aa2714e9aa0f2a8aaa","6b2f7948ac6974ad774c08d6c090134e","71b1491964e20b67b481fddf14b86ee3","64c0567172a45f553110cf14514d76dc","f5232a6a89b9b1646513f6f36cfd6edc","b5d07886dac78261660f2fedf5296a6b","3a55a78645b57706246de6914d4ce134","438a096196cbf3f40712fc244347eced","59be47cbf4cb15affb56354159123835","0258cfa61471ed365f22acb22afd12db","28dfa4cf2be84ac882b092ae5afabf32","dbfa85b37328d28f5383d4a3929cece1","4c9c4bf389c624b596102b496c6b8c73","f1ca1feadffdf9c514fc64b055f363fd","38636bd694da4120897a2a695111039c","03f54ee64db45e6ac7025c881590f862","df6b0e8744489135e6c0c0520e07cca8","48538028ed97d91e767563f56035e684","217152373b3f900ae15ce0920bb06da9","ef229e92de99756605459456a30408f5","7101ec590f3b1fdf8b47c9d9b655b3b5","934a20040ea49112ea9a56f1e199eaea","37ac4cbd6b18d52a47105218c3573c36","5ab4d38c634c37598fc59a79eeef302f","0e683719b25734fe54ff0d118fa5e44b","a5ceecfe744045263b3b4c06e4d48cce","3a4566f4bd473c7fdfbb61f33b3fc0bb","44eca32d0e78189af01db90f90423c3f","5654b3d7d7805129b98db879f3bbd2af","1767eab6f0d5b5ce0688659a51b9327a","1f0dc12ac30b54f9bce844f5ae8b0906","179bee33252a0f823cd2d39af03e9ae6","22f2a2ad0edce5f59635f5ff2103737c","ef943c03a9ee7fc0a8c47e40de5dd470","2f6834428e05961979ccf0b57d3c9a72","9b3aaef6c81b23232f376cc714badadb","deef54fb4c402325da2038fd78856071","dd6ec877672513edabec5dabfd179515","d47786ddc62ab9cdaad4c7b9a38bb9d2","8a53755ebb136efdb940bfd9dc8bbec2","e00a5d832179933262efab3ca8e9bb83","bd95af69943c6b10d72a1520da203070","41d3d5995c60604ab07d47ae122d1262","c506d3c35e1c4acf1bf9daff7e39380e","237e69816d320f1bae3ad6314dfa713b","f2f70c9144771e554629411aeab07ad7","d77867cf713070ced8201e742aabdc63","e8618d2ebbe5398fac60a97cebac8f40","8cbb4fbcb639a1d6f7f51b0257983824","1f2a2d84af10e0885620b8e984ac9b1e","cf741a846185603d169f5d95a88d4e89","e884d243a35fdc054f81fcb981e0685e","550715ce68cb095d6bc3845192454225","c81514e7611b20bd8294ecf55a779cb8","710b069b03bf7bf7834d18fbe72c74ee","875379faa21ebc5c46283718f054c05c","f538605a9ed35aab58871f857af96e2d","efafec991367cd98fc210e8f77f0d587","66950759d901320cf3012697b1cd50c4","d2600090b62538b041325f504e329de6","67883494387484a47f321cfaadd12ce2","02362441a05e1afcd0cdf92806471078","8cd27cc748b453ec0630c9f2cd36bd22","e21cdf501c44ee0b109b65e1bc0da937","43c9ccad2c0f5137e26b5c9fedfc90a2","ade65dc4c5492448751ddc73830a52f2","1220b52482fa51ad8eb863deee64d0e3","33460aacefb27ca366c20ef9ebe6d7be","f5dcc3661a93ebc7fe409e796d7f04d6","16e46fdae0f9e53f20442b629714017f","7c05a2843462f0aebf94fb4023e7c49b"],"symlinks":[],"version":1,"entryHash":"780795064ebf68241e89f661c0a641dd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/p/[projectId]/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/components/providers.tsx":{"id":28739,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/components/app-shell.tsx":{"id":48026,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js","/_next/static/chunks/0u4ebx7fr1odx.js","/_next/static/chunks/44tzhac7r-s93.js","/_next/static/chunks/0wg5-h_1bcule.js","/_next/static/chunks/
|
|
2
|
+
globalThis.__RSC_MANIFEST["/p/[projectId]/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/components/providers.tsx":{"id":28739,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js"],"async":false},"[project]/components/app-shell.tsx":{"id":48026,"name":"*","chunks":["/_next/static/chunks/15m6pkeh-tntg.js","/_next/static/chunks/2ca16cvfmb3l3.js","/_next/static/chunks/2r2ur0z_2nzy9.js","/_next/static/chunks/1edn83cddp6lu.js","/_next/static/chunks/0u4ebx7fr1odx.js","/_next/static/chunks/44tzhac7r-s93.js","/_next/static/chunks/0wg5-h_1bcule.js","/_next/static/chunks/1berhnnvlwj-a.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"28739":{"*":{"id":31168,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js","server/chunks/ssr/node_modules_0h91jdk0pr40d._.js"],"async":false}},"48026":{"*":{"id":87897,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1f26q0cm350ju._.js","server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js","server/chunks/ssr/_1z62_folzttt0._.js","server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js","server/chunks/ssr/_0_ky_k50rh6-9._.js","server/chunks/ssr/_1z56nmh78j-qf._.js","server/chunks/ssr/[root-of-the-server]__1w8ctgl9egn2e._.js","server/chunks/ssr/_178w-ba_o_2e6._.js","server/chunks/ssr/_1q3qhcu72vd3e._.js","server/chunks/ssr/[root-of-the-server]__1bineosozt48c._.js","server/chunks/ssr/_1a0tisnm12bqj._.js","server/chunks/ssr/_0aed6_5-7b0vm._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":13778,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":33249,"name":"*","chunks":[],"async":false}},"28739":{"*":{"id":34062,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"48026":{"*":{"id":42602,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/0hsm618tqhuj4.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0hsm618tqhuj4.css","inlined":false}],"[project]/app/p/[projectId]/page":[{"path":"static/chunks/0hsm618tqhuj4.css","inlined":false},{"path":"static/chunks/1ix59xuhq-q14.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/15m6pkeh-tntg.js","static/chunks/2ca16cvfmb3l3.js","static/chunks/2r2ur0z_2nzy9.js","static/chunks/1edn83cddp6lu.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/15m6pkeh-tntg.js","static/chunks/2ca16cvfmb3l3.js","static/chunks/2r2ur0z_2nzy9.js","static/chunks/1edn83cddp6lu.js"],"[project]/app/p/[projectId]/page":["static/chunks/15m6pkeh-tntg.js","static/chunks/2ca16cvfmb3l3.js","static/chunks/2r2ur0z_2nzy9.js","static/chunks/1edn83cddp6lu.js","static/chunks/0u4ebx7fr1odx.js","static/chunks/44tzhac7r-s93.js","static/chunks/0wg5-h_1bcule.js","static/chunks/1berhnnvlwj-a.js"]}};
|
|
3
3
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},70406,(e,r,t)=>{r.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,r,t)=>{r.exports=e.x("node:child_process",()=>require("node:child_process"))},66680,(e,r,t)=>{r.exports=e.x("node:crypto",()=>require("node:crypto"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,r,t)=>{r.exports=e.x("node:os",()=>require("node:os"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},9069,e=>{"use strict";e.s(["K",0,"0.6.
|
|
1
|
+
module.exports=[54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},70406,(e,r,t)=>{r.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,r,t)=>{r.exports=e.x("node:child_process",()=>require("node:child_process"))},66680,(e,r,t)=>{r.exports=e.x("node:crypto",()=>require("node:crypto"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,r,t)=>{r.exports=e.x("node:os",()=>require("node:os"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},9069,e=>{"use strict";e.s(["K",0,"0.6.3","p",0,"7177cce","B",0,"sai-manoj-kumar/beadscope"])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__1-f7qk3-8a266._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},70406,(e,r,t)=>{r.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},20635,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,r,t)=>{r.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,r,t)=>{r.exports=e.x("node:os",()=>require("node:os"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},9069,e=>{"use strict";e.s(["K",0,"0.6.
|
|
1
|
+
module.exports=[54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},70406,(e,r,t)=>{r.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},20635,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,r,t)=>{r.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,r,t)=>{r.exports=e.x("node:os",()=>require("node:os"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},9069,e=>{"use strict";e.s(["K",0,"0.6.3","p",0,"7177cce","B",0,"sai-manoj-kumar/beadscope"])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__1zrubp2jc8bi0._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[4520,e=>{var t=e.i(73744),r=e.i(60759),a=e.i(71724),n=e.i(27526),i=e.i(5954);let o=a.z.object({channel:n.z.enum(["stable","development"]),sha:i.z.string().regex(/^[a-f0-9]{40}$/),tag:i.z.string().max(100).optional()});async function s(e){try{let a=await (0,r.O)(o.parse(await e.json()));return a.restarting&&setTimeout(()=>process.exit(r.D),750),(0,t.N)(a)}catch(e){return(0,t.O)(e)}}e.s(["POST",0,s,"dynamic",0,"force-dynamic","runtime",0,"nodejs"])},93248,e=>{var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),s=e.i(69741),l=e.i(16795),u=e.i(87718),d=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(74838),v=e.i(10372),m=e.i(93695),w=e.i(9580);e.i(52474);var R=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/update/run/route",pathname:"/api/update/run",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/update/run/route.ts",nextConfigOutput:"",userland:()=>e.r(4520),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:y,serverHooks:E}=x;async function C(e,t,a){a.requestMeta&&(0,n.R)(e,a.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/update/run/route";g=g.replace(/\/index$/,"")||"/";let y=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,deploymentId:C,params:b,nextConfig:P,parsedUrl:T,isDraftMode:A,prerenderManifest:S,routerServerContext:O,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,resolvedPathname:q,clientReferenceManifest:M,serverActionsManifest:D,previewProps:I}=y,N=(0,s.f)(g),_=!!S.routes[q]&&(x.isDev||(0,w.f)(q,x.cacheOwner,S.routes[q])),j=!!(S.dynamicRoutes[N]||_),H=async()=>((null==O?void 0:O.render404)?await O.render404(e,t,T,!1):t.end("This page could not be found"),null);if(j&&!A){let e=S.dynamicRoutes[N];if(e&&!1===e.fallback&&!_){if(P.adapterPath)return await H();throw new m.NoFallbackError}}let $=null;!j||x.isDev||A||($="/index"===($=q)?"/":$),D&&M&&(0,o.f)({page:g,clientReferenceManifest:M,serverActionsManifest:D});let L=e.method||"GET",G=(0,i.v)(),z=G.getActiveScopeSpan(),B=!!(null==O?void 0:O.isWrappedByNextServer),F=!!(0,n.w)(e,"minimalMode"),K=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,P,I,S,F);null==K||K.resetRequestCache(),globalThis.__incrementalCache=K;let V={params:b,previewProps:I,renderOpts:{experimental:{authInterrupts:!!P.experimental.authInterrupts,useCacheTimeout:P.experimental.useCacheTimeout,durableUseCacheEntries:!!P.experimental.durableUseCacheEntries},cacheComponents:!!P.cacheComponents,validationLevel:P.experimental.instantInsights.validationLevel,isDraftMode:A,incrementalCache:K,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:P.cacheLife,staticPageGenerationTimeout:P.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:E,deploymentId:C}},J=new l.x(e),Q=new l.e(t),W=u.k.fromNodeNextRequest(J,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!F&&U&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===$?await x.handle(W,V):await x.prerender(W,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let i=V.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let o=V.renderOpts.collectedTags;if(!j)return await (0,p.f)(J,Q,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);o&&(t[v.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=v.Q)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.Q?!1!==r&&r>0?P.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:R.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==$,isOnDemandRevalidate:U})},!1,O),t}},X=async(n,o)=>{try{var s,l;let n=await x.handleResponse({req:e,nextConfig:P,cacheKey:$,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:I,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:F});if(null!==n&&"error"in n)throw n.error;if(!j)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==R.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`);F||t.setHeader("x-nextjs-cache",U?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);F&&j||i.delete(v.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(J,Q,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(r){if(r instanceof m.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==$,isOnDemandRevalidate:U})},!1,O),j)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(J,Q,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=G.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||N,s=`${L} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(s))})()}};if(B&&z)await X(z,void 0);else{let t=G.getActiveScopeSpan();await G.withPropagatedContext(e.headers,()=>G.trace(d.q.handleRequest,{spanName:`${L} ${g}`,kind:i.C.SERVER,attributes:{"http.method":L,"http.target":e.url}},e=>X(e,t)),void 0,!B)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:g,workUnitAsyncStorage:y})},"routeModule",0,x,"serverHooks",0,E,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,y])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[4520,e=>{var t=e.i(73744),r=e.i(60759),a=e.i(71724),n=e.i(27526),i=e.i(5954);let o=a.z.object({channel:n.z.enum(["stable","development"]),sha:i.z.string().regex(/^[a-f0-9]{40}$/).optional(),tag:i.z.string().max(100).optional()});async function s(e){try{let a=await (0,r.O)(o.parse(await e.json()));return a.restarting&&setTimeout(()=>process.exit(r.D),750),(0,t.N)(a)}catch(e){return(0,t.O)(e)}}e.s(["POST",0,s,"dynamic",0,"force-dynamic","runtime",0,"nodejs"])},93248,e=>{var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),s=e.i(69741),l=e.i(16795),u=e.i(87718),d=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(74838),v=e.i(10372),m=e.i(93695),w=e.i(9580);e.i(52474);var R=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/update/run/route",pathname:"/api/update/run",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/update/run/route.ts",nextConfigOutput:"",userland:()=>e.r(4520),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:y,serverHooks:E}=x;async function C(e,t,a){a.requestMeta&&(0,n.R)(e,a.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/update/run/route";g=g.replace(/\/index$/,"")||"/";let y=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,deploymentId:C,params:b,nextConfig:P,parsedUrl:T,isDraftMode:A,prerenderManifest:S,routerServerContext:O,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,resolvedPathname:q,clientReferenceManifest:M,serverActionsManifest:D,previewProps:I}=y,N=(0,s.f)(g),_=!!S.routes[q]&&(x.isDev||(0,w.f)(q,x.cacheOwner,S.routes[q])),j=!!(S.dynamicRoutes[N]||_),H=async()=>((null==O?void 0:O.render404)?await O.render404(e,t,T,!1):t.end("This page could not be found"),null);if(j&&!A){let e=S.dynamicRoutes[N];if(e&&!1===e.fallback&&!_){if(P.adapterPath)return await H();throw new m.NoFallbackError}}let $=null;!j||x.isDev||A||($="/index"===($=q)?"/":$),D&&M&&(0,o.f)({page:g,clientReferenceManifest:M,serverActionsManifest:D});let L=e.method||"GET",G=(0,i.v)(),z=G.getActiveScopeSpan(),B=!!(null==O?void 0:O.isWrappedByNextServer),F=!!(0,n.w)(e,"minimalMode"),K=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,P,I,S,F);null==K||K.resetRequestCache(),globalThis.__incrementalCache=K;let V={params:b,previewProps:I,renderOpts:{experimental:{authInterrupts:!!P.experimental.authInterrupts,useCacheTimeout:P.experimental.useCacheTimeout,durableUseCacheEntries:!!P.experimental.durableUseCacheEntries},cacheComponents:!!P.cacheComponents,validationLevel:P.experimental.instantInsights.validationLevel,isDraftMode:A,incrementalCache:K,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:P.cacheLife,staticPageGenerationTimeout:P.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:E,deploymentId:C}},J=new l.x(e),Q=new l.e(t),W=u.k.fromNodeNextRequest(J,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!F&&U&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===$?await x.handle(W,V):await x.prerender(W,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let i=V.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let o=V.renderOpts.collectedTags;if(!j)return await (0,p.f)(J,Q,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);o&&(t[v.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=v.Q)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.Q?!1!==r&&r>0?P.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:R.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==$,isOnDemandRevalidate:U})},!1,O),t}},X=async(n,o)=>{try{var s,l;let n=await x.handleResponse({req:e,nextConfig:P,cacheKey:$,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:I,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:F});if(null!==n&&"error"in n)throw n.error;if(!j)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==R.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`);F||t.setHeader("x-nextjs-cache",U?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);F&&j||i.delete(v.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(J,Q,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(r){if(r instanceof m.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==$,isOnDemandRevalidate:U})},!1,O),j)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(J,Q,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=G.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||N,s=`${L} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(s))})()}};if(B&&z)await X(z,void 0);else{let t=G.getActiveScopeSpan();await G.withPropagatedContext(e.headers,()=>G.trace(d.q.handleRequest,{spanName:`${L} ${g}`,kind:i.C.SERVER,attributes:{"http.method":L,"http.target":e.url}},e=>X(e,t)),void 0,!B)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:g,workUnitAsyncStorage:y})},"routeModule",0,x,"serverHooks",0,E,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,y])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_19tb4jcjqiyom._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../app/api/update/run/route.ts","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { ok, fail } from \"@/lib/api\";\nimport { runUpdate, RESTART_EXIT_CODE } from \"@/lib/self-update\";\nimport { z } from \"zod\";\nexport const runtime = \"nodejs\";\nexport const dynamic = \"force-dynamic\";\nconst targetSchema = z.object({ channel: z.enum([\"stable\", \"development\"]), sha: z.string().regex(/^[a-f0-9]{40}$/), tag: z.string().max(100).optional() });\nexport async function POST(request: Request) {\n try {\n const result = await runUpdate(targetSchema.parse(await request.json()));\n if (result.restarting) setTimeout(() => process.exit(RESTART_EXIT_CODE), 750);\n return ok(result);\n } catch (e) { return fail(e); }\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["runtime","dynamic","targetSchema","object","channel","enum","sha","string","regex","tag","max","optional","POST","request","result","parse","json","restarting","setTimeout","process","exit","e","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","req","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","headers","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","status","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","error","Error","isMiss","delete","getHeader","get","set","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","name","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","url","span"],"mappings":"4CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,MAGA,IAAME,EAAe,EAAA,CAAC,CAACC,MAAM,CAAC,CAAEC,QAAS,EAAA,CAAC,CAACC,IAAI,CAAC,CAAC,SAAU,cAAc,EAAGC,IAAK,EAAA,CAAC,CAACC,MAAM,GAAGC,KAAK,CAAC,kBA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AAA,CAAAA,CAAegL,aAAa,CAC5B,OACAC,QAAQC,IAAI,CACV,CAAC,2BAA2B,EAAEJ,EAAmBf,GAAG,CAClD,kBACA,qEAAqE,CAAC,EAK5E,IAAMoB,EAAQL,EAAmBf,GAAG,CAAC,eAAiB5F,EAChDsG,EAAO,CAAA,EAAG1F,EAAO,CAAC,EAAEoG,EAAAA,CAAO,CAEjC9B,EAAYuB,aAAa,CAAC,CACxB,aAAcO,EACd,aAAcA,EACd,iBAAkBV,CACpB,GACApB,EAAY+B,UAAU,CAACX,GAInBnB,GAAcA,IAAeD,IAC/BC,EAAWkB,OADiC,KACrB,CAAC,aAAcW,GACtC7B,EAAW8B,UAAU,CAACX,GAE1B,CAAA,GACF,CACF,EAIA,GAAItF,GAAyBF,EAC3B,MAAMmE,EAAenE,EADkB,KACN0B,OAC5B,CACL,IAAI2C,EAAatE,EAAOE,kBAAkB,EAC1C,OAAMF,EAAOqG,qBAAqB,CAChClJ,EAAIyF,OAAO,CACX,IACE5C,EAAOsG,KAAK,CACVtL,EAAAA,CAAAA,CAAegL,aAAa,CAC5B,CACEO,SAAU,CAAA,EAAGxG,EAAO,CAAC,EAAErC,EAAAA,CAAS,CAChC7B,KAAMrB,EAAAA,CAAAA,CAASgM,MAAM,CACrBC,WAAY,CACV,cAAe1G,EACf,cAAe5C,EAAIuJ,GACrB,AADwB,CAE1B,EACA,AAACC,GAASvC,EAAeuC,EAAMrC,SAEnC3C,EACA,CAACxB,EAEL,CACF,mCA9gBA,SAASjG,EACP,MAAA,CAAA,EAAOC,EAAAA,CAAAA,EAAY,kBACjB4C,uBACAC,CACF,EACF","ignoreList":[1]}
|
|
1
|
+
{"version":3,"sources":["../../../app/api/update/run/route.ts","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { ok, fail } from \"@/lib/api\";\nimport { runUpdate, RESTART_EXIT_CODE } from \"@/lib/self-update\";\nimport { z } from \"zod\";\nexport const runtime = \"nodejs\";\nexport const dynamic = \"force-dynamic\";\nconst targetSchema = z.object({ channel: z.enum([\"stable\", \"development\"]), sha: z.string().regex(/^[a-f0-9]{40}$/).optional(), tag: z.string().max(100).optional() });\nexport async function POST(request: Request) {\n try {\n const result = await runUpdate(targetSchema.parse(await request.json()));\n if (result.restarting) setTimeout(() => process.exit(RESTART_EXIT_CODE), 750);\n return ok(result);\n } catch (e) { return fail(e); }\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["runtime","dynamic","targetSchema","object","channel","enum","sha","string","regex","optional","tag","max","POST","request","result","parse","json","restarting","setTimeout","process","exit","e","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","req","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","headers","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","status","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","error","Error","isMiss","delete","getHeader","get","set","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","name","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","url","span"],"mappings":"4CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,MAGA,IAAME,EAAe,EAAA,CAAC,CAACC,MAAM,CAAC,CAAEC,QAAS,EAAA,CAAC,CAACC,IAAI,CAAC,CAAC,SAAU,cAAc,EAAGC,IAAK,EAAA,CAAC,CAACC,MAAM,GAAGC,KAAK,CAAC,kBAAkBC,QAAQ,GAAIC,IAAK,EAAA,CAAC,CAACH,MAAM,GAAGI,GAAG,CAAC,KAAKF,QAAQ,EAAG,GAC7J,eAAeG,EAAKC,CAAgB,EACzC,GAAI,CACF,IAAMC,EAAS,MAAM,CAAA,EAAA,EAAA,CAAA,AAAS,EAACZ,EAAaa,KAAK,CAAC,MAAMF,EAAQG,IAAI,KAEpE,OADIF,EAAOG,UAAU,EAAEC,WAAW,IAAMC,QAAQC,IAAI,CAAC,EAAA,CAAiB,EAAG,KAClE,CAAA,EAAA,EAAA,CAAA,AAAE,EAACN,EACZ,CAAE,MAAOO,EAAG,CAAE,MAAO,CAAA,EAAA,EAAA,CAAA,AAAI,EAACA,EAAI,CAChC,6BARuB,4BADA,sBCHvB,IAAA,EAIO,EAAA,CAHLC,AAGK,CAAA,OACP,EAA0B,EAAyB,CAA1CC,AAA0C,CAAA,GAAA,EAJ9B,EAKrB,CADkB,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MF,EAAOqG,qBAAqB,CAChClJ,EAAIyF,OAAO,CACX,IACE5C,EAAOsG,KAAK,CACVtL,EAAAA,CAAAA,CAAegL,aAAa,CAC5B,CACEO,SAAU,CAAA,EAAGxG,EAAO,CAAC,EAAErC,EAAAA,CAAS,CAChC7B,KAAMrB,EAAAA,CAAAA,CAASgM,MAAM,CACrBC,WAAY,CACV,cAAe1G,EACf,cAAe5C,EAAIuJ,GAAG,AACxB,CACF,EACA,AAACC,GAASvC,EAAeuC,EAAMrC,SAEnC3C,EACA,CAACxB,EAEL,CACF,mCA9gBA,SAASjG,EACP,MAAA,CAAA,EAAOC,EAAAA,CAAAA,EAAY,kBACjB4C,uBACAC,CACF,EACF","ignoreList":[1]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[60759,e=>{"use strict";var a=e.i(74533),t=e.i(12057),r=e.i(2157),
|
|
1
|
+
module.exports=[60759,e=>{"use strict";var a=e.i(74533),t=e.i(12057),r=e.i(2157),n=e.i(50227);let i=(0,t.promisify)(a.execFile),o=/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/;function s(e){let a=/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.exec(e);if(!a)throw Error("Invalid version metadata. Check the release instructions.");return{numbers:a.slice(1,4).map(Number),prerelease:!!a[4]}}function l(e,a){let t=s(e),r=s(a);for(let e=0;e<3;e++)if(t.numbers[e]!==r.numbers[e])return t.numbers[e]>r.numbers[e];return r.prerelease}var u=e.i(9069);let c=function(e){let a,t,{cwd:s,version:u,repository:c}=e,d=e.remote??`https://github.com/${c}.git`,h=e.fetch??fetch,p=e.run??((e,a,t)=>i(e,a,t)),f=!1,m=!1,w=()=>r.default.existsSync(n.default.join(s,".git")),g=async(...e)=>(await p("git",e,{cwd:s,timeout:2e4,maxBuffer:4194304})).stdout.trim();async function b(e){let a=await h(`https://api.github.com/repos/${c}/releases/${e?`tags/${encodeURIComponent(e)}`:"latest"}`,{headers:{Accept:"application/vnd.github+json"},signal:AbortSignal.timeout(1e4),cache:"no-store"});if(404===a.status&&!e)return null;if(!a.ok)throw Error(`Release check unavailable (${a.status}). Try again later.`);let t=await a.json();if(t.draft||t.prerelease||"string"!=typeof t.tag_name||!o.test(t.tag_name)||e&&t.tag_name!==e)throw Error("Invalid stable release metadata.");return t.tag_name}async function v(){return a&&a.until>Date.now()?a.value:(t||(t=b().then(e=>(a={value:e,until:Date.now()+3e5},e)).finally(()=>{t=void 0})),t)}async function y(e,a){let t="stable"===e?`refs/tags/${a}`:"refs/heads/main",r=[...new Map((await g("ls-remote",d,t,`${t}^{}`)).split("\n").map(e=>e.split(/\s+/)))],n=r.find(([,e])=>e===`${t}^{}`)?.[0]??r.find(([,e])=>e===t)?.[0];if(!n||!/^[a-f0-9]{40}$/.test(n))throw Error("The update target is unavailable.");return n}function k(){if(w())return{kind:"git"};try{let e=r.default.realpathSync(s),a=n.default.dirname(e),t=JSON.parse(r.default.readFileSync(n.default.join(e,"package.json"),"utf8")),i=n.default.dirname(a);if("win32"===process.platform||"beadscope"!==t.name||"node_modules"!==n.default.basename(a)||"lib"!==n.default.basename(i)||/[\\/]Cellar[\\/]|_npx/.test(e))return{kind:"manual"};let o=n.default.dirname(i);try{r.default.accessSync(a,r.default.constants.W_OK)}catch{return{kind:"npm",prefix:o,problem:"This npm installation is not writable by the Beadscope server. Run `sudo npm install -g beadscope` yourself, then restart Beadscope."}}return{kind:"npm",prefix:o}}catch{return{kind:"manual"}}}async function S(){if(!w())return"This installation needs a manual update. Run `npm install -g beadscope` or `brew upgrade beadscope`, then `beadscope stop` and `beadscope start`; for a source download or Docker, follow the release notes.";let e=await g("branch","--show-current");return e&&"main"!==e?"Switch to the main branch before updating; your working branch will not be changed.":await g("status","--porcelain")?"Your checkout has uncommitted changes. Commit or stash them before updating.":void 0}async function $(a,t){if(t.problem)throw Error(t.problem);if(await b(a),!l(a,u))throw Error("This release is not newer than the running version.");let i=a.replace(/^v/,""),o=[];try{let e=await p("npm",["install","-g","--prefix",t.prefix,`beadscope@${i}`,"--no-audit","--no-fund"],{cwd:t.prefix,timeout:3e5,maxBuffer:0x4000000});o.push({name:`Install beadscope ${i} with npm`,ok:!0,output:`${e.stdout}${e.stderr}`.slice(-4e3)})}catch(a){let e=`${a.stderr||a.message||""}`.trim().split("\n").filter(Boolean).at(-1)?.slice(0,200)??"";throw Error(`npm could not install beadscope ${i}${a.code?` (${a.code})`:""}${e?`: ${e.replace(/[.\s]+$/,"")}`:""}. A new release can take a few minutes to reach npm; try again shortly, or run \`npm install -g beadscope\` yourself.`)}let c="";try{c=JSON.parse(r.default.readFileSync(n.default.join(s,"package.json"),"utf8")).version}catch{}if(c!==i)throw Error(`The installed version (${c||"unknown"}) is not ${i}. Run \`npm install -g beadscope\` yourself, then restart.`);return{ok:!0,steps:o,restarting:m=!!e.supervised,fromSha:u,toSha:i}}return{check:async function(a="stable"){let t={channel:a,currentVersion:u,isGitRepo:w(),supervised:!!e.supervised,updateAvailable:!1,canUpdate:!1,behind:0,localSha:"",remoteSha:"",installKind:k().kind};try{if("stable"===a){let e=await v();if(!e||(t.latestVersion=e.replace(/^v/,""),t.releaseUrl=`https://github.com/${c}/releases/tag/${encodeURIComponent(e)}`,t.updateAvailable=l(e,u),!t.updateAvailable))return t;let r=k();if("npm"===r.kind)return t.manualReason=r.problem,t.target={channel:a,tag:e},t.canUpdate=!r.problem,t;if(t.manualReason=await S(),!t.isGitRepo)return t;t.localSha=await g("rev-parse","HEAD"),t.remoteSha=await y(a,e),t.target={channel:a,tag:e,sha:t.remoteSha}}else{if(!t.isGitRepo)return{...t,manualReason:"Development updates require a Git checkout."};t.localSha=await g("rev-parse","HEAD"),t.remoteSha=await y(a),await g("fetch","--quiet","--no-tags","--no-write-fetch-head",d,t.remoteSha),t.behind=Number(await g("rev-list","--count",`HEAD..${t.remoteSha}`));let r=!!e.buildSha&&!t.localSha.startsWith(e.buildSha);t.updateAvailable=t.behind>0||r&&t.localSha===t.remoteSha,t.target={channel:a,sha:t.remoteSha},t.manualReason=await S()}return t.canUpdate=t.updateAvailable&&!t.manualReason,t}catch(e){return{...t,canUpdate:!1,error:e.message}}},update:async function(a){if(f)throw Error("An update is already running.");f=!0;try{if(!a||!["stable","development"].includes(a.channel)||"stable"===a.channel&&(!a.tag||!o.test(a.tag)))throw Error("Invalid update target. Check for updates again.");let t=k();if("npm"===t.kind&&"stable"===a.channel)return await $(a.tag,t);if(!a.sha||!/^[a-f0-9]{40}$/.test(a.sha))throw Error("Invalid update target. Check for updates again.");let r=a.sha;if(!w())throw Error("A Git checkout is required for in-app updates. See the release instructions.");let n=await S();if(n)throw Error(n);if("stable"===a.channel&&(await b(a.tag),!l(a.tag,u)))throw Error("This release is not newer than the running version.");if(await y(a.channel,a.tag)!==r)throw Error("The advertised update target changed. Check for updates again.");if(await g("fetch","--quiet","--no-tags","--no-write-fetch-head",d,r),"stable"===a.channel){let e=JSON.parse(await g("show",`${r}:package.json`));if("beadscope"!==e.name||e.version!==a.tag.replace(/^v/,""))throw Error("Release tag and package version do not match.")}let i=await g("rev-parse","HEAD");try{await g("merge-base","--is-ancestor",i,r)}catch{throw Error("Your checkout has diverged from this update. A fast-forward is required; no local work was overwritten.")}let c=await S();if(c)throw Error(c);if(await g("rev-parse","HEAD")!==i)throw Error("The checkout changed while preparing the update. Try again.");let h=[],f=async(e,a,t)=>{try{let r=await p(a,t,{cwd:s,timeout:3e5,maxBuffer:0x4000000});h.push({name:e,ok:!0,output:`${r.stdout}${r.stderr}`.slice(-4e3)})}catch{throw Error(`${e} failed. Source files may already be updated; fix the problem and retry, or rebuild manually.`)}};await f("Install selected source version","git",["merge","--ff-only",r]);let v=await g("rev-parse","HEAD");if(v!==r)throw Error("The checkout does not match the selected update.");return await f("Install dependencies","npm",["ci","--include=dev","--no-audit","--no-fund"]),await f("Build app","npm",["run","build"]),m=!!e.supervised,{ok:!0,steps:h,restarting:m,fromSha:i,toSha:v}}finally{m||(f=!1)}}}}({cwd:process.cwd(),version:u.K,buildSha:u.p,repository:u.B,supervised:"1"===process.env.BEADSCOPE_SUPERVISED}),d=c.check,h=c.update;e.s(["D",0,75,"Y",0,d,"O",0,h],60759)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=lib_self-update_ts_1s_0im4leryko._.js.map
|