beadscope 0.0.0-stage → 0.5.0
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 -0
- package/.next/app-path-routes-manifest.json +35 -0
- package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js +502 -0
- package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js.map +11 -0
- package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js +191 -0
- package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js.map +8 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js +13 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js.map +5 -0
- package/.next/build/chunks/[turbopack]_runtime.js +1056 -0
- package/.next/build/chunks/[turbopack]_runtime.js.map +11 -0
- package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js +7240 -0
- package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js.map +47 -0
- package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js +6 -0
- package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js.map +5 -0
- package/.next/build/package.json +1 -0
- package/.next/build-manifest.json +69 -0
- package/.next/export-marker.json +6 -0
- package/.next/fallback-build-manifest.json +15 -0
- package/.next/images-manifest.json +68 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +193 -0
- package/.next/required-server-files.js +379 -0
- package/.next/required-server-files.json +379 -0
- package/.next/routes-manifest.json +293 -0
- package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_global-error/page/build-manifest.json +22 -0
- package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_global-error/page.js +10 -0
- package/.next/server/app/_global-error/page.js.map +5 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_global-error.html +1 -0
- package/.next/server/app/_global-error.meta +30 -0
- package/.next/server/app/_global-error.rsc +19 -0
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +24 -0
- package/.next/server/app/_global-error.segments/_full.segment.rsc +19 -0
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_not-found/page/build-manifest.json +22 -0
- package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_not-found/page.js +13 -0
- package/.next/server/app/_not-found/page.js.map +5 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_not-found.html +12 -0
- package/.next/server/app/_not-found.meta +35 -0
- package/.next/server/app/_not-found.rsc +25 -0
- package/.next/server/app/_not-found.segments/_full.segment.rsc +25 -0
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +31 -0
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/api/config/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/config/route/build-manifest.json +12 -0
- package/.next/server/app/api/config/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/config/route.js +11 -0
- package/.next/server/app/api/config/route.js.map +5 -0
- package/.next/server/app/api/config/route.js.nft.json +1 -0
- package/.next/server/app/api/config/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/fs/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/fs/route/build-manifest.json +12 -0
- package/.next/server/app/api/fs/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/fs/route.js +10 -0
- package/.next/server/app/api/fs/route.js.map +5 -0
- package/.next/server/app/api/fs/route.js.nft.json +1 -0
- package/.next/server/app/api/fs/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/activity/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/activity/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/activity/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/activity/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/attachments/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js +8 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/doctor/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js +12 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/gamification/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/insights/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/insights/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/insights/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js +12 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/insights/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/order/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/order/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/order/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/order/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/order/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/order/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/order/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/publish/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/publish/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/publish/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js +14 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/publish/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/projects/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/projects/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/projects/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/projects/[id]/route.js +11 -0
- package/.next/server/app/api/projects/[id]/route.js.map +5 -0
- package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/projects/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/projects/route/build-manifest.json +12 -0
- package/.next/server/app/api/projects/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/projects/route.js +10 -0
- package/.next/server/app/api/projects/route.js.map +5 -0
- package/.next/server/app/api/projects/route.js.nft.json +1 -0
- package/.next/server/app/api/projects/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/telemetry/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/telemetry/route/build-manifest.json +12 -0
- package/.next/server/app/api/telemetry/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/telemetry/route.js +8 -0
- package/.next/server/app/api/telemetry/route.js.map +5 -0
- package/.next/server/app/api/telemetry/route.js.nft.json +1 -0
- package/.next/server/app/api/telemetry/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/update/check/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/update/check/route/build-manifest.json +12 -0
- package/.next/server/app/api/update/check/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/update/check/route.js +11 -0
- package/.next/server/app/api/update/check/route.js.map +5 -0
- package/.next/server/app/api/update/check/route.js.nft.json +1 -0
- package/.next/server/app/api/update/check/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/update/run/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/update/run/route/build-manifest.json +12 -0
- package/.next/server/app/api/update/run/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/update/run/route.js +11 -0
- package/.next/server/app/api/update/run/route.js.map +5 -0
- package/.next/server/app/api/update/run/route.js.nft.json +1 -0
- package/.next/server/app/api/update/run/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/viewer-mode/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/viewer-mode/route/build-manifest.json +12 -0
- package/.next/server/app/api/viewer-mode/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/viewer-mode/route.js +10 -0
- package/.next/server/app/api/viewer-mode/route.js.map +5 -0
- package/.next/server/app/api/viewer-mode/route.js.nft.json +1 -0
- package/.next/server/app/api/viewer-mode/route_client-reference-manifest.js +3 -0
- package/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
- package/.next/server/app/apple-icon.png/route/build-manifest.json +12 -0
- package/.next/server/app/apple-icon.png/route.js +8 -0
- package/.next/server/app/apple-icon.png/route.js.map +5 -0
- package/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
- package/.next/server/app/apple-icon.png.body +0 -0
- package/.next/server/app/apple-icon.png.meta +1 -0
- package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
- package/.next/server/app/favicon.ico/route/build-manifest.json +12 -0
- package/.next/server/app/favicon.ico/route.js +8 -0
- package/.next/server/app/favicon.ico/route.js.map +5 -0
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/favicon.ico.meta +1 -0
- package/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/.next/server/app/icon.svg/route/build-manifest.json +12 -0
- package/.next/server/app/icon.svg/route.js +8 -0
- package/.next/server/app/icon.svg/route.js.map +5 -0
- package/.next/server/app/icon.svg/route.js.nft.json +1 -0
- package/.next/server/app/icon.svg.body +1 -0
- package/.next/server/app/icon.svg.meta +1 -0
- package/.next/server/app/index.html +12 -0
- package/.next/server/app/index.meta +29 -0
- package/.next/server/app/index.rsc +27 -0
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +30 -0
- package/.next/server/app/index.segments/_full.segment.rsc +27 -0
- package/.next/server/app/index.segments/_tree.segment.rsc +5 -0
- package/.next/server/app/p/[projectId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/p/[projectId]/page/build-manifest.json +22 -0
- package/.next/server/app/p/[projectId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/p/[projectId]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/p/[projectId]/page/server-reference-manifest.json +4 -0
- package/.next/server/app/p/[projectId]/page.js +15 -0
- package/.next/server/app/p/[projectId]/page.js.map +5 -0
- package/.next/server/app/p/[projectId]/page.js.nft.json +1 -0
- package/.next/server/app/p/[projectId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/page/app-paths-manifest.json +3 -0
- package/.next/server/app/page/build-manifest.json +22 -0
- package/.next/server/app/page/next-font-manifest.json +11 -0
- package/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/page/server-reference-manifest.json +4 -0
- package/.next/server/app/page.js +14 -0
- package/.next/server/app/page.js.map +5 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +3 -0
- package/.next/server/app-paths-manifest.json +35 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js.map +1 -0
- package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js +3 -0
- package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js.map +1 -0
- package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js +3 -0
- package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js.map +1 -0
- package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js +3 -0
- package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js.map +1 -0
- package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js +3 -0
- package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js.map +1 -0
- package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js +3 -0
- package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js +327 -0
- package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js.map +1 -0
- package/.next/server/chunks/[turbopack]_runtime.js +937 -0
- package/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/_004qegokrf7fy._.js +3 -0
- package/.next/server/chunks/_004qegokrf7fy._.js.map +1 -0
- package/.next/server/chunks/_013mswtsyfnoo._.js +3 -0
- package/.next/server/chunks/_013mswtsyfnoo._.js.map +1 -0
- package/.next/server/chunks/_0gij0z-co_3s4._.js +3 -0
- package/.next/server/chunks/_0gij0z-co_3s4._.js.map +1 -0
- package/.next/server/chunks/_0gjygs98zpepc._.js +3 -0
- package/.next/server/chunks/_0gjygs98zpepc._.js.map +1 -0
- package/.next/server/chunks/_0grrkbm3e2o1h._.js +3 -0
- package/.next/server/chunks/_0grrkbm3e2o1h._.js.map +1 -0
- package/.next/server/chunks/_0j2w6pi0oz3ag._.js +3 -0
- package/.next/server/chunks/_0j2w6pi0oz3ag._.js.map +1 -0
- package/.next/server/chunks/_0kd1hwufqyhnn._.js +3 -0
- package/.next/server/chunks/_0kd1hwufqyhnn._.js.map +1 -0
- package/.next/server/chunks/_0sr--n5b--0bk._.js +3 -0
- package/.next/server/chunks/_0sr--n5b--0bk._.js.map +1 -0
- package/.next/server/chunks/_0tuzzupepjznm._.js +3 -0
- package/.next/server/chunks/_0tuzzupepjznm._.js.map +1 -0
- package/.next/server/chunks/_0vx1iev9xu_vx._.js +329 -0
- package/.next/server/chunks/_0vx1iev9xu_vx._.js.map +1 -0
- package/.next/server/chunks/_0wemi40xtpagp._.js +3 -0
- package/.next/server/chunks/_0wemi40xtpagp._.js.map +1 -0
- package/.next/server/chunks/_0wh8igpovqaep._.js +3 -0
- package/.next/server/chunks/_0wh8igpovqaep._.js.map +1 -0
- package/.next/server/chunks/_10s9tyeasgb0i._.js +3 -0
- package/.next/server/chunks/_10s9tyeasgb0i._.js.map +1 -0
- package/.next/server/chunks/_10uu_24l62-_0._.js +3 -0
- package/.next/server/chunks/_10uu_24l62-_0._.js.map +1 -0
- package/.next/server/chunks/_111ja8xkcaayx._.js +3 -0
- package/.next/server/chunks/_111ja8xkcaayx._.js.map +1 -0
- package/.next/server/chunks/_146xyuw6iu78n._.js +3 -0
- package/.next/server/chunks/_146xyuw6iu78n._.js.map +1 -0
- package/.next/server/chunks/_170e1_rlfsf03._.js +3 -0
- package/.next/server/chunks/_170e1_rlfsf03._.js.map +1 -0
- package/.next/server/chunks/_18ktg21m5ffu5._.js +3 -0
- package/.next/server/chunks/_18ktg21m5ffu5._.js.map +1 -0
- package/.next/server/chunks/_19tb4jcjqiyom._.js +3 -0
- package/.next/server/chunks/_19tb4jcjqiyom._.js.map +1 -0
- package/.next/server/chunks/_1ffeeaqyjdqzf._.js +3 -0
- package/.next/server/chunks/_1ffeeaqyjdqzf._.js.map +1 -0
- package/.next/server/chunks/_1k3na_-a86gbn._.js +3 -0
- package/.next/server/chunks/_1k3na_-a86gbn._.js.map +1 -0
- package/.next/server/chunks/_1kwx_epvqg4do._.js +3 -0
- package/.next/server/chunks/_1kwx_epvqg4do._.js.map +1 -0
- package/.next/server/chunks/_1mxn_lbuesj3_._.js +3 -0
- package/.next/server/chunks/_1mxn_lbuesj3_._.js.map +1 -0
- package/.next/server/chunks/_1n-6yntr59hz-._.js +3 -0
- package/.next/server/chunks/_1n-6yntr59hz-._.js.map +1 -0
- package/.next/server/chunks/_1o0e0kk3zhmfk._.js +3 -0
- package/.next/server/chunks/_1o0e0kk3zhmfk._.js.map +1 -0
- package/.next/server/chunks/_1qxheoabqmzqk._.js +3 -0
- package/.next/server/chunks/_1qxheoabqmzqk._.js.map +1 -0
- package/.next/server/chunks/_1tji4d-rsralm._.js +3 -0
- package/.next/server/chunks/_1tji4d-rsralm._.js.map +1 -0
- package/.next/server/chunks/_1w6vul60in-n6._.js +3 -0
- package/.next/server/chunks/_1w6vul60in-n6._.js.map +1 -0
- package/.next/server/chunks/_1yp1pldb73ib4._.js +3 -0
- package/.next/server/chunks/_1yp1pldb73ib4._.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js.map +1 -0
- package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js +3 -0
- package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js.map +1 -0
- package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js +3 -0
- package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js.map +1 -0
- package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js +3 -0
- package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js.map +1 -0
- package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js +3 -0
- package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js.map +1 -0
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js +3 -0
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js.map +1 -0
- package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js +5 -0
- package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js.map +1 -0
- package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js +320 -0
- package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js.map +1 -0
- package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js +14 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js +60 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js.map +1 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js +291 -0
- package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js.map +1 -0
- package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js +3 -0
- package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js.map +1 -0
- package/.next/server/chunks/ssr/_1020o02v8ucmf._.js +3 -0
- package/.next/server/chunks/ssr/_1020o02v8ucmf._.js.map +1 -0
- package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js +3 -0
- package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js.map +1 -0
- package/.next/server/chunks/ssr/_1mzldxegsozij._.js +3 -0
- package/.next/server/chunks/ssr/_1mzldxegsozij._.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js.map +1 -0
- package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js +3 -0
- package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js.map +1 -0
- package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js +3 -0
- package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
- package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js +33 -0
- package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js.map +1 -0
- package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js +3 -0
- package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js.map +1 -0
- package/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js.map +1 -0
- package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js +3 -0
- package/.next/server/functions-config-manifest.json +19 -0
- package/.next/server/instrumentation/middleware-manifest.json +12 -0
- package/.next/server/instrumentation.js +4 -0
- package/.next/server/instrumentation.js.map +5 -0
- package/.next/server/instrumentation.js.nft.json +1 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware/middleware-manifest.json +6 -0
- package/.next/server/middleware-build-manifest.js +69 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/middleware.js +5 -0
- package/.next/server/middleware.js.map +5 -0
- package/.next/server/middleware.js.nft.json +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +19 -0
- package/.next/server/pages/404.html +12 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages-manifest.json +4 -0
- package/.next/server/prefetch-hints.json +34 -0
- package/.next/server/preview-props.json +5 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +5 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_buildManifest.js +11 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_clientMiddlewareManifest.js +6 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_ssgManifest.js +1 -0
- package/.next/static/chunks/04lvtbsumb9l-.js +22 -0
- package/.next/static/chunks/07balm4l-kilq.js +1 -0
- package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/.next/static/chunks/0lf_v5uyq3i9q.js +1 -0
- package/.next/static/chunks/1ix59xuhq-q14.css +1 -0
- package/.next/static/chunks/1oizlhl9fdqt_.js +1 -0
- package/.next/static/chunks/21v6r4y8vgqng.css +3 -0
- package/.next/static/chunks/2ca16cvfmb3l3.js +1 -0
- package/.next/static/chunks/2k0ht_txv9ool.js +1 -0
- package/.next/static/chunks/2x0qc_flzv-la.js +31 -0
- package/.next/static/chunks/2xh00k9l33qnb.js +1 -0
- package/.next/static/chunks/3-53rbq2namxd.js +1 -0
- package/.next/static/chunks/3yk880zca6oid.js +58 -0
- package/.next/static/chunks/3yqhmu1hny1_2.js +1 -0
- package/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
- package/.next/static/media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2 +0 -0
- package/.next/static/media/53b9e256198e5412-s.390ncx5urfkfu.woff2 +0 -0
- package/.next/static/media/5ce348bf30bf5439-s.31988l_ccedte.woff2 +0 -0
- package/.next/static/media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2 +0 -0
- package/.next/static/media/7178b3e590c64307-s.21jp631_3pja2.woff2 +0 -0
- package/.next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2 +0 -0
- package/.next/static/media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2 +0 -0
- package/.next/static/media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2 +0 -0
- package/.next/static/media/apple-icon.3wegq_e2im0r7.png +0 -0
- package/.next/static/media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2 +0 -0
- package/.next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2 +0 -0
- package/.next/static/media/favicon.2zdrk8nf2w92v.ico +0 -0
- package/.next/static/media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2 +0 -0
- package/.next/static/media/icon.20nhmzpyywyzw.svg +1 -0
- package/.next/turbopack +0 -0
- package/LICENSE +22 -0
- package/README.md +439 -2
- package/bin/beadscope.mjs +724 -0
- package/next.config.ts +43 -0
- package/package.json +105 -4
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/next.svg +1 -0
- package/public/vercel.svg +1 -0
- package/public/window.svg +1 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Global launcher for Beadscope.
|
|
4
|
+
*
|
|
5
|
+
* Installed as `beadscope`.
|
|
6
|
+
*
|
|
7
|
+
* beadscope start start the Next.js production server in the background
|
|
8
|
+
* beadscope stop stop it again, from any terminal
|
|
9
|
+
* beadscope status show whether it is running, and where
|
|
10
|
+
* beadscope logs show (or follow) the server output
|
|
11
|
+
* beadscope run run the server in the foreground (Ctrl+C to stop)
|
|
12
|
+
*
|
|
13
|
+
* The server is this package's own prebuilt .next, on a free port. Once it is
|
|
14
|
+
* ready we open the browser; if the command was run from a directory that
|
|
15
|
+
* contains a `.beads` repo, it opens straight to that project's board.
|
|
16
|
+
*
|
|
17
|
+
* A background server is tracked by a small state file (pid, port, host) in the
|
|
18
|
+
* per-user config dir, next to the usage-statistics settings, so `stop` and
|
|
19
|
+
* `status` can find it from any terminal. Its output goes to `server.log`
|
|
20
|
+
* beside it.
|
|
21
|
+
*
|
|
22
|
+
* Zero dependencies — Node stdlib only. Works regardless of the directory it's
|
|
23
|
+
* launched from (resolves the package root from this file's location, not cwd).
|
|
24
|
+
*/
|
|
25
|
+
import net from "node:net";
|
|
26
|
+
import http from "node:http";
|
|
27
|
+
import fs from "node:fs";
|
|
28
|
+
import os from "node:os";
|
|
29
|
+
import path from "node:path";
|
|
30
|
+
import { spawn } from "node:child_process";
|
|
31
|
+
import { fileURLToPath } from "node:url";
|
|
32
|
+
import { createRequire } from "node:module";
|
|
33
|
+
|
|
34
|
+
// The directory the user ran the command from (used for cwd auto-open).
|
|
35
|
+
const invocationCwd = process.cwd();
|
|
36
|
+
|
|
37
|
+
// This package's root — the dir holding package.json, .next and node_modules.
|
|
38
|
+
const here = path.dirname(fileURLToPath(import.meta.url));
|
|
39
|
+
const ROOT = path.resolve(here, "..");
|
|
40
|
+
|
|
41
|
+
const require = createRequire(import.meta.url);
|
|
42
|
+
|
|
43
|
+
/** How long `stop` waits after SIGTERM before it escalates to SIGKILL. */
|
|
44
|
+
const STOP_GRACE_MS = 4000;
|
|
45
|
+
/** A server started this recently is trusted on its PID alone (still booting). */
|
|
46
|
+
const STARTUP_GRACE_MS = 60000;
|
|
47
|
+
|
|
48
|
+
const COMMANDS = ["start", "stop", "status", "logs", "run"];
|
|
49
|
+
|
|
50
|
+
function printHelp(stream = process.stdout) {
|
|
51
|
+
stream.write(`
|
|
52
|
+
Beadscope — local web UI for the beads (bd) tracker.
|
|
53
|
+
|
|
54
|
+
Usage:
|
|
55
|
+
beadscope <command> [options]
|
|
56
|
+
|
|
57
|
+
Commands:
|
|
58
|
+
start Start the server in the background and open your browser.
|
|
59
|
+
Run it from a folder that has a .beads repo to jump straight to
|
|
60
|
+
that project; otherwise you get the picker. If Beadscope is already
|
|
61
|
+
running it just opens the browser again.
|
|
62
|
+
stop Stop the background server (works from any terminal).
|
|
63
|
+
status Show whether the server is running, with its URL and PID.
|
|
64
|
+
Exits 1 when it is not running.
|
|
65
|
+
logs Print the end of the server log.
|
|
66
|
+
-f, --follow Keep printing new output (Ctrl+C to quit).
|
|
67
|
+
-n, --lines <n> How many lines to show (default 50).
|
|
68
|
+
run Run the server in the foreground; Ctrl+C stops it.
|
|
69
|
+
|
|
70
|
+
Options (start, run):
|
|
71
|
+
-p, --port <n> Port to use (default 3000, or $PORT). Auto-picks a free
|
|
72
|
+
port if the default is busy; with an explicit --port it
|
|
73
|
+
fails instead of moving.
|
|
74
|
+
--host <h> Host to bind (default from Next; or $HOST).
|
|
75
|
+
--no-open Don't open a browser, just print the URL.
|
|
76
|
+
-h, --help Show this help.
|
|
77
|
+
|
|
78
|
+
The background server's PID and log live in
|
|
79
|
+
\${XDG_CONFIG_HOME:-~/.config}/beadscope/.
|
|
80
|
+
`);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function parseArgs(argv) {
|
|
84
|
+
const opts = { open: true, help: false, follow: false, lines: 50 };
|
|
85
|
+
let portExplicit = false;
|
|
86
|
+
for (let i = 0; i < argv.length; i++) {
|
|
87
|
+
const a = argv[i];
|
|
88
|
+
if (a === "-h" || a === "--help") opts.help = true;
|
|
89
|
+
else if (a === "--no-open") opts.open = false;
|
|
90
|
+
else if (a === "-f" || a === "--follow") opts.follow = true;
|
|
91
|
+
else if (a === "-n" || a === "--lines") opts.lines = Number(argv[++i]);
|
|
92
|
+
else if (a.startsWith("--lines=")) opts.lines = Number(a.slice("--lines=".length));
|
|
93
|
+
else if (a === "-p" || a === "--port") {
|
|
94
|
+
opts.port = Number(argv[++i]);
|
|
95
|
+
portExplicit = true;
|
|
96
|
+
} else if (a.startsWith("--port=")) {
|
|
97
|
+
opts.port = Number(a.slice("--port=".length));
|
|
98
|
+
portExplicit = true;
|
|
99
|
+
} else if (a === "--host") {
|
|
100
|
+
opts.host = argv[++i];
|
|
101
|
+
} else if (a.startsWith("--host=")) {
|
|
102
|
+
opts.host = a.slice("--host=".length);
|
|
103
|
+
} else if (!a.startsWith("-") && opts.command === undefined) {
|
|
104
|
+
opts.command = a; // first bare word is the subcommand
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
opts.portExplicit = portExplicit;
|
|
108
|
+
if (opts.port === undefined) {
|
|
109
|
+
const env = Number(process.env.PORT);
|
|
110
|
+
opts.port = Number.isInteger(env) && env > 0 ? env : 3000;
|
|
111
|
+
}
|
|
112
|
+
opts.host = opts.host || process.env.HOST || "localhost";
|
|
113
|
+
// The host ends up in a spawn() command line (browser open) and a URL;
|
|
114
|
+
// restrict it to hostname/IP characters so it can't carry shell metacharacters.
|
|
115
|
+
if (!/^[A-Za-z0-9.:[\]-]+$/.test(opts.host)) {
|
|
116
|
+
console.error(`Invalid host: ${JSON.stringify(opts.host)}`);
|
|
117
|
+
process.exit(1);
|
|
118
|
+
}
|
|
119
|
+
if (!Number.isInteger(opts.port) || opts.port < 1 || opts.port > 65535) {
|
|
120
|
+
console.error(`Invalid port: ${String(opts.port)} (expected 1-65535)`);
|
|
121
|
+
process.exit(1);
|
|
122
|
+
}
|
|
123
|
+
if (!Number.isInteger(opts.lines) || opts.lines < 1) {
|
|
124
|
+
console.error(`Invalid line count (expected a positive integer)`);
|
|
125
|
+
process.exit(1);
|
|
126
|
+
}
|
|
127
|
+
return opts;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** Resolve true if `port` can be bound on 0.0.0.0, else false. */
|
|
131
|
+
function portFree(port) {
|
|
132
|
+
return new Promise((resolve) => {
|
|
133
|
+
const srv = net.createServer();
|
|
134
|
+
srv.once("error", () => resolve(false));
|
|
135
|
+
srv.once("listening", () => srv.close(() => resolve(true)));
|
|
136
|
+
srv.listen({ port, host: "0.0.0.0" });
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** Resolve true if something accepts TCP connections at host:port. */
|
|
141
|
+
function portInUse(host, port) {
|
|
142
|
+
return new Promise((resolve) => {
|
|
143
|
+
const sock = net.connect({ host, port });
|
|
144
|
+
sock.setTimeout(1000);
|
|
145
|
+
sock.once("connect", () => {
|
|
146
|
+
sock.destroy();
|
|
147
|
+
resolve(true);
|
|
148
|
+
});
|
|
149
|
+
sock.once("timeout", () => {
|
|
150
|
+
sock.destroy();
|
|
151
|
+
resolve(false);
|
|
152
|
+
});
|
|
153
|
+
sock.once("error", () => resolve(false));
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** Find a free port at/after `start`. If `explicit`, only check `start`. */
|
|
158
|
+
async function pickPort(start, explicit) {
|
|
159
|
+
if (await portFree(start)) return start;
|
|
160
|
+
if (explicit) {
|
|
161
|
+
console.error(`Port ${start} is already in use. Pick another with --port.`);
|
|
162
|
+
process.exit(1);
|
|
163
|
+
}
|
|
164
|
+
for (let p = start + 1; p <= start + 50; p++) {
|
|
165
|
+
if (await portFree(p)) return p;
|
|
166
|
+
}
|
|
167
|
+
console.error(`Could not find a free port near ${start}.`);
|
|
168
|
+
process.exit(1);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/** Resolve the local `next` CLI entrypoint from this package's deps. */
|
|
172
|
+
function resolveNextBin() {
|
|
173
|
+
try {
|
|
174
|
+
const pkg = require.resolve("next/package.json");
|
|
175
|
+
return path.join(path.dirname(pkg), "dist", "bin", "next");
|
|
176
|
+
} catch {
|
|
177
|
+
console.error(
|
|
178
|
+
"Could not find the 'next' package. Run `npm install` in the project first.",
|
|
179
|
+
);
|
|
180
|
+
process.exit(1);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** A production build must already exist — we never build at runtime (the
|
|
185
|
+
* global install dir may not be writable, and a build needs devDependencies). */
|
|
186
|
+
function ensureBuild() {
|
|
187
|
+
if (!fs.existsSync(path.join(ROOT, ".next", "BUILD_ID"))) {
|
|
188
|
+
console.error(
|
|
189
|
+
"No production build found.\n" +
|
|
190
|
+
"Run `npm run build` in the project directory, then reinstall " +
|
|
191
|
+
"(`npm link` or `npm install -g .`).",
|
|
192
|
+
);
|
|
193
|
+
process.exit(1);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Poll the server until it responds, then resolve. `failed()` lets the caller
|
|
199
|
+
* bail out early (e.g. the server process already exited) instead of waiting
|
|
200
|
+
* out the whole timeout.
|
|
201
|
+
*/
|
|
202
|
+
function waitForReady(host, port, timeoutMs = 30000, failed = () => false) {
|
|
203
|
+
const deadline = Date.now() + timeoutMs;
|
|
204
|
+
return new Promise((resolve, reject) => {
|
|
205
|
+
const tick = () => {
|
|
206
|
+
const req = http.get({ host, port, path: "/", timeout: 2000 }, (res) => {
|
|
207
|
+
res.resume();
|
|
208
|
+
resolve();
|
|
209
|
+
});
|
|
210
|
+
req.on("error", retry);
|
|
211
|
+
req.on("timeout", () => {
|
|
212
|
+
req.destroy();
|
|
213
|
+
retry();
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
const retry = () => {
|
|
217
|
+
if (failed()) reject(new Error("Server exited before it was ready"));
|
|
218
|
+
else if (Date.now() > deadline) reject(new Error("Server did not become ready in time"));
|
|
219
|
+
else setTimeout(tick, 250);
|
|
220
|
+
};
|
|
221
|
+
tick();
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/** Best-effort cross-platform browser open. Never throws. */
|
|
226
|
+
function openBrowser(url) {
|
|
227
|
+
try {
|
|
228
|
+
let cmd, args;
|
|
229
|
+
if (process.platform === "darwin") {
|
|
230
|
+
cmd = "open";
|
|
231
|
+
args = [url];
|
|
232
|
+
} else if (process.platform === "win32") {
|
|
233
|
+
cmd = "cmd";
|
|
234
|
+
// cmd.exe re-parses its command line, so caret-escape metacharacters —
|
|
235
|
+
// otherwise a hostile URL could break out of the `start` argument.
|
|
236
|
+
args = ["/c", "start", '""', url.replace(/[&|^<>]/g, "^$&")];
|
|
237
|
+
} else {
|
|
238
|
+
cmd = "xdg-open";
|
|
239
|
+
args = [url];
|
|
240
|
+
}
|
|
241
|
+
const child = spawn(cmd, args, { stdio: "ignore", detached: true });
|
|
242
|
+
child.on("error", () => {});
|
|
243
|
+
child.unref();
|
|
244
|
+
} catch {
|
|
245
|
+
/* headless / no browser — the URL is printed regardless */
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/** If invoked from a .beads project, register it and return its board path. */
|
|
250
|
+
async function targetPath(host, port) {
|
|
251
|
+
try {
|
|
252
|
+
if (!fs.existsSync(path.join(invocationCwd, ".beads"))) return "/";
|
|
253
|
+
const body = JSON.stringify({ path: invocationCwd });
|
|
254
|
+
const entry = await new Promise((resolve, reject) => {
|
|
255
|
+
const req = http.request(
|
|
256
|
+
{
|
|
257
|
+
host,
|
|
258
|
+
port,
|
|
259
|
+
path: "/api/projects",
|
|
260
|
+
method: "POST",
|
|
261
|
+
headers: { "Content-Type": "application/json", "Content-Length": Buffer.byteLength(body) },
|
|
262
|
+
},
|
|
263
|
+
(res) => {
|
|
264
|
+
let data = "";
|
|
265
|
+
res.on("data", (c) => (data += c));
|
|
266
|
+
res.on("end", () => {
|
|
267
|
+
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
|
|
268
|
+
try {
|
|
269
|
+
resolve(JSON.parse(data));
|
|
270
|
+
} catch (e) {
|
|
271
|
+
reject(e);
|
|
272
|
+
}
|
|
273
|
+
} else {
|
|
274
|
+
reject(new Error(`add project failed (${res.statusCode})`));
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
},
|
|
278
|
+
);
|
|
279
|
+
req.on("error", reject);
|
|
280
|
+
req.write(body);
|
|
281
|
+
req.end();
|
|
282
|
+
});
|
|
283
|
+
return entry && entry.id ? `/p/${encodeURIComponent(entry.id)}` : "/";
|
|
284
|
+
} catch {
|
|
285
|
+
return "/"; // fall back to the picker
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** Canonical board URL, plus opening the browser if asked. */
|
|
290
|
+
async function showAndOpen(host, port, open) {
|
|
291
|
+
const target = open ? await targetPath(host, port) : "/";
|
|
292
|
+
// Canonicalize through the URL parser — throws on anything that isn't a
|
|
293
|
+
// well-formed http origin, so no raw user input reaches openBrowser().
|
|
294
|
+
const fullUrl = new URL(target, `http://${host}:${port}`).href;
|
|
295
|
+
return { fullUrl, open: () => open && openBrowser(fullUrl) };
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* ------------------------------------------------------------------ */
|
|
299
|
+
/* Background server bookkeeping */
|
|
300
|
+
/* ------------------------------------------------------------------ */
|
|
301
|
+
|
|
302
|
+
/** Same per-user dir the usage-statistics settings use. */
|
|
303
|
+
function stateDir() {
|
|
304
|
+
const base = process.env.XDG_CONFIG_HOME || path.join(os.homedir(), ".config");
|
|
305
|
+
return path.join(base, "beadscope");
|
|
306
|
+
}
|
|
307
|
+
const stateFile = () => path.join(stateDir(), "server.json");
|
|
308
|
+
const logFile = () => path.join(stateDir(), "server.log");
|
|
309
|
+
|
|
310
|
+
/** Read the state file; null when missing or malformed. */
|
|
311
|
+
function readState() {
|
|
312
|
+
try {
|
|
313
|
+
const s = JSON.parse(fs.readFileSync(stateFile(), "utf8"));
|
|
314
|
+
if (
|
|
315
|
+
Number.isInteger(s.pid) && s.pid > 0 &&
|
|
316
|
+
Number.isInteger(s.port) && s.port > 0 &&
|
|
317
|
+
typeof s.host === "string" && Number.isFinite(s.startedAt)
|
|
318
|
+
) {
|
|
319
|
+
return s;
|
|
320
|
+
}
|
|
321
|
+
} catch {
|
|
322
|
+
/* no state / unreadable */
|
|
323
|
+
}
|
|
324
|
+
return null;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** Create the state file, failing (false) if one appeared in the meantime. */
|
|
328
|
+
function writeStateExclusive(state) {
|
|
329
|
+
try {
|
|
330
|
+
fs.writeFileSync(stateFile(), JSON.stringify(state), { flag: "wx", mode: 0o600 });
|
|
331
|
+
return true;
|
|
332
|
+
} catch (e) {
|
|
333
|
+
if (e.code === "EEXIST") return false;
|
|
334
|
+
throw e;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
function removeState() {
|
|
339
|
+
try {
|
|
340
|
+
fs.unlinkSync(stateFile());
|
|
341
|
+
} catch {
|
|
342
|
+
/* already gone */
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
function pidAlive(pid) {
|
|
347
|
+
try {
|
|
348
|
+
process.kill(pid, 0);
|
|
349
|
+
return true;
|
|
350
|
+
} catch (e) {
|
|
351
|
+
return e.code === "EPERM"; // exists, just not ours to signal
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Send `sig` to the background server. It was started as the leader of its own
|
|
357
|
+
* process group, so on POSIX we signal the whole group in case Next forked
|
|
358
|
+
* workers. Returns false if the process is already gone.
|
|
359
|
+
*/
|
|
360
|
+
function signalServer(pid, sig) {
|
|
361
|
+
const attempts = process.platform === "win32" ? [pid] : [-pid, pid];
|
|
362
|
+
for (const target of attempts) {
|
|
363
|
+
try {
|
|
364
|
+
process.kill(target, sig);
|
|
365
|
+
return true;
|
|
366
|
+
} catch (e) {
|
|
367
|
+
if (e.code !== "ESRCH") throw e;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
return false;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
async function waitForExit(pid, timeoutMs) {
|
|
374
|
+
const deadline = Date.now() + timeoutMs;
|
|
375
|
+
while (pidAlive(pid)) {
|
|
376
|
+
if (Date.now() > deadline) return false;
|
|
377
|
+
await new Promise((r) => setTimeout(r, 100));
|
|
378
|
+
}
|
|
379
|
+
return true;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* The state of the background server, or null if there isn't one. A state file
|
|
384
|
+
* whose process is gone — or whose PID has been recycled by something that
|
|
385
|
+
* isn't listening on the recorded port — is stale and is removed, so we never
|
|
386
|
+
* signal a stranger's process.
|
|
387
|
+
*/
|
|
388
|
+
async function getRunning() {
|
|
389
|
+
const state = readState();
|
|
390
|
+
if (!state) {
|
|
391
|
+
removeState(); // drop a corrupt file, if any
|
|
392
|
+
return null;
|
|
393
|
+
}
|
|
394
|
+
const booting = Date.now() - state.startedAt < STARTUP_GRACE_MS;
|
|
395
|
+
if (pidAlive(state.pid) && (booting || (await portInUse(state.host, state.port)))) {
|
|
396
|
+
return state;
|
|
397
|
+
}
|
|
398
|
+
removeState();
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
function formatUptime(ms) {
|
|
403
|
+
const s = Math.max(0, Math.floor(ms / 1000));
|
|
404
|
+
const d = Math.floor(s / 86400);
|
|
405
|
+
const h = Math.floor((s % 86400) / 3600);
|
|
406
|
+
const m = Math.floor((s % 3600) / 60);
|
|
407
|
+
if (d) return `${d}d ${h}h`;
|
|
408
|
+
if (h) return `${h}h ${m}m`;
|
|
409
|
+
if (m) return `${m}m ${s % 60}s`;
|
|
410
|
+
return `${s}s`;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
const serverUrl = (s) => `http://${s.host}:${s.port}/`;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Hostnames BEADSCOPE_ALLOWED_HOSTS lets the server answer to, beyond localhost
|
|
417
|
+
* and IPs. "*" means "any name" so there is nothing to print for it.
|
|
418
|
+
*/
|
|
419
|
+
function allowedHostNames(raw) {
|
|
420
|
+
return String(raw ?? "")
|
|
421
|
+
.split(",")
|
|
422
|
+
.map((h) => h.trim().toLowerCase())
|
|
423
|
+
.filter((h) => /^[a-z0-9]([a-z0-9.-]*[a-z0-9])?$/.test(h));
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/** `url` re-addressed to each allowed hostname (same port and path). */
|
|
427
|
+
function aliasUrls(url, names) {
|
|
428
|
+
return names.map((name) => {
|
|
429
|
+
const u = new URL(url);
|
|
430
|
+
u.hostname = name;
|
|
431
|
+
return u.href;
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
const aliasLines = (url, names) =>
|
|
436
|
+
aliasUrls(url, names)
|
|
437
|
+
.map((u) => ` Also → ${u}\n`)
|
|
438
|
+
.join("");
|
|
439
|
+
|
|
440
|
+
/* ------------------------------------------------------------------ */
|
|
441
|
+
/* Commands */
|
|
442
|
+
/* ------------------------------------------------------------------ */
|
|
443
|
+
|
|
444
|
+
async function cmdStart(opts) {
|
|
445
|
+
const running = await getRunning();
|
|
446
|
+
if (running) {
|
|
447
|
+
console.log(`\n Beadscope is already running → ${serverUrl(running)} (pid ${running.pid})`);
|
|
448
|
+
if (opts.portExplicit && opts.port !== running.port) {
|
|
449
|
+
console.log(` (ignoring --port ${opts.port}; \`beadscope stop\` first to move it)`);
|
|
450
|
+
}
|
|
451
|
+
const { fullUrl, open } = await showAndOpen(running.host, running.port, opts.open);
|
|
452
|
+
console.log(` ${fullUrl}`);
|
|
453
|
+
console.log(`${aliasLines(fullUrl, running.allowedHosts ?? [])}`);
|
|
454
|
+
open();
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
ensureBuild();
|
|
459
|
+
const port = await pickPort(opts.port, opts.portExplicit);
|
|
460
|
+
const host = opts.host;
|
|
461
|
+
const nextBin = resolveNextBin();
|
|
462
|
+
|
|
463
|
+
fs.mkdirSync(stateDir(), { recursive: true, mode: 0o700 });
|
|
464
|
+
// The log is truncated on every start so it can't grow without bound across
|
|
465
|
+
// restarts; it holds the output of the current (or last) server only.
|
|
466
|
+
const logFd = fs.openSync(logFile(), "w", 0o600);
|
|
467
|
+
const child = spawn(process.execPath, [nextBin, "start", ROOT, "-p", String(port), "-H", host], {
|
|
468
|
+
cwd: ROOT,
|
|
469
|
+
detached: true, // own session/process group, so it outlives this terminal
|
|
470
|
+
stdio: ["ignore", logFd, logFd],
|
|
471
|
+
windowsHide: true,
|
|
472
|
+
env: { ...process.env, PORT: String(port), HOST: host },
|
|
473
|
+
});
|
|
474
|
+
fs.closeSync(logFd);
|
|
475
|
+
|
|
476
|
+
let exited = false;
|
|
477
|
+
child.on("error", () => (exited = true));
|
|
478
|
+
child.on("exit", () => (exited = true));
|
|
479
|
+
|
|
480
|
+
if (!child.pid) {
|
|
481
|
+
console.error("Could not start the server process.");
|
|
482
|
+
process.exit(1);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
// Recorded so `status` and an "already running" start report what this server
|
|
486
|
+
// accepts, not whatever the later shell happens to have exported.
|
|
487
|
+
const allowedHosts = allowedHostNames(process.env.BEADSCOPE_ALLOWED_HOSTS);
|
|
488
|
+
const state = { pid: child.pid, port, host, startedAt: Date.now(), allowedHosts };
|
|
489
|
+
if (!writeStateExclusive(state)) {
|
|
490
|
+
// Another `beadscope start` won the race between our check and now.
|
|
491
|
+
signalServer(child.pid, "SIGKILL");
|
|
492
|
+
const winner = await getRunning();
|
|
493
|
+
console.log(`\n Beadscope is already running${winner ? ` → ${serverUrl(winner)}` : ""}\n`);
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
child.unref();
|
|
497
|
+
|
|
498
|
+
try {
|
|
499
|
+
await waitForReady(host, port, 30000, () => exited);
|
|
500
|
+
} catch (err) {
|
|
501
|
+
try {
|
|
502
|
+
signalServer(child.pid, "SIGKILL");
|
|
503
|
+
} catch {
|
|
504
|
+
/* already gone */
|
|
505
|
+
}
|
|
506
|
+
removeState();
|
|
507
|
+
console.error(`Server failed to start (${err.message}). Last of ${logFile()}:\n`);
|
|
508
|
+
console.error(tailFile(logFile(), 20) || " (log is empty)");
|
|
509
|
+
process.exit(1);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
const { fullUrl, open } = await showAndOpen(host, port, opts.open);
|
|
513
|
+
console.log(
|
|
514
|
+
`\n Beadscope → ${fullUrl}\n` +
|
|
515
|
+
aliasLines(fullUrl, allowedHosts) +
|
|
516
|
+
` Running in the background (pid ${child.pid}). Stop it with: beadscope stop\n`,
|
|
517
|
+
);
|
|
518
|
+
open();
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
async function cmdStop() {
|
|
522
|
+
const state = await getRunning();
|
|
523
|
+
if (!state) {
|
|
524
|
+
console.log("Beadscope is not running.");
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
try {
|
|
528
|
+
signalServer(state.pid, "SIGTERM");
|
|
529
|
+
// `next start` drains in-flight requests on SIGTERM, and our SSE change
|
|
530
|
+
// stream never completes on its own — so give it a short deadline, then
|
|
531
|
+
// SIGKILL, exactly like Ctrl+C does for `beadscope run`.
|
|
532
|
+
if (!(await waitForExit(state.pid, STOP_GRACE_MS))) {
|
|
533
|
+
signalServer(state.pid, "SIGKILL");
|
|
534
|
+
if (!(await waitForExit(state.pid, 2000))) {
|
|
535
|
+
console.error(`Could not stop Beadscope (pid ${state.pid}).`);
|
|
536
|
+
process.exit(1);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
} catch (e) {
|
|
540
|
+
console.error(`Could not stop Beadscope (pid ${state.pid}): ${e.message}`);
|
|
541
|
+
process.exit(1);
|
|
542
|
+
}
|
|
543
|
+
removeState();
|
|
544
|
+
console.log(`Stopped Beadscope (pid ${state.pid}).`);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
async function cmdStatus() {
|
|
548
|
+
const state = await getRunning();
|
|
549
|
+
if (!state) {
|
|
550
|
+
console.log("Beadscope is not running.");
|
|
551
|
+
process.exit(1);
|
|
552
|
+
}
|
|
553
|
+
console.log(
|
|
554
|
+
`Beadscope is running\n` +
|
|
555
|
+
` URL: ${serverUrl(state)}\n` +
|
|
556
|
+
aliasUrls(serverUrl(state), state.allowedHosts ?? [])
|
|
557
|
+
.map((u) => ` Also: ${u}\n`)
|
|
558
|
+
.join("") +
|
|
559
|
+
` PID: ${state.pid}\n` +
|
|
560
|
+
` Up: ${formatUptime(Date.now() - state.startedAt)}\n` +
|
|
561
|
+
` Log: ${logFile()}`,
|
|
562
|
+
);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/** Last `n` lines of a file (reads at most the final 1 MiB). "" if missing. */
|
|
566
|
+
function tailFile(file, n) {
|
|
567
|
+
try {
|
|
568
|
+
const { size } = fs.statSync(file);
|
|
569
|
+
const len = Math.min(size, 1 << 20);
|
|
570
|
+
const buf = Buffer.alloc(len);
|
|
571
|
+
const fd = fs.openSync(file, "r");
|
|
572
|
+
try {
|
|
573
|
+
fs.readSync(fd, buf, 0, len, size - len);
|
|
574
|
+
} finally {
|
|
575
|
+
fs.closeSync(fd);
|
|
576
|
+
}
|
|
577
|
+
const lines = buf.toString("utf8").split("\n");
|
|
578
|
+
if (lines[lines.length - 1] === "") lines.pop();
|
|
579
|
+
return lines.slice(-n).join("\n");
|
|
580
|
+
} catch {
|
|
581
|
+
return "";
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
async function cmdLogs(opts) {
|
|
586
|
+
const file = logFile();
|
|
587
|
+
if (!fs.existsSync(file)) {
|
|
588
|
+
console.error("No server log yet. Start Beadscope with: beadscope start");
|
|
589
|
+
process.exit(1);
|
|
590
|
+
}
|
|
591
|
+
const text = tailFile(file, opts.lines);
|
|
592
|
+
if (text) console.log(text);
|
|
593
|
+
if (!opts.follow) return;
|
|
594
|
+
|
|
595
|
+
let offset = fs.statSync(file).size;
|
|
596
|
+
setInterval(() => {
|
|
597
|
+
try {
|
|
598
|
+
const { size } = fs.statSync(file);
|
|
599
|
+
if (size < offset) offset = 0; // truncated by a restart
|
|
600
|
+
if (size === offset) return;
|
|
601
|
+
const fd = fs.openSync(file, "r");
|
|
602
|
+
try {
|
|
603
|
+
const buf = Buffer.alloc(size - offset);
|
|
604
|
+
fs.readSync(fd, buf, 0, buf.length, offset);
|
|
605
|
+
process.stdout.write(buf);
|
|
606
|
+
offset = size;
|
|
607
|
+
} finally {
|
|
608
|
+
fs.closeSync(fd);
|
|
609
|
+
}
|
|
610
|
+
} catch {
|
|
611
|
+
/* log briefly missing; try again next tick */
|
|
612
|
+
}
|
|
613
|
+
}, 500);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
async function cmdRun(opts) {
|
|
617
|
+
ensureBuild();
|
|
618
|
+
|
|
619
|
+
const port = await pickPort(opts.port, opts.portExplicit);
|
|
620
|
+
const host = opts.host;
|
|
621
|
+
const nextBin = resolveNextBin();
|
|
622
|
+
|
|
623
|
+
const child = spawn(process.execPath, [nextBin, "start", ROOT, "-p", String(port), "-H", host], {
|
|
624
|
+
cwd: ROOT,
|
|
625
|
+
stdio: "inherit",
|
|
626
|
+
env: { ...process.env, PORT: String(port), HOST: host },
|
|
627
|
+
});
|
|
628
|
+
|
|
629
|
+
// Forward signals and clean up the child on exit.
|
|
630
|
+
//
|
|
631
|
+
// `next start` shuts down *gracefully*: on SIGINT/SIGTERM it stops accepting
|
|
632
|
+
// connections and then waits for in-flight requests to drain. Our SSE change
|
|
633
|
+
// stream (app/api/p/[projectId]/beads/stream) is an in-flight request that
|
|
634
|
+
// never completes on its own, so with any browser tab open the server waits
|
|
635
|
+
// forever and Ctrl+C looks like it did nothing. Give the graceful path a
|
|
636
|
+
// short deadline, then escalate to SIGKILL so Ctrl+C always works.
|
|
637
|
+
let shuttingDown = false;
|
|
638
|
+
let forceTimer = null;
|
|
639
|
+
|
|
640
|
+
const hardKill = () => {
|
|
641
|
+
if (forceTimer) clearTimeout(forceTimer);
|
|
642
|
+
try {
|
|
643
|
+
child.kill("SIGKILL");
|
|
644
|
+
} catch {
|
|
645
|
+
/* already gone */
|
|
646
|
+
}
|
|
647
|
+
process.exit(130);
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
const forward = (sig) => {
|
|
651
|
+
if (shuttingDown) {
|
|
652
|
+
hardKill(); // second Ctrl+C — don't wait out the deadline
|
|
653
|
+
return;
|
|
654
|
+
}
|
|
655
|
+
shuttingDown = true;
|
|
656
|
+
child.kill(sig);
|
|
657
|
+
console.log("\n Stopping… (Ctrl+C again to force)");
|
|
658
|
+
forceTimer = setTimeout(hardKill, STOP_GRACE_MS);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
process.on("SIGINT", () => forward("SIGINT"));
|
|
662
|
+
process.on("SIGTERM", () => forward("SIGTERM"));
|
|
663
|
+
process.on("exit", () => {
|
|
664
|
+
try {
|
|
665
|
+
child.kill();
|
|
666
|
+
} catch {
|
|
667
|
+
/* already gone */
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
child.on("exit", (code, signal) => {
|
|
671
|
+
if (forceTimer) clearTimeout(forceTimer);
|
|
672
|
+
process.exit(signal ? 128 : (code ?? 0));
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
try {
|
|
676
|
+
await waitForReady(host, port);
|
|
677
|
+
} catch {
|
|
678
|
+
console.error("Server failed to start. See the output above.");
|
|
679
|
+
return; // child's exit handler will set the exit code
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
const { fullUrl, open } = await showAndOpen(host, port, opts.open);
|
|
683
|
+
console.log(
|
|
684
|
+
`\n Beadscope → ${fullUrl}\n` +
|
|
685
|
+
aliasLines(fullUrl, allowedHostNames(process.env.BEADSCOPE_ALLOWED_HOSTS)) +
|
|
686
|
+
` (Ctrl+C to stop)\n`,
|
|
687
|
+
);
|
|
688
|
+
open();
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
async function main() {
|
|
692
|
+
const opts = parseArgs(process.argv.slice(2));
|
|
693
|
+
|
|
694
|
+
// No subcommand (or --help): show usage. A bare `beadscope` deliberately does
|
|
695
|
+
// not start a server any more — `beadscope start` does.
|
|
696
|
+
if (opts.help || opts.command === undefined) {
|
|
697
|
+
printHelp();
|
|
698
|
+
process.exit(0);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
switch (opts.command) {
|
|
702
|
+
case "start":
|
|
703
|
+
return cmdStart(opts);
|
|
704
|
+
case "stop":
|
|
705
|
+
return cmdStop(opts);
|
|
706
|
+
case "status":
|
|
707
|
+
return cmdStatus(opts);
|
|
708
|
+
case "logs":
|
|
709
|
+
return cmdLogs(opts);
|
|
710
|
+
case "run":
|
|
711
|
+
return cmdRun(opts);
|
|
712
|
+
default:
|
|
713
|
+
console.error(
|
|
714
|
+
`Unknown command: ${JSON.stringify(opts.command)} (expected one of: ${COMMANDS.join(", ")})`,
|
|
715
|
+
);
|
|
716
|
+
printHelp(process.stderr);
|
|
717
|
+
process.exit(1);
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
main().catch((err) => {
|
|
722
|
+
console.error(err);
|
|
723
|
+
process.exit(1);
|
|
724
|
+
});
|