trybeacon 0.1.73 → 0.1.74
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/.claude-plugin/plugin.json +1 -1
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +21 -17
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +24 -0
- package/.next/server/app/_global-error/page.js +3 -3
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- 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/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +23 -22
- package/.next/server/app/_not-found.segments/_full.segment.rsc +23 -22
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +12 -11
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/ask/answer/route.js +1 -0
- package/.next/server/app/api/ask/answer/route.js.nft.json +1 -0
- package/.next/server/app/api/ask/answer/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/ask/route.js +1 -0
- package/.next/server/app/api/ask/route.js.nft.json +1 -0
- package/.next/server/app/api/ask/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/ask/verdict/route.js +1 -0
- package/.next/server/app/api/ask/verdict/route.js.nft.json +1 -0
- package/.next/server/app/api/ask/verdict/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/board-annotations/[id]/route.js +1 -1
- package/.next/server/app/api/board-annotations/route.js +1 -1
- package/.next/server/app/api/board-layout/route.js +1 -1
- package/.next/server/app/api/bug-flags/[id]/route.js +1 -1
- package/.next/server/app/api/bug-flags/route.js +1 -1
- package/.next/server/app/api/changes/comment/answer/route.js +4 -0
- package/.next/server/app/api/changes/comment/answer/route.js.nft.json +1 -0
- package/.next/server/app/api/changes/comment/answer/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/changes/comment/claim/route.js +4 -1
- package/.next/server/app/api/changes/comment/route.js +4 -1
- package/.next/server/app/api/changes/quality/route.js +1 -1
- package/.next/server/app/api/changes/route.js +1 -1
- package/.next/server/app/api/changes/viewed/route.js +1 -1
- package/.next/server/app/api/code-graph/position/route.js +1 -1
- package/.next/server/app/api/code-graph/route.js +1 -1
- package/.next/server/app/api/context/feature/route.js +1 -1
- package/.next/server/app/api/context/file/route.js +1 -1
- package/.next/server/app/api/context/route.js +1 -1
- package/.next/server/app/api/db/arrange/route.js +1 -1
- package/.next/server/app/api/db/backfill-access/route.js +1 -1
- package/.next/server/app/api/db/position/route.js +1 -1
- package/.next/server/app/api/db/prune-planned/route.js +1 -1
- package/.next/server/app/api/db/reconcile-endpoints/route.js +1 -1
- package/.next/server/app/api/db/relations/[id]/route.js +1 -1
- package/.next/server/app/api/db/tables/[id]/route.js +1 -1
- package/.next/server/app/api/draft/approve/route.js +1 -1
- package/.next/server/app/api/draft/route.js +1 -1
- package/.next/server/app/api/draft/status/route.js +1 -1
- package/.next/server/app/api/edges/[id]/route.js +1 -1
- package/.next/server/app/api/edges/route.js +1 -1
- package/.next/server/app/api/endpoints/[id]/route.js +1 -1
- package/.next/server/app/api/entities/route.js +1 -1
- package/.next/server/app/api/ingest/route.js +1 -1
- package/.next/server/app/api/init/route.js +1 -1
- package/.next/server/app/api/lesson/close/route.js +1 -1
- package/.next/server/app/api/lesson/presence/route.js +1 -1
- package/.next/server/app/api/lesson/questions/route.js +1 -1
- package/.next/server/app/api/lesson/route.js +1 -1
- package/.next/server/app/api/lesson/save/route.js +1 -1
- package/.next/server/app/api/lesson/verdict/route.js +1 -1
- package/.next/server/app/api/map/describe/route.js +1 -1
- package/.next/server/app/api/map/files/route.js +1 -1
- package/.next/server/app/api/map/finish/route.js +1 -1
- package/.next/server/app/api/map/route.js +1 -1
- package/.next/server/app/api/map/start/route.js +1 -1
- package/.next/server/app/api/map/touch-active/route.js +1 -1
- package/.next/server/app/api/mention-search/route.js +1 -1
- package/.next/server/app/api/nodes/[id]/position/route.js +1 -1
- package/.next/server/app/api/nodes/[id]/route.js +1 -1
- package/.next/server/app/api/nodes/positions/route.js +1 -1
- package/.next/server/app/api/nodes/route.js +1 -1
- package/.next/server/app/api/nodes/subtasks/route.js +1 -1
- package/.next/server/app/api/notes/[id]/route.js +1 -1
- package/.next/server/app/api/notes/route.js +1 -1
- package/.next/server/app/api/open/route.js +1 -1
- package/.next/server/app/api/plan/annotations/route.js +3 -3
- package/.next/server/app/api/plan/approve/route.js +1 -1
- package/.next/server/app/api/plan/history/route.js +1 -1
- package/.next/server/app/api/plan/markdown/route.js +1 -1
- package/.next/server/app/api/plan/presence/route.js +1 -1
- package/.next/server/app/api/plan/route.js +1 -1
- package/.next/server/app/api/plan/verdict/route.js +1 -1
- package/.next/server/app/api/preferences/route.js +1 -1
- package/.next/server/app/api/project-meta/route.js +1 -1
- package/.next/server/app/api/reset/route.js +1 -1
- package/.next/server/app/api/scope-guard/check/route.js +4 -1
- package/.next/server/app/api/share/create/route.js +1 -1
- package/.next/server/app/api/share/route.js +1 -1
- package/.next/server/app/api/stream/route.js +2 -2
- package/.next/server/app/api/tab/nav/route.js +1 -1
- package/.next/server/app/api/tab/presence/route.js +1 -1
- package/.next/server/app/api/telemetry/route.js +1 -1
- package/.next/server/app/api/telemetry/stats/route.js +1 -1
- package/.next/server/app/api/version/route.js +1 -1
- package/.next/server/app/api/workspace/activate/route.js +1 -1
- package/.next/server/app/api/workspace/route.js +1 -1
- package/.next/server/app/apple-icon.png/route.js +1 -1
- package/.next/server/app/docs/page.js +2 -2
- package/.next/server/app/docs/page.js.nft.json +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +24 -23
- package/.next/server/app/docs.segments/_full.segment.rsc +24 -23
- package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_index.segment.rsc +12 -11
- package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- package/.next/server/app/help/page.js +2 -2
- package/.next/server/app/help/page.js.nft.json +1 -1
- package/.next/server/app/help/page_client-reference-manifest.js +1 -1
- package/.next/server/app/help.html +1 -1
- package/.next/server/app/help.rsc +32 -31
- package/.next/server/app/help.segments/_full.segment.rsc +32 -31
- package/.next/server/app/help.segments/_head.segment.rsc +1 -1
- package/.next/server/app/help.segments/_index.segment.rsc +12 -11
- package/.next/server/app/help.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/help.segments/help/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/help.segments/help.segment.rsc +1 -1
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +22 -21
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/index.segments/_full.segment.rsc +22 -21
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +12 -11
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/learn/page.js +4 -4
- package/.next/server/app/learn/page.js.nft.json +1 -1
- package/.next/server/app/learn/page_client-reference-manifest.js +1 -1
- package/.next/server/app/map/page.js +2 -2
- package/.next/server/app/map/page.js.nft.json +1 -1
- package/.next/server/app/map/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/plan/page.js +3 -3
- package/.next/server/app/plan/page.js.nft.json +1 -1
- package/.next/server/app/plan/page_client-reference-manifest.js +1 -1
- package/.next/server/app/s/[token]/page.js +2 -2
- package/.next/server/app/s/[token]/page.js.nft.json +1 -1
- package/.next/server/app/s/[token]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +2 -2
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +21 -17
- package/.next/server/chunks/2031.js +1 -0
- package/.next/server/chunks/2693.js +5 -2
- package/.next/server/chunks/374.js +1 -0
- package/.next/server/chunks/5295.js +1 -0
- package/.next/server/chunks/{4700.js → 5704.js} +2 -2
- package/.next/server/chunks/6962.js +1 -0
- package/.next/server/chunks/8227.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/3151-861a6caa40f70f79.js +1 -0
- package/.next/static/chunks/3908-80efc60050779adf.js +1 -0
- package/.next/static/chunks/5697-5b9719b81806b4cf.js +1 -0
- package/.next/static/chunks/7424-d7fa15ef452064dd.js +1 -0
- package/.next/static/chunks/app/_global-error/page-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/ask/answer/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/ask/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/ask/verdict/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/board-annotations/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/board-annotations/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/board-layout/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/bug-flags/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/bug-flags/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/comment/answer/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/comment/claim/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/comment/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/quality/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/changes/viewed/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/code-graph/position/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/code-graph/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/context/feature/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/context/file/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/context/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/arrange/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/backfill-access/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/position/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/prune-planned/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/reconcile-endpoints/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/relations/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/db/tables/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/draft/approve/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/draft/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/draft/status/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/edges/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/edges/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/endpoints/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/entities/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/ingest/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/init/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/close/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/presence/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/questions/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/save/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/lesson/verdict/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/describe/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/files/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/finish/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/start/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/map/touch-active/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/mention-search/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/nodes/[id]/position/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/nodes/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/nodes/positions/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/nodes/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/nodes/subtasks/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/notes/[id]/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/notes/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/open/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/annotations/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/approve/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/history/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/markdown/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/presence/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/plan/verdict/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/preferences/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/project-meta/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/reset/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/scope-guard/check/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/share/create/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/share/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/stream/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/tab/nav/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/tab/presence/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/telemetry/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/telemetry/stats/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/version/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/workspace/activate/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/api/workspace/route-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/app/layout-f908dc26e06f4302.js +1 -0
- package/.next/static/chunks/app/learn/{page-a14eaf5143e2df55.js → page-bc40746566d115e5.js} +1 -1
- package/.next/static/chunks/app/map/{page-06282017c592fb3c.js → page-233ccd830873114b.js} +1 -1
- package/.next/static/chunks/app/plan/page-8ec1e1d8ea40686a.js +11 -0
- package/.next/static/chunks/app/s/[token]/{page-a4deb16beff21840.js → page-2a3f04bc3f60ec49.js} +1 -1
- package/.next/static/chunks/app/settings/{page-67cab634be8bfef2.js → page-a751eabdd933f685.js} +1 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-d54a69e7dc6b4008.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-d54a69e7dc6b4008.js +1 -0
- package/.next/static/css/60048003a8c96562.css +1 -0
- package/.next/static/yescmIM6BeSzGgwZ-Dwpq/_buildManifest.js +1 -0
- package/.next/trace +46 -45
- package/.next/trace-build +1 -1
- package/.next/types/app/api/ask/answer/route.ts +351 -0
- package/.next/types/app/api/ask/route.ts +351 -0
- package/.next/types/app/api/ask/verdict/route.ts +351 -0
- package/.next/types/app/api/changes/comment/answer/route.ts +351 -0
- package/.next/types/routes.d.ts +5 -1
- package/.next/types/validator.ts +36 -0
- package/dist/bin/answer.js +8 -0
- package/dist/bin/ask.js +5 -0
- package/dist/bin/beacon.js +5 -5
- package/dist/bin/doctor.js +20 -20
- package/dist/bin/guard.js +1 -1
- package/dist/bin/hook.js +20 -20
- package/dist/bin/mcp.js +31 -31
- package/dist/bin/plan.js +18 -18
- package/dist/bin/remove.js +6 -6
- package/dist/bin/stop-hook.js +7 -3
- package/dist/bin/uninstall.js +20 -20
- package/dist/lib/global-install.js +1 -1
- package/dist/lib/telemetry.js +1 -1
- package/dist/lib/workspaces.js +1 -1
- package/package.json +1 -1
- package/.next/server/chunks/4307.js +0 -1
- package/.next/server/chunks/5719.js +0 -1
- package/.next/server/chunks/8190.js +0 -1
- package/.next/static/chunks/2231-63ad38ec8fb7cb6f.js +0 -1
- package/.next/static/chunks/5909-387573cddda35a48.js +0 -1
- package/.next/static/chunks/766-242213d211df0afd.js +0 -1
- package/.next/static/chunks/8997-78a359d0d238622e.js +0 -1
- package/.next/static/chunks/app/_global-error/page-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/board-annotations/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/board-annotations/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/board-layout/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/bug-flags/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/bug-flags/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/changes/comment/claim/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/changes/comment/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/changes/quality/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/changes/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/changes/viewed/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/code-graph/position/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/code-graph/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/context/feature/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/context/file/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/context/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/arrange/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/backfill-access/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/position/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/prune-planned/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/reconcile-endpoints/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/relations/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/db/tables/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/draft/approve/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/draft/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/draft/status/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/edges/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/edges/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/endpoints/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/entities/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/ingest/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/init/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/close/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/presence/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/questions/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/save/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/lesson/verdict/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/describe/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/files/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/finish/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/start/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/map/touch-active/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/mention-search/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/nodes/[id]/position/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/nodes/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/nodes/positions/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/nodes/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/nodes/subtasks/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/notes/[id]/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/notes/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/open/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/annotations/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/approve/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/history/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/markdown/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/presence/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/plan/verdict/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/preferences/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/project-meta/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/reset/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/scope-guard/check/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/share/create/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/share/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/stream/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/tab/nav/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/tab/presence/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/telemetry/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/telemetry/stats/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/version/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/workspace/activate/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/api/workspace/route-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/app/layout-6e934a2850efd223.js +0 -1
- package/.next/static/chunks/app/plan/page-41a3990cb858c5f2.js +0 -11
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-5f4c3e6e9cc8e6c9.js +0 -1
- package/.next/static/css/95dc31edc34789a7.css +0 -1
- package/.next/static/mB9lqGEsIvB7tTvv9GU48/_buildManifest.js +0 -1
- /package/.next/static/{mB9lqGEsIvB7tTvv9GU48 → yescmIM6BeSzGgwZ-Dwpq}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"434":{"*":{"id":"41616","name":"*","chunks":[],"async":false}},"6539":{"*":{"id":"70813","name":"*","chunks":[],"async":false}},"10436":{"*":{"id":"41164","name":"*","chunks":[],"async":false}},"21904":{"*":{"id":"77476","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"29510":{"*":{"id":"59953","name":"*","chunks":[],"async":false}},"37665":{"*":{"id":"16900","name":"*","chunks":[],"async":false}},"38464":{"*":{"id":"86634","name":"*","chunks":[],"async":false}},"44853":{"*":{"id":"42025","name":"*","chunks":[],"async":false}},"48045":{"*":{"id":"65699","name":"*","chunks":[],"async":false}},"48484":{"*":{"id":"81166","name":"*","chunks":[],"async":false}},"51212":{"*":{"id":"94736","name":"*","chunks":[],"async":false}},"52174":{"*":{"id":"18718","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62079":{"*":{"id":"37008","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"67787":{"*":{"id":"95151","name":"*","chunks":[],"async":false}},"71265":{"*":{"id":"10549","name":"*","chunks":[],"async":false}},"71423":{"*":{"id":"81281","name":"*","chunks":[],"async":false}},"71886":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"73954":{"*":{"id":"88264","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"77242":{"*":{"id":"19208","name":"*","chunks":[],"async":false}},"77260":{"*":{"id":"96512","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"81453":{"*":{"id":"1237","name":"*","chunks":[],"async":false}},"81984":{"*":{"id":"69370","name":"*","chunks":[],"async":false}},"81998":{"*":{"id":"47194","name":"*","chunks":[],"async":false}},"85909":{"*":{"id":"30773","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87883":{"*":{"id":"13747","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"96759":{"*":{"id":"79573","name":"*","chunks":[],"async":false}},"98500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/app/globals.css":{"id":66872,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/ai/main-region.tsx":{"id":52174,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/live-refresh.tsx":{"id":81998,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/notes/notes-context.tsx":{"id":81984,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/notes/notes-drawer.tsx":{"id":71886,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-bar.tsx":{"id":434,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-context.tsx":{"id":48484,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/tab-workspace.tsx":{"id":77242,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/top-nav.tsx":{"id":10436,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/components/update-banner.tsx":{"id":29510,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":35353,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":63494,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","9887","static/chunks/9887-e8954568a4031ed3.js","2231","static/chunks/2231-63ad38ec8fb7cb6f.js","7177","static/chunks/app/layout-6e934a2850efd223.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":71265,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/app-dir/link.js":{"id":98500,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/app-dir/link.js":{"id":98500,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/components/docs/docs.tsx":{"id":73954,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/learn/learn-workspace.tsx":{"id":37665,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/learn/lesson-library-view.tsx":{"id":38464,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/landing/landing.tsx":{"id":21904,"name":"*","chunks":["3862","static/chunks/1a258343-954e0e6619585d3c.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","5957","static/chunks/5957-83f611fcd5a08b45.js","8974","static/chunks/app/page-ec00130a7a249f14.js"],"async":false},"/home/runner/work/beacon/beacon/components/graph/db-map-client.tsx":{"id":44853,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/files-map-client.tsx":{"id":62079,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/map-client.tsx":{"id":85909,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/map-tabs-shell.tsx":{"id":77260,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/context-card.tsx":{"id":81453,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/components/danger-card.tsx":{"id":71423,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/components/delete-workspace-card.tsx":{"id":96759,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/components/permission-mode-card.tsx":{"id":67787,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/@base-ui/react/esm/button/Button.js":{"id":6539,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","8997","static/chunks/8997-78a359d0d238622e.js","766","static/chunks/766-242213d211df0afd.js","4662","static/chunks/app/settings/page-67cab634be8bfef2.js"],"async":false},"/home/runner/work/beacon/beacon/components/share/shared-board-view.tsx":{"id":48045,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/share/shared-plan-view.tsx":{"id":51212,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-workspace.tsx":{"id":87883,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/beacon/beacon/":[],"/home/runner/work/beacon/beacon/app/layout":[{"inlined":false,"path":"static/css/95dc31edc34789a7.css"},{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"}],"/home/runner/work/beacon/beacon/app/page":[{"inlined":false,"path":"static/css/008a05b0ad6b854a.css"},{"inlined":false,"path":"static/css/53e84df868515cf7.css"},{"inlined":false,"path":"static/css/83755b1f39ccf91d.css"}],"/home/runner/work/beacon/beacon/app/settings/page":[]},"rscModuleMapping":{"434":{"*":{"id":"81974","name":"*","chunks":[],"async":false}},"6539":{"*":{"id":"2739","name":"*","chunks":[],"async":false}},"10436":{"*":{"id":"77946","name":"*","chunks":[],"async":false}},"21904":{"*":{"id":"67878","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"29510":{"*":{"id":"17017","name":"*","chunks":[],"async":false}},"37665":{"*":{"id":"28030","name":"*","chunks":[],"async":false}},"38464":{"*":{"id":"41276","name":"*","chunks":[],"async":false}},"44853":{"*":{"id":"7239","name":"*","chunks":[],"async":false}},"48045":{"*":{"id":"89501","name":"*","chunks":[],"async":false}},"48484":{"*":{"id":"48136","name":"*","chunks":[],"async":false}},"51212":{"*":{"id":"24774","name":"*","chunks":[],"async":false}},"52174":{"*":{"id":"7572","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62079":{"*":{"id":"42696","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"67787":{"*":{"id":"74069","name":"*","chunks":[],"async":false}},"71265":{"*":{"id":"47613","name":"*","chunks":[],"async":false}},"71423":{"*":{"id":"44919","name":"*","chunks":[],"async":false}},"71886":{"*":{"id":"30818","name":"*","chunks":[],"async":false}},"73954":{"*":{"id":"42590","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"77242":{"*":{"id":"25126","name":"*","chunks":[],"async":false}},"77260":{"*":{"id":"46126","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"81453":{"*":{"id":"13255","name":"*","chunks":[],"async":false}},"81984":{"*":{"id":"71412","name":"*","chunks":[],"async":false}},"81998":{"*":{"id":"60867","name":"*","chunks":[],"async":false}},"85909":{"*":{"id":"56030","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87883":{"*":{"id":"478","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"96759":{"*":{"id":"98167","name":"*","chunks":[],"async":false}},"98500":{"*":{"id":"23318","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"434":{"*":{"id":"41616","name":"*","chunks":[],"async":false}},"6539":{"*":{"id":"70813","name":"*","chunks":[],"async":false}},"10212":{"*":{"id":"85452","name":"*","chunks":[],"async":false}},"10436":{"*":{"id":"41164","name":"*","chunks":[],"async":false}},"13151":{"*":{"id":"5821","name":"*","chunks":[],"async":false}},"21904":{"*":{"id":"77476","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"29510":{"*":{"id":"59953","name":"*","chunks":[],"async":false}},"37665":{"*":{"id":"16900","name":"*","chunks":[],"async":false}},"38464":{"*":{"id":"86634","name":"*","chunks":[],"async":false}},"44853":{"*":{"id":"42025","name":"*","chunks":[],"async":false}},"48045":{"*":{"id":"65699","name":"*","chunks":[],"async":false}},"48484":{"*":{"id":"81166","name":"*","chunks":[],"async":false}},"51212":{"*":{"id":"94736","name":"*","chunks":[],"async":false}},"52174":{"*":{"id":"18718","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62079":{"*":{"id":"37008","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"67787":{"*":{"id":"95151","name":"*","chunks":[],"async":false}},"71265":{"*":{"id":"10549","name":"*","chunks":[],"async":false}},"71423":{"*":{"id":"81281","name":"*","chunks":[],"async":false}},"71886":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"73954":{"*":{"id":"88264","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"77242":{"*":{"id":"19208","name":"*","chunks":[],"async":false}},"77260":{"*":{"id":"96512","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"81453":{"*":{"id":"1237","name":"*","chunks":[],"async":false}},"81984":{"*":{"id":"69370","name":"*","chunks":[],"async":false}},"81998":{"*":{"id":"47194","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87883":{"*":{"id":"13747","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"96759":{"*":{"id":"79573","name":"*","chunks":[],"async":false}},"98500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/app/globals.css":{"id":66872,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/ai/main-region.tsx":{"id":52174,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/ask/ask-modal.tsx":{"id":10212,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/live-refresh.tsx":{"id":81998,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/notes/notes-context.tsx":{"id":81984,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/notes/notes-drawer.tsx":{"id":71886,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-bar.tsx":{"id":434,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-context.tsx":{"id":48484,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/tab-workspace.tsx":{"id":77242,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/top-nav.tsx":{"id":10436,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/components/update-banner.tsx":{"id":29510,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":35353,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":63494,"name":"*","chunks":["5004","static/chunks/70e0d97a-bbb0ec05083da54f.js","277","static/chunks/54a60aa6-0378818fce5a4dc5.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","9887","static/chunks/9887-e8954568a4031ed3.js","3908","static/chunks/3908-80efc60050779adf.js","7177","static/chunks/app/layout-f908dc26e06f4302.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":71265,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/client/app-dir/link.js":{"id":98500,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/next/dist/esm/client/app-dir/link.js":{"id":98500,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/components/docs/docs.tsx":{"id":73954,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/learn/learn-workspace.tsx":{"id":37665,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/learn/lesson-library-view.tsx":{"id":38464,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/landing/landing.tsx":{"id":21904,"name":"*","chunks":["3862","static/chunks/1a258343-954e0e6619585d3c.js","8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","5957","static/chunks/5957-83f611fcd5a08b45.js","8974","static/chunks/app/page-ec00130a7a249f14.js"],"async":false},"/home/runner/work/beacon/beacon/components/graph/db-map-client.tsx":{"id":44853,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/files-map-client.tsx":{"id":62079,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/map-client.tsx":{"id":13151,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/graph/map-tabs-shell.tsx":{"id":77260,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/share/shared-board-view.tsx":{"id":48045,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/share/shared-plan-view.tsx":{"id":51212,"name":"*","chunks":[],"async":false},"/home/runner/work/beacon/beacon/components/context-card.tsx":{"id":81453,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/components/danger-card.tsx":{"id":71423,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/components/delete-workspace-card.tsx":{"id":96759,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/components/permission-mode-card.tsx":{"id":67787,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/node_modules/@base-ui/react/esm/button/Button.js":{"id":6539,"name":"*","chunks":["8500","static/chunks/8500-f62a38ff68ab7f42.js","4888","static/chunks/4888-911c0da3c2d785d2.js","7424","static/chunks/7424-d7fa15ef452064dd.js","5697","static/chunks/5697-5b9719b81806b4cf.js","4662","static/chunks/app/settings/page-a751eabdd933f685.js"],"async":false},"/home/runner/work/beacon/beacon/components/plan/plan-workspace.tsx":{"id":87883,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/beacon/beacon/":[],"/home/runner/work/beacon/beacon/app/layout":[{"inlined":false,"path":"static/css/60048003a8c96562.css"},{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"}],"/home/runner/work/beacon/beacon/app/page":[{"inlined":false,"path":"static/css/008a05b0ad6b854a.css"},{"inlined":false,"path":"static/css/53e84df868515cf7.css"},{"inlined":false,"path":"static/css/83755b1f39ccf91d.css"}],"/home/runner/work/beacon/beacon/app/settings/page":[]},"rscModuleMapping":{"434":{"*":{"id":"81974","name":"*","chunks":[],"async":false}},"6539":{"*":{"id":"2739","name":"*","chunks":[],"async":false}},"10212":{"*":{"id":"42462","name":"*","chunks":[],"async":false}},"10436":{"*":{"id":"77946","name":"*","chunks":[],"async":false}},"13151":{"*":{"id":"56030","name":"*","chunks":[],"async":false}},"21904":{"*":{"id":"67878","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"29510":{"*":{"id":"17017","name":"*","chunks":[],"async":false}},"37665":{"*":{"id":"28030","name":"*","chunks":[],"async":false}},"38464":{"*":{"id":"41276","name":"*","chunks":[],"async":false}},"44853":{"*":{"id":"7239","name":"*","chunks":[],"async":false}},"48045":{"*":{"id":"89501","name":"*","chunks":[],"async":false}},"48484":{"*":{"id":"48136","name":"*","chunks":[],"async":false}},"51212":{"*":{"id":"24774","name":"*","chunks":[],"async":false}},"52174":{"*":{"id":"7572","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62079":{"*":{"id":"42696","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"67787":{"*":{"id":"74069","name":"*","chunks":[],"async":false}},"71265":{"*":{"id":"47613","name":"*","chunks":[],"async":false}},"71423":{"*":{"id":"44919","name":"*","chunks":[],"async":false}},"71886":{"*":{"id":"30818","name":"*","chunks":[],"async":false}},"73954":{"*":{"id":"42590","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"77242":{"*":{"id":"25126","name":"*","chunks":[],"async":false}},"77260":{"*":{"id":"46126","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"81453":{"*":{"id":"13255","name":"*","chunks":[],"async":false}},"81984":{"*":{"id":"71412","name":"*","chunks":[],"async":false}},"81998":{"*":{"id":"60867","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87883":{"*":{"id":"478","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"96759":{"*":{"id":"98167","name":"*","chunks":[],"async":false}},"98500":{"*":{"id":"23318","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -8,16 +8,20 @@
|
|
|
8
8
|
"/api/nodes/subtasks/route": "app/api/nodes/subtasks/route.js",
|
|
9
9
|
"/apple-icon.png/route": "app/apple-icon.png/route.js",
|
|
10
10
|
"/icon.svg/route": "app/icon.svg/route.js",
|
|
11
|
+
"/api/ask/answer/route": "app/api/ask/answer/route.js",
|
|
12
|
+
"/api/ask/verdict/route": "app/api/ask/verdict/route.js",
|
|
13
|
+
"/api/ask/route": "app/api/ask/route.js",
|
|
14
|
+
"/api/board-annotations/[id]/route": "app/api/board-annotations/[id]/route.js",
|
|
11
15
|
"/api/board-annotations/route": "app/api/board-annotations/route.js",
|
|
12
16
|
"/api/board-layout/route": "app/api/board-layout/route.js",
|
|
13
|
-
"/api/board-annotations/[id]/route": "app/api/board-annotations/[id]/route.js",
|
|
14
17
|
"/api/bug-flags/[id]/route": "app/api/bug-flags/[id]/route.js",
|
|
15
|
-
"/api/changes/comment/claim/route": "app/api/changes/comment/claim/route.js",
|
|
16
18
|
"/api/bug-flags/route": "app/api/bug-flags/route.js",
|
|
19
|
+
"/api/changes/comment/answer/route": "app/api/changes/comment/answer/route.js",
|
|
20
|
+
"/api/changes/comment/claim/route": "app/api/changes/comment/claim/route.js",
|
|
17
21
|
"/api/changes/comment/route": "app/api/changes/comment/route.js",
|
|
18
|
-
"/api/changes/quality/route": "app/api/changes/quality/route.js",
|
|
19
|
-
"/api/changes/viewed/route": "app/api/changes/viewed/route.js",
|
|
20
22
|
"/api/changes/route": "app/api/changes/route.js",
|
|
23
|
+
"/api/changes/viewed/route": "app/api/changes/viewed/route.js",
|
|
24
|
+
"/api/changes/quality/route": "app/api/changes/quality/route.js",
|
|
21
25
|
"/api/code-graph/position/route": "app/api/code-graph/position/route.js",
|
|
22
26
|
"/api/context/route": "app/api/context/route.js",
|
|
23
27
|
"/api/db/arrange/route": "app/api/db/arrange/route.js",
|
|
@@ -25,14 +29,15 @@
|
|
|
25
29
|
"/api/db/position/route": "app/api/db/position/route.js",
|
|
26
30
|
"/api/db/prune-planned/route": "app/api/db/prune-planned/route.js",
|
|
27
31
|
"/api/db/reconcile-endpoints/route": "app/api/db/reconcile-endpoints/route.js",
|
|
28
|
-
"/api/db/tables/[id]/route": "app/api/db/tables/[id]/route.js",
|
|
29
32
|
"/api/db/relations/[id]/route": "app/api/db/relations/[id]/route.js",
|
|
33
|
+
"/api/db/tables/[id]/route": "app/api/db/tables/[id]/route.js",
|
|
30
34
|
"/api/draft/approve/route": "app/api/draft/approve/route.js",
|
|
31
35
|
"/api/draft/route": "app/api/draft/route.js",
|
|
32
36
|
"/api/draft/status/route": "app/api/draft/status/route.js",
|
|
33
|
-
"/api/edges/route": "app/api/edges/route.js",
|
|
34
37
|
"/api/edges/[id]/route": "app/api/edges/[id]/route.js",
|
|
38
|
+
"/api/edges/route": "app/api/edges/route.js",
|
|
35
39
|
"/api/endpoints/[id]/route": "app/api/endpoints/[id]/route.js",
|
|
40
|
+
"/api/entities/route": "app/api/entities/route.js",
|
|
36
41
|
"/api/ingest/route": "app/api/ingest/route.js",
|
|
37
42
|
"/api/lesson/close/route": "app/api/lesson/close/route.js",
|
|
38
43
|
"/api/lesson/presence/route": "app/api/lesson/presence/route.js",
|
|
@@ -40,48 +45,47 @@
|
|
|
40
45
|
"/api/lesson/route": "app/api/lesson/route.js",
|
|
41
46
|
"/api/lesson/save/route": "app/api/lesson/save/route.js",
|
|
42
47
|
"/api/lesson/verdict/route": "app/api/lesson/verdict/route.js",
|
|
43
|
-
"/api/entities/route": "app/api/entities/route.js",
|
|
44
48
|
"/api/map/files/route": "app/api/map/files/route.js",
|
|
45
49
|
"/api/map/finish/route": "app/api/map/finish/route.js",
|
|
46
|
-
"/api/map/route": "app/api/map/route.js",
|
|
47
50
|
"/api/map/describe/route": "app/api/map/describe/route.js",
|
|
51
|
+
"/api/map/route": "app/api/map/route.js",
|
|
52
|
+
"/api/map/start/route": "app/api/map/start/route.js",
|
|
48
53
|
"/api/map/touch-active/route": "app/api/map/touch-active/route.js",
|
|
49
|
-
"/api/mention-search/route": "app/api/mention-search/route.js",
|
|
50
54
|
"/api/nodes/[id]/position/route": "app/api/nodes/[id]/position/route.js",
|
|
51
55
|
"/api/nodes/[id]/route": "app/api/nodes/[id]/route.js",
|
|
52
|
-
"/api/map/start/route": "app/api/map/start/route.js",
|
|
53
56
|
"/api/nodes/positions/route": "app/api/nodes/positions/route.js",
|
|
57
|
+
"/api/mention-search/route": "app/api/mention-search/route.js",
|
|
54
58
|
"/api/nodes/route": "app/api/nodes/route.js",
|
|
55
59
|
"/api/notes/[id]/route": "app/api/notes/[id]/route.js",
|
|
56
60
|
"/api/notes/route": "app/api/notes/route.js",
|
|
57
61
|
"/api/open/route": "app/api/open/route.js",
|
|
58
62
|
"/api/plan/approve/route": "app/api/plan/approve/route.js",
|
|
63
|
+
"/api/plan/history/route": "app/api/plan/history/route.js",
|
|
59
64
|
"/api/plan/annotations/route": "app/api/plan/annotations/route.js",
|
|
60
65
|
"/api/plan/markdown/route": "app/api/plan/markdown/route.js",
|
|
61
|
-
"/api/plan/history/route": "app/api/plan/history/route.js",
|
|
62
66
|
"/api/plan/presence/route": "app/api/plan/presence/route.js",
|
|
67
|
+
"/api/plan/route": "app/api/plan/route.js",
|
|
63
68
|
"/api/plan/verdict/route": "app/api/plan/verdict/route.js",
|
|
64
|
-
"/api/project-meta/route": "app/api/project-meta/route.js",
|
|
65
69
|
"/api/preferences/route": "app/api/preferences/route.js",
|
|
70
|
+
"/api/project-meta/route": "app/api/project-meta/route.js",
|
|
66
71
|
"/api/reset/route": "app/api/reset/route.js",
|
|
67
|
-
"/api/
|
|
72
|
+
"/api/scope-guard/check/route": "app/api/scope-guard/check/route.js",
|
|
68
73
|
"/api/share/create/route": "app/api/share/create/route.js",
|
|
74
|
+
"/api/share/route": "app/api/share/route.js",
|
|
75
|
+
"/api/stream/route": "app/api/stream/route.js",
|
|
69
76
|
"/api/tab/nav/route": "app/api/tab/nav/route.js",
|
|
70
77
|
"/api/tab/presence/route": "app/api/tab/presence/route.js",
|
|
71
|
-
"/api/stream/route": "app/api/stream/route.js",
|
|
72
|
-
"/api/scope-guard/check/route": "app/api/scope-guard/check/route.js",
|
|
73
78
|
"/api/telemetry/route": "app/api/telemetry/route.js",
|
|
74
79
|
"/api/version/route": "app/api/version/route.js",
|
|
75
80
|
"/api/telemetry/stats/route": "app/api/telemetry/stats/route.js",
|
|
76
81
|
"/api/workspace/activate/route": "app/api/workspace/activate/route.js",
|
|
77
|
-
"/api/plan/route": "app/api/plan/route.js",
|
|
78
82
|
"/api/workspace/route": "app/api/workspace/route.js",
|
|
79
83
|
"/help/page": "app/help/page.js",
|
|
80
84
|
"/docs/page": "app/docs/page.js",
|
|
81
85
|
"/learn/page": "app/learn/page.js",
|
|
82
86
|
"/page": "app/page.js",
|
|
83
87
|
"/map/page": "app/map/page.js",
|
|
84
|
-
"/settings/page": "app/settings/page.js",
|
|
85
88
|
"/s/[token]/page": "app/s/[token]/page.js",
|
|
89
|
+
"/settings/page": "app/settings/page.js",
|
|
86
90
|
"/plan/page": "app/plan/page.js"
|
|
87
91
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=2031,exports.ids=[2031],exports.modules={449:(a,b,c)=>{c.d(b,{F:()=>n,Oh:()=>j,U3:()=>o,q2:()=>q,uh:()=>p});var d=c(77598),e=c(73024),f=c(76760),g=c(32213),h=c(6681),i=c(45301);function j(a,b,c){let e="question"===a?JSON.stringify({h:b?.header,q:b?.question,o:b?.options?.map(a=>a.label)}):JSON.stringify({t:c?.tool,ti:c?.title,p:c?.preview});return(0,d.createHash)("sha256").update(e).digest("hex").slice(0,16)}let k=()=>(0,f.join)((0,i.KS)(),"ask-pending.json"),l=()=>(0,f.join)((0,i.KS)(),"ask-resolution.json");function m(a){try{return JSON.parse((0,e.readFileSync)(a,"utf8"))}catch{return null}}let n=()=>m(k()),o=()=>m(l());function p(a,b){var c;let d;if(function(a,b,c,d,e=h.Il){return"question"===c&&!!a&&a.hash===b&&d-a.decidedAt<e}(o(),a.hash,a.kind,b))return{loop:!0};let f=(c=a.hash,`${c}-${b}`);return(0,e.rmSync)(l(),{force:!0}),d={id:f,kind:a.kind,hash:a.hash,createdAt:b,question:a.question,approval:a.approval},(0,g.q)(k(),d),{loop:!1,id:f}}function q(a,b){let c,d=n();c={id:a.id,hash:d?.hash??"",kind:d?.kind??(a.decision?"approval":"question"),selected:a.selected,decision:a.decision,decidedAt:b},(0,g.q)(l(),c),(0,e.rmSync)(k(),{force:!0})}},6681:(a,b,c)=>{c.d(b,{Il:()=>e,TT:()=>d});let d=["IN_PROGRESS","PENDING","BLOCKED","DONE","DEPRIORITIZED","CANCELLED"],e=6e4},19225:(a,b,c)=>{a.exports=c(44870)},31059:(a,b,c)=>{c.d(b,{ie:()=>f});var d=c(37096),e=c(71484);function f(...a){return a[0].columns?new g(a[0].columns,a[0].name):new g(a)}class g{static [d.i]="SQLitePrimaryKeyBuilder";columns;name;constructor(a,b){this.columns=a,this.name=b}build(a){return new h(a,this.columns,this.name)}}class h{constructor(a,b,c){this.table=a,this.columns=b,this.name=c}static [d.i]="SQLitePrimaryKey";columns;name;getName(){return this.name??`${this.table[e.jo.Symbol.Name]}_${this.columns.map(a=>a.name).join("_")}_pk`}}},32213:(a,b,c)=>{c.d(b,{q:()=>f});var d=c(73024),e=c(76760);function f(a,b,c=!1){var g=JSON.stringify(b,null,c?2:void 0);(0,d.mkdirSync)((0,e.dirname)(a),{recursive:!0});let h=`${a}.tmp`;try{(0,d.writeFileSync)(h,g),(0,d.renameSync)(h,a)}catch(a){throw(0,d.rmSync)(h,{force:!0}),a}}},45301:(a,b,c)=>{c.d(b,{KS:()=>l,Qq:()=>k,jv:()=>j});var d=c(31421),e=c(77598),f=c(48161),g=c(76760),h=c(6716);let i=null;function j(){if(process.env.BEACON_REPO)return process.env.BEACON_REPO;let a=(0,h.p1)();if(a){let b=(0,h.K4)(a);if(b)return b.path}let b=(0,h.WQ)();if(b)return b.path;if(i)return i;try{let a=(0,d.execSync)("git rev-parse --show-toplevel",{cwd:process.cwd(),stdio:["ignore","pipe","ignore"]}).toString().trim();if(a)return i=a}catch{}return i=(0,g.resolve)(process.cwd(),"../..")}function k(){return(0,g.basename)(j())}function l(){if(process.env.BEACON_DATA_DIR)return process.env.BEACON_DATA_DIR;let a=(0,h.p1)();if(a&&(0,h.K4)(a))return(0,h.T_)(a);let b=(0,h.WQ)();return b?(0,h.T_)(b.id):(0,g.join)((0,f.homedir)(),".beacon",(0,e.createHash)("sha256").update(j()).digest("hex").slice(0,12))}},76968:(a,b,c)=>{c.d(b,{GL:()=>i,Pe:()=>h});var d=c(37096);class e{constructor(a,b){this.name=a,this.unique=b}static [d.i]="SQLiteIndexBuilderOn";on(...a){return new f(this.name,a,this.unique)}}class f{static [d.i]="SQLiteIndexBuilder";config;constructor(a,b,c){this.config={name:a,columns:b,unique:c,where:void 0}}where(a){return this.config.where=a,this}build(a){return new g(this.config,a)}}class g{static [d.i]="SQLiteIndex";config;constructor(a,b){this.config={...a,table:b}}}function h(a){return new e(a,!1)}function i(a){return new e(a,!0)}},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}}};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
"use strict";exports.id=2693,exports.ids=[2693],exports.modules={18072:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Bk:()=>B,Ph:()=>z,Ze:()=>C,sS:()=>A});var e=c(77598),f=c(34216),g=c(56727),h=c(30046),i=c(72179),j=c(50101),k=c(61024),l=c(71584),m=c(79935),n=c(24433),o=c(54655),p=c(89049),q=c(70809),r=c(19734),s=c(51695),t=c(25128),u=c(88612),v=c(65299),w=a([g,i,j,n,r,s]);async function x(){let a=(0,o.Fn)(),b=(0,i.iL)(),c=await (0,j.C5)(),d=(0,q.YV)(),e=a?.description??"(no description)",f=a?.markdown?(0,n.J)(a.markdown).prose:(0,m.j)(e,b,c);return{description:e,markdown:f,draftDoc:b,featureGraph:c,annotations:d.annotations,globalComment:d.globalComment}}async function y(){await (0,j.t7)(),(0,i.Vs)(),(0,o.E9)(),(0,q.nb)(),(0,u.bO)()}async function z(a){let b=(0,o.Fn)(),c=await x(),d=a?.doc??c.draftDoc,j=(0,e.randomUUID)().slice(0,8),m=b?.contractFiles??[];try{if(0===m.length&&c.markdown){let a=(await g.db.query.codeFile.findMany({columns:{path:!0}})).map(a=>a.path);m=(0,v.vV)(c.markdown,a)}await (0,s.Ek)({planId:j,declaredFiles:m})}catch(a){console.error("[approvePlan] scope-contract write failed; approving without it",a),m=[]}(0,t.Ey)(j);let n=d?await (0,i.XF)(d,g.db,{planId:j}):null,q=await g.db.update(h.node).set({source:"MANUAL",planId:j}).where((0,f.Uo)((0,f.eq)(h.node.source,"DRAFT"),(0,f.eq)(h.node.view,"ROADMAP"))).returning({id:h.node.id,title:h.node.title,cluster:h.node.cluster}),u={count:q.length};if(q.length){let a=await g.db.query.node.findMany({where:(a,{eq:b})=>b(a.view,"ROADMAP"),columns:{id:!0,parentId:!0,cluster:!0,x:!0,y:!0}}),b=new Set(q.map(a=>a.id)),c=a=>(a??"").trim()||"—",d=a.filter(a=>!b.has(a.id)).map(a=>({x:a.x,y:a.y,group:c(a.cluster),top:!a.parentId}));for(let a of q){let b=c(a.cluster),e=(0,l.E)(d.filter(a=>a.top&&a.group===b),d);await g.db.update(h.node).set({x:e.x,y:e.y}).where((0,f.eq)(h.node.id,a.id)),d.push({x:e.x,y:e.y,group:b,top:!0})}}(0,k.WH)({id:j,description:c.description,markdown:c.markdown,verdict:"approved",annotations:c.annotations,globalComment:c.globalComment,files:m,draftDoc:c.draftDoc,featureGraph:c.featureGraph});let w=[];n&&w.push(`${n.tables} table(s), ${n.relations} relation(s) and ${n.endpoints} endpoint(s)`),u.count&&w.push(`${u.count} feature(s)`);let z=w.length?`${w.join(" and ")} approved and persisted.`:"Plan approved.";return(0,p.Af)({proposedAt:b?.proposedAt??0,status:"approved",summary:z,detail:d?(0,i.zO)(d):void 0,features:q.map(a=>({title:a.title,id:a.id})),decidedAt:Date.now()}),await y(),await (0,r.Bx)(),{db:n,features:u.count}}async function A(){let a=(0,o.Fn)(),b=await x();(b.draftDoc&&(b.draftDoc.tables.length||b.draftDoc.endpoints.length)||b.featureGraph.features.length>0||a?.markdown)&&(0,k.WH)({description:b.description,markdown:b.markdown,verdict:"discarded",annotations:b.annotations,globalComment:b.globalComment,draftDoc:b.draftDoc,featureGraph:b.featureGraph}),(0,p.Af)({proposedAt:a?.proposedAt??0,status:"discarded",summary:"The user discarded the plan.",decidedAt:Date.now()}),(0,i.mk)(),await y(),await (0,r.Bx)()}async function B(){let a=(0,q.Z3)();if(a.submitted&&a.feedback)return{kind:"feedback",feedback:a.feedback};let b=(0,p.zC)();if(b)return"approved"===b.status?{kind:"approved",summary:b.summary,detail:b.detail,features:function(a){if(a?.length)return a.map(a=>"string"==typeof a?{title:a,id:""}:{title:a.title,id:a.id})}(b.features)}:{kind:"discarded",summary:b.summary};let c=(0,o.Fn)(),d=(0,i.iL)(),e=await (0,j.C5)();return(d?.tables.length??0)+(d?.endpoints.length??0)+e.features.length>0||c?.markdown?{kind:"pending"}:{kind:"discarded",summary:"The user discarded the plan."}}function C(){(0,q.nb)(),(0,p.mh)()}[g,i,j,n,r,s]=w.then?(await w)():w,d()}catch(a){d(a)}})},19225:(a,b,c)=>{a.exports=c(44870)},25128:(a,b,c)=>{c.d(b,{Ey:()=>k,ku:()=>l,u5:()=>j});var d=c(31421),e=c(73024),f=c(76760),g=c(45301),h=c(32213);function i(){return(0,f.join)((0,g.KS)(),"review-baseline.json")}function j(){try{return JSON.parse((0,e.readFileSync)(i(),"utf8"))}catch{return null}}function k(a){try{let b=(0,d.execFileSync)("git",["rev-parse","--verify","HEAD"],{cwd:(0,g.jv)(),stdio:["ignore","pipe","ignore"]}).toString().trim();b&&(0,h.q)(i(),{planId:a,sha:b,at:Date.now()})}catch{}}function l(a,b){return a&&b&&a.planId===b?a.sha:null}},32753:(a,b,c)=>{c.d(b,{EC:()=>h,jR:()=>f});let d=["frontend","backend","fullstack"],e={fe:"frontend",front:"frontend",be:"backend",back:"backend",fs:"fullstack","full-stack":"fullstack","full stack":"fullstack"};function f(a){let b=(a??"").trim().toLowerCase();return b?d.includes(b)?b:e[b]??null:null}let g=/\.(tsx|jsx|vue|svelte)$/i;function h(a){return a.some(a=>g.test(a))}},51695:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{EM:()=>n,Ek:()=>m,MS:()=>l,Zt:()=>j,jX:()=>p,m3:()=>o,yt:()=>k});var e=c(34216),f=c(56727),g=c(30046),h=a([f]);function i(a){try{let b=JSON.parse(a);return Array.isArray(b)?b.filter(a=>"string"==typeof a):[]}catch{return[]}}async function j(a=f.db){let b=await a.query.planContract.findFirst({where:(a,{eq:b})=>b(a.active,!0)});return b?{planId:b.planId,declaredFiles:i(b.declaredFiles),authorizedExtras:i(b.authorizedExtras)}:null}async function k(a,b=f.db){let c=await b.query.planContract.findFirst({where:(b,{eq:c})=>c(b.planId,a)});return c?{planId:c.planId,declaredFiles:i(c.declaredFiles),authorizedExtras:i(c.authorizedExtras)}:null}function l(a){return Array.from(new Set([...a.declaredFiles,...a.authorizedExtras])).sort((a,b)=>a.localeCompare(b))}async function m(a,b=f.db){await b.update(g.planContract).set({active:!1}).where((0,e.eq)(g.planContract.active,!0));let c=JSON.stringify(a.declaredFiles);await b.insert(g.planContract).values({planId:a.planId,declaredFiles:c,authorizedExtras:"[]",active:!0}).onConflictDoUpdate({target:g.planContract.planId,set:{declaredFiles:c,authorizedExtras:"[]",active:!0}})}async function n(a,b,c=f.db){let d=await c.query.planContract.findFirst({where:(b,{eq:c})=>c(b.planId,a)});if(!d)return;let h=i(d.authorizedExtras);h.includes(b)||(h.push(b),await c.update(g.planContract).set({authorizedExtras:JSON.stringify(h)}).where((0,e.eq)(g.planContract.planId,a)))}async function o(a=f.db){await a.update(g.planContract).set({active:!1}).where((0,e.eq)(g.planContract.active,!0))}function p(a){let{filePath:b,contract:c}=a;if(!c)return{decision:"allow"};let d=new Set([...c.declaredFiles,...c.authorizedExtras]);return 0===d.size||d.has(b)?{decision:"allow"}:{decision:"ask",reason:`⚠️ This edit touches \`${b}\`, which is outside this plan's declared scope. Authorize this divergence? (The contract is human-owned — only your approval can widen it.)`}}f=(h.then?(await h)():h)[0],d()}catch(a){d(a)}})},54655:(a,b,c)=>{c.d(b,{E9:()=>k,Fn:()=>i,UC:()=>j});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(){return(0,e.join)((0,f.KS)(),"plan-meta.json")}function i(){try{return JSON.parse((0,d.readFileSync)(h(),"utf8"))}catch{return null}}function j(a){(0,g.q)(h(),a)}function k(){(0,d.rmSync)(h(),{force:!0})}},65299:(a,b,c)=>{c.d(b,{vV:()=>e});let d=a=>a.split("/").filter(Boolean).pop()||a;function e(a,b){let c=function(a){let b=new Set,c=new Map;for(let e of a){let a=e.trim();if(!a)continue;b.add(a);let f=d(a),g=c.get(f);g?g.push(a):c.set(f,[a])}return{byPath:b,byBase:c}}(b),e=new Set;for(let b of a.matchAll(/`([^`\n]+)`/g)){let a=function(a,b){let c=b.trim().replace(/:\d+(?::\d+)?$/,"").replace(/^\.\//,"").replace(/^\/+/,"");if(!c)return[];if(a.byPath.has(c))return[c];let e=a.byBase.get(d(c))??[];return c.includes("/")?[...new Set(e.filter(a=>a===c||a.endsWith("/"+c)))].sort():1===e.length?[e[0]]:[]}(c,b[1]);1===a.length&&e.add(a[0])}return[...e].sort()}},70809:(a,b,c)=>{c.d(b,{nb:()=>k,Z3:()=>m,YV:()=>i,Tm:()=>l,D_:()=>j});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(){return(0,e.join)((0,f.KS)(),"plan-annotations-current.json")}function i(){try{let a=JSON.parse((0,d.readFileSync)(h(),"utf8"));return{annotations:a.annotations??[],globalComment:a.globalComment??"",submitted:!!a.submitted,submittedAt:a.submittedAt,boardEdits:a.boardEdits??"",questions:a.questions??[]}}catch{return{annotations:[],globalComment:"",submitted:!1,questions:[]}}}function j(a){(0,g.q)(h(),a)}function k(){(0,d.rmSync)(h(),{force:!0})}function l(a){let b;return[function(a,b=""){let c=a.filter(a=>(a.kind??"comment")==="comment"&&a.comment.trim()),d=a.filter(a=>"deletion"===a.kind),e=b.trim();if(!c.length&&!d.length&&!e)return"";let f=[];if(e&&f.push(`## Overall feedback
|
|
1
|
+
"use strict";exports.id=2693,exports.ids=[2693],exports.modules={18072:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Bk:()=>B,Ph:()=>z,Ze:()=>C,sS:()=>A});var e=c(77598),f=c(34216),g=c(56727),h=c(30046),i=c(72179),j=c(50101),k=c(61024),l=c(71584),m=c(79935),n=c(24433),o=c(54655),p=c(89049),q=c(70809),r=c(19734),s=c(51695),t=c(25128),u=c(88612),v=c(65299),w=a([g,i,j,n,r,s]);async function x(){let a=(0,o.Fn)(),b=(0,i.iL)(),c=await (0,j.C5)(),d=(0,q.YV)(),e=a?.description??"(no description)",f=a?.markdown?(0,n.J)(a.markdown).prose:(0,m.j)(e,b,c);return{description:e,markdown:f,draftDoc:b,featureGraph:c,annotations:d.annotations,globalComment:d.globalComment}}async function y(){await (0,j.t7)(),(0,i.Vs)(),(0,o.E9)(),(0,q.nb)(),(0,u.bO)()}async function z(a){let b=(0,o.Fn)(),c=await x(),d=a?.doc??c.draftDoc,j=(0,e.randomUUID)().slice(0,8),m=b?.contractFiles??[];try{if(0===m.length&&c.markdown){let a=(await g.db.query.codeFile.findMany({columns:{path:!0}})).map(a=>a.path);m=(0,v.vV)(c.markdown,a)}await (0,s.Ek)({planId:j,declaredFiles:m})}catch(a){console.error("[approvePlan] scope-contract write failed; approving without it",a),m=[]}(0,t.Ey)(j);let n=d?await (0,i.XF)(d,g.db,{planId:j}):null,q=await g.db.update(h.node).set({source:"MANUAL",planId:j}).where((0,f.Uo)((0,f.eq)(h.node.source,"DRAFT"),(0,f.eq)(h.node.view,"ROADMAP"))).returning({id:h.node.id,title:h.node.title,cluster:h.node.cluster}),u={count:q.length};if(q.length){let a=await g.db.query.node.findMany({where:(a,{eq:b})=>b(a.view,"ROADMAP"),columns:{id:!0,parentId:!0,cluster:!0,x:!0,y:!0}}),b=new Set(q.map(a=>a.id)),c=a=>(a??"").trim()||"—",d=a.filter(a=>!b.has(a.id)).map(a=>({x:a.x,y:a.y,group:c(a.cluster),top:!a.parentId}));for(let a of q){let b=c(a.cluster),e=(0,l.E)(d.filter(a=>a.top&&a.group===b),d);await g.db.update(h.node).set({x:e.x,y:e.y}).where((0,f.eq)(h.node.id,a.id)),d.push({x:e.x,y:e.y,group:b,top:!0})}}(0,k.WH)({id:j,description:c.description,markdown:c.markdown,verdict:"approved",annotations:c.annotations,globalComment:c.globalComment,files:m,draftDoc:c.draftDoc,featureGraph:c.featureGraph});let w=[];n&&w.push(`${n.tables} table(s), ${n.relations} relation(s) and ${n.endpoints} endpoint(s)`),u.count&&w.push(`${u.count} feature(s)`);let z=w.length?`${w.join(" and ")} approved and persisted.`:"Plan approved.";return(0,p.Af)({proposedAt:b?.proposedAt??0,status:"approved",summary:z,detail:d?(0,i.zO)(d):void 0,features:q.map(a=>({title:a.title,id:a.id})),decidedAt:Date.now()}),await y(),await (0,r.Bx)(),{db:n,features:u.count}}async function A(){let a=(0,o.Fn)(),b=await x();(b.draftDoc&&(b.draftDoc.tables.length||b.draftDoc.endpoints.length)||b.featureGraph.features.length>0||a?.markdown)&&(0,k.WH)({description:b.description,markdown:b.markdown,verdict:"discarded",annotations:b.annotations,globalComment:b.globalComment,draftDoc:b.draftDoc,featureGraph:b.featureGraph}),(0,p.Af)({proposedAt:a?.proposedAt??0,status:"discarded",summary:"The user discarded the plan.",decidedAt:Date.now()}),(0,i.mk)(),await y(),await (0,r.Bx)()}async function B(){let a=(0,q.Z3)();if(a.submitted&&a.feedback)return{kind:"feedback",feedback:a.feedback};let b=(0,p.zC)();if(b)return"approved"===b.status?{kind:"approved",summary:b.summary,detail:b.detail,features:function(a){if(a?.length)return a.map(a=>"string"==typeof a?{title:a,id:""}:{title:a.title,id:a.id})}(b.features)}:{kind:"discarded",summary:b.summary};let c=(0,o.Fn)(),d=(0,i.iL)(),e=await (0,j.C5)();return(d?.tables.length??0)+(d?.endpoints.length??0)+e.features.length>0||c?.markdown?{kind:"pending"}:{kind:"discarded",summary:"The user discarded the plan."}}function C(){(0,q.nb)(),(0,p.mh)()}[g,i,j,n,r,s]=w.then?(await w)():w,d()}catch(a){d(a)}})},19225:(a,b,c)=>{a.exports=c(44870)},25128:(a,b,c)=>{c.d(b,{Ey:()=>k,ku:()=>l,u5:()=>j});var d=c(31421),e=c(73024),f=c(76760),g=c(45301),h=c(32213);function i(){return(0,f.join)((0,g.KS)(),"review-baseline.json")}function j(){try{return JSON.parse((0,e.readFileSync)(i(),"utf8"))}catch{return null}}function k(a){try{let b=(0,d.execFileSync)("git",["rev-parse","--verify","HEAD"],{cwd:(0,g.jv)(),stdio:["ignore","pipe","ignore"]}).toString().trim();b&&(0,h.q)(i(),{planId:a,sha:b,at:Date.now()})}catch{}}function l(a,b){return a&&b&&a.planId===b?a.sha:null}},32753:(a,b,c)=>{c.d(b,{EC:()=>h,jR:()=>f});let d=["frontend","backend","fullstack"],e={fe:"frontend",front:"frontend",be:"backend",back:"backend",fs:"fullstack","full-stack":"fullstack","full stack":"fullstack"};function f(a){let b=(a??"").trim().toLowerCase();return b?d.includes(b)?b:e[b]??null:null}let g=/\.(tsx|jsx|vue|svelte)$/i;function h(a){return a.some(a=>g.test(a))}},42912:(a,b,c)=>{c.d(b,{Tn:()=>j,mu:()=>l,oh:()=>h,qH:()=>k});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(a,b){let c=a.trim().split("\\").join("/");if(!c)return null;let d=b.split("\\").join("/").replace(/\/+$/,"");return d&&c.startsWith(d+"/")?c.slice(d.length+1):c.startsWith("/")?null:c}function i(){return(0,e.join)((0,f.KS)(),"touched-files.json")}function j(a=Date.now()){try{let b=JSON.parse((0,d.readFileSync)(i(),"utf8")),c=function(a,b){let c={};for(let[d,e]of Object.entries(a)){let a=h(d,b);if(!a)continue;let f=c[a];c[a]=f?{count:f.count+e.count,lastAt:Math.max(f.lastAt,e.lastAt)}:e}return c}(b,(0,f.jv)()),e={};for(let[b,d]of Object.entries(c))a-d.lastAt<=108e5&&(e[b]=d);return e}catch{return{}}}function k(a,b,c){let d=(0,f.jv)(),e=a.map(a=>h(a,d)).filter(a=>!!a),k=function(a,b,c,d){let e={...a};for(let a of b){let b=a.trim();b&&(e[b]={count:(e[b]?.count??0)+1,lastAt:c,session:d??e[b]?.session})}return e}(j(),e,b,c);return(0,g.q)(i(),k),k}function l(a){let b=new Map;for(let c of Object.values(a))c.session&&c.lastAt>(b.get(c.session)??0)&&b.set(c.session,c.lastAt);return b}},51695:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{EM:()=>n,Ek:()=>m,MS:()=>l,Zt:()=>j,jX:()=>p,m3:()=>o,yt:()=>k});var e=c(34216),f=c(56727),g=c(30046),h=a([f]);function i(a){try{let b=JSON.parse(a);return Array.isArray(b)?b.filter(a=>"string"==typeof a):[]}catch{return[]}}async function j(a=f.db){let b=await a.query.planContract.findFirst({where:(a,{eq:b})=>b(a.active,!0)});return b?{planId:b.planId,declaredFiles:i(b.declaredFiles),authorizedExtras:i(b.authorizedExtras)}:null}async function k(a,b=f.db){let c=await b.query.planContract.findFirst({where:(b,{eq:c})=>c(b.planId,a)});return c?{planId:c.planId,declaredFiles:i(c.declaredFiles),authorizedExtras:i(c.authorizedExtras)}:null}function l(a){return Array.from(new Set([...a.declaredFiles,...a.authorizedExtras])).sort((a,b)=>a.localeCompare(b))}async function m(a,b=f.db){await b.update(g.planContract).set({active:!1}).where((0,e.eq)(g.planContract.active,!0));let c=JSON.stringify(a.declaredFiles);await b.insert(g.planContract).values({planId:a.planId,declaredFiles:c,authorizedExtras:"[]",active:!0}).onConflictDoUpdate({target:g.planContract.planId,set:{declaredFiles:c,authorizedExtras:"[]",active:!0}})}async function n(a,b,c=f.db){let d=await c.query.planContract.findFirst({where:(b,{eq:c})=>c(b.planId,a)});if(!d)return;let h=i(d.authorizedExtras);h.includes(b)||(h.push(b),await c.update(g.planContract).set({authorizedExtras:JSON.stringify(h)}).where((0,e.eq)(g.planContract.planId,a)))}async function o(a=f.db){await a.update(g.planContract).set({active:!1}).where((0,e.eq)(g.planContract.active,!0))}function p(a){let{filePath:b,contract:c}=a;if(!c)return{decision:"allow"};let d=new Set([...c.declaredFiles,...c.authorizedExtras]);return 0===d.size||d.has(b)?{decision:"allow"}:{decision:"ask",reason:`⚠️ This edit touches \`${b}\`, which is outside this plan's declared scope. Authorize this divergence? (The contract is human-owned — only your approval can widen it.)`}}f=(h.then?(await h)():h)[0],d()}catch(a){d(a)}})},54655:(a,b,c)=>{c.d(b,{E9:()=>k,Fn:()=>i,UC:()=>j});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(){return(0,e.join)((0,f.KS)(),"plan-meta.json")}function i(){try{return JSON.parse((0,d.readFileSync)(h(),"utf8"))}catch{return null}}function j(a){(0,g.q)(h(),a)}function k(){(0,d.rmSync)(h(),{force:!0})}},65299:(a,b,c)=>{c.d(b,{vV:()=>e});let d=a=>a.split("/").filter(Boolean).pop()||a;function e(a,b){let c=function(a){let b=new Set,c=new Map;for(let e of a){let a=e.trim();if(!a)continue;b.add(a);let f=d(a),g=c.get(f);g?g.push(a):c.set(f,[a])}return{byPath:b,byBase:c}}(b),e=new Set;for(let b of a.matchAll(/`([^`\n]+)`/g)){let a=function(a,b){let c=b.trim().replace(/:\d+(?::\d+)?$/,"").replace(/^\.\//,"").replace(/^\/+/,"");if(!c)return[];if(a.byPath.has(c))return[c];let e=a.byBase.get(d(c))??[];return c.includes("/")?[...new Set(e.filter(a=>a===c||a.endsWith("/"+c)))].sort():1===e.length?[e[0]]:[]}(c,b[1]);1===a.length&&e.add(a[0])}return[...e].sort()}},70809:(a,b,c)=>{c.d(b,{nb:()=>k,Z3:()=>m,YV:()=>i,Tm:()=>l,D_:()=>j});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(){return(0,e.join)((0,f.KS)(),"plan-annotations-current.json")}function i(){try{let a=JSON.parse((0,d.readFileSync)(h(),"utf8"));return{annotations:a.annotations??[],globalComment:a.globalComment??"",submitted:!!a.submitted,submittedAt:a.submittedAt,boardEdits:a.boardEdits??"",questions:a.questions??[]}}catch{return{annotations:[],globalComment:"",submitted:!1,questions:[]}}}function j(a){(0,g.q)(h(),a)}function k(){(0,d.rmSync)(h(),{force:!0})}function l(a){let b;return[function(a,b=""){let c=a.filter(a=>(a.kind??"comment")==="comment"&&a.comment.trim()),d=a.filter(a=>"deletion"===a.kind),e=b.trim();if(!c.length&&!d.length&&!e)return"";let f=[];if(e&&f.push(`## Overall feedback
|
|
2
2
|
|
|
3
3
|
${e}`),c.length){let a=["## Inline comments",""];for(let b of c){let c=b.excerpt.split("\n").map(a=>`> ${a}`).join("\n");a.push(`${c}
|
|
4
4
|
|
|
5
|
-
${b.comment.trim()}`)}f.push(a.join("\n"))}if(d.length){let a=["## Marked for deletion","","The user marked these passages for removal — drop them from the next plan:",""];for(let b of d){let c=b.excerpt.split("\n").map(a=>`> ${a}`).join("\n");a.push(c),a.push("")}f.push(a.join("\n").trim())}return f.join("\n\n").trim()}(a.annotations,a.globalComment),a.boardEdits??"",!(b=(a.questions??[]).filter(a=>a.question.trim())).length?"":["## Questions to answer before approving",...b.map(a=>`- **${a.target}** — ${a.question.trim()}`)].join("\n")].filter(Boolean).join("\n\n")}function m(){let a=i();return{submitted:a.submitted,feedback:a.submitted?l(a):""}}},71584:(a,b,c)=>{function d(a,b){let c={x:b.x,y:b.y};for(let b=0;b<100&&a.some(a=>200>Math.abs(c.x-a.x)&&150>Math.abs(c.y-a.y));b++)c.y+=150;return c}function e(a,b,c={}){let f=c.colW??320,g=c.rowH??150,h=c.maxCols??4,i=c.bandGap??90;if(0===a.length){if(0===b.length)return{x:0,y:0};let a=Math.max(...b.map(a=>a.y));return d(b,{x:0,y:a+g+i})}let j=Math.min(...a.map(a=>a.x)),k=Math.min(...a.map(a=>a.y)),l=a.map(a=>Math.max(0,Math.round((a.x-j)/f))),m=Math.min(h,Math.max(Math.max(...l)+1,Math.ceil(Math.sqrt(a.length+1)))),n=Array(m).fill(k-g);a.forEach((a,b)=>{let c=Math.min(l[b],m-1);n[c]=Math.max(n[c],a.y)});let o=0;for(let a=1;a<m;a++)n[a]<n[o]&&(o=a);return d(b,{x:j+o*f,y:n[o]+g})}c.d(b,{B:()=>d,E:()=>e})},88612:(a,b,c)=>{c.d(b,{
|
|
5
|
+
${b.comment.trim()}`)}f.push(a.join("\n"))}if(d.length){let a=["## Marked for deletion","","The user marked these passages for removal — drop them from the next plan:",""];for(let b of d){let c=b.excerpt.split("\n").map(a=>`> ${a}`).join("\n");a.push(c),a.push("")}f.push(a.join("\n").trim())}return f.join("\n\n").trim()}(a.annotations,a.globalComment),a.boardEdits??"",!(b=(a.questions??[]).filter(a=>a.question.trim())).length?"":["## Questions to answer before approving",...b.map(a=>`- **${a.target}** — ${a.question.trim()}`)].join("\n")].filter(Boolean).join("\n\n")}function m(){let a=i();return{submitted:a.submitted,feedback:a.submitted?l(a):""}}},71584:(a,b,c)=>{function d(a,b){let c={x:b.x,y:b.y};for(let b=0;b<100&&a.some(a=>200>Math.abs(c.x-a.x)&&150>Math.abs(c.y-a.y));b++)c.y+=150;return c}function e(a,b,c={}){let f=c.colW??320,g=c.rowH??150,h=c.maxCols??4,i=c.bandGap??90;if(0===a.length){if(0===b.length)return{x:0,y:0};let a=Math.max(...b.map(a=>a.y));return d(b,{x:0,y:a+g+i})}let j=Math.min(...a.map(a=>a.x)),k=Math.min(...a.map(a=>a.y)),l=a.map(a=>Math.max(0,Math.round((a.x-j)/f))),m=Math.min(h,Math.max(Math.max(...l)+1,Math.ceil(Math.sqrt(a.length+1)))),n=Array(m).fill(k-g);a.forEach((a,b)=>{let c=Math.min(l[b],m-1);n[c]=Math.max(n[c],a.y)});let o=0;for(let a=1;a<m;a++)n[a]<n[o]&&(o=a);return d(b,{x:j+o*f,y:n[o]+g})}c.d(b,{B:()=>d,E:()=>e})},88612:(a,b,c)=>{c.d(b,{_0:()=>n,aV:()=>q,bO:()=>s,cx:()=>r,dx:()=>p,jx:()=>o,kz:()=>m,mS:()=>t});var d=c(77598),e=c(73024),f=c(76760),g=c(45301),h=c(42912),i=c(32213);function j(){return(0,f.join)((0,g.KS)(),"diff-comments.json")}function k(){try{let a=JSON.parse((0,e.readFileSync)(j(),"utf8"));return Array.isArray(a.comments)?a.comments:[]}catch{return[]}}function l(a){(0,i.q)(j(),{comments:a})}function m(a){let b=k();return a?b.filter(b=>b.file===a):b}function n(a){let b={id:(0,d.randomUUID)().slice(0,8),kind:"question"===a.kind?"question":void 0,file:a.file,line:Math.max(1,Math.floor(a.line)),side:"old"===a.side?"old":"new",body:a.body.trim(),text:a.text?.trim()||void 0,held:a.held||void 0,owner:a.owner||void 0,createdAt:Date.now()},c=k();return c.push(b),l(c),b}function o(a,b){let c=b.trim();if(!c)return null;let d=k(),e=d.find(b=>b.id===a&&"question"===b.kind);return!e||e.answer?null:(e.answer=c,e.answeredAt=Date.now(),l(d),e)}function p(a){l(k().filter(b=>b.id!==a))}function q(a,b){let c=k(),d=c.find(b=>b.id===a);d&&(d.held=b||void 0,l(c))}function r(){let a=k(),b=0;for(let c of a)c.held&&!c.deliveredAt&&(c.held=void 0,b++);return b&&l(a),b}function s(){l(k().filter(a=>"question"===a.kind&&(a.deliveredAt||a.answer)).slice(-100))}function t(a,b=Date.now()){let c=function(a=Date.now(),b,c=new Map){let d=k(),e=d.filter(d=>!d.deliveredAt&&!d.held&&(!d.owner||!b||d.owner===b||(c.get(d.owner)??0)<a-6e5));if(0===e.length)return[];for(let b of e)b.deliveredAt=a;return l(d),e}(b,a,(0,h.mu)((0,h.Tn)()));if(!c.length)return"";let d=(0,g.jv)();return function(a){if(!a.length)return"";let b=a=>a.stale?"\n (note: this line has already changed since it was written — re-check before acting)":"",c=a.filter(a=>"question"!==a.kind),d=a.filter(a=>"question"===a.kind),e=[];return c.length&&e.push("The user left comment(s) on your code changes in Beacon's Changes view. Read them and adjust your approach before continuing:",...c.map(a=>`- \`${a.file}\` line ${a.line} — ${a.body}${b(a)}`)),d.length&&(e.length&&e.push(""),e.push("The user asked question(s) about your code in Beacon's Changes view. Answer each one THIS turn if you can — you're notified about each question exactly once, so a deferred question is not re-surfaced. Read the surrounding code (spin up a subagent if that's cheaper), then send your answer back into Beacon by running the shell command shown (the answer is read from stdin, so use a heredoc). This is separate from your other work — answering it doesn't undo anything:",...d.map(a=>`- [${a.id}] \`${a.file}\` line ${a.line} — ${a.body}${b(a)}
|
|
6
|
+
beacon answer ${a.id} <<'EOF'
|
|
7
|
+
…your answer (markdown)…
|
|
8
|
+
EOF`))),e.join("\n")}(c.map(a=>{var b;let c=null;try{c=(0,e.readFileSync)((0,f.join)(d,a.file),"utf8")}catch{}return{...a,stale:(b=c,!!a.text&&"old"!==a.side&&(null===b||!b.includes(a.text)))}}))}},89049:(a,b,c)=>{c.d(b,{Af:()=>j,mh:()=>k,zC:()=>i});var d=c(73024),e=c(76760),f=c(45301),g=c(32213);function h(){return(0,e.join)((0,f.KS)(),"plan-verdict.json")}function i(){try{return JSON.parse((0,d.readFileSync)(h(),"utf8"))}catch{return null}}function j(a){(0,g.q)(h(),a)}function k(){(0,d.rmSync)(h(),{force:!0})}},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=374,exports.ids=[374],exports.modules={23673:(a,b,c)=>{c.d(b,{m:()=>f,p:()=>g});var d=c(82466),e=c(67484);let f=e.createContext(void 0);function g(){let a=e.useContext(f);if(void 0===a)throw Error((0,d.A)(26));return a}},25845:(a,b,c)=>{c.d(b,{h:()=>t});var d,e,f=c(67484),g=c(20211),h=c(59165),i=c(37058),j=c(46493),k=c(45863);let l=((d={}).nestedDialogs="--nested-dialogs",d),m=((e={})[e.open=j.lP.open]="open",e[e.closed=j.lP.closed]="closed",e[e.startingStyle=j.lP.startingStyle]="startingStyle",e[e.endingStyle=j.lP.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e);var n=c(23673),o=c(39533),p=c(71270),q=c(20432),r=c(48249);let s={...j.GW,...k.G,nestedDialogOpen:a=>a?{[m.nestedDialogOpen]:""}:null},t=f.forwardRef(function(a,b){let{render:c,className:d,style:e,finalFocus:f,initialFocus:j,...k}=a,{store:m}=(0,h.PQ)(),t=m.useState("descriptionElementId"),u=m.useState("disablePointerDismissal"),v=m.useState("floatingRootContext"),w=m.useState("popupProps"),x=m.useState("modal"),y=m.useState("mounted"),z=m.useState("nested"),A=m.useState("nestedOpenDialogCount"),B=m.useState("open"),C=m.useState("openMethod"),D=m.useState("titleElementId"),E=m.useState("transitionStatus"),F=m.useState("role"),G=v.useState("floatingId"),H=k.id??G;(0,n.p)(),(0,o.v)({open:B,ref:m.context.popupRef,onComplete(){B&&m.context.onOpenChangeComplete?.(!0)}});let I=void 0===j?function(a){return"touch"!==a||m.context.popupRef.current}:j,J=m.useStateSetter("popupElement"),K=(0,i.o)("div",a,{state:{open:B,nested:z,transitionStatus:E,nestedDialogOpen:A>0},props:[w,{id:H,"aria-labelledby":D??void 0,"aria-describedby":t??void 0,role:F,...q.Ls,hidden:!y,onKeyDown(a){p.jF.has(a.key)&&a.stopPropagation()},style:{[l.nestedDialogs]:A}},k],ref:[b,m.context.popupRef,J],stateAttributesMapping:s});return(0,r.jsx)(g.s,{context:v,openInteractionType:C,disabled:!y,closeOnFocusOut:!u,initialFocus:I,returnFocus:f,modal:!1!==x,restoreFocus:"popup",children:K})})},36902:(a,b,c)=>{c.d(b,{L:()=>h});var d=c(67484),e=c(59165),f=c(37058),g=c(61156);let h=d.forwardRef(function(a,b){let{render:c,className:d,style:h,id:i,...j}=a,{store:k}=(0,e.PQ)(),l=(0,g.e)(i);return k.useSyncedValueWithCleanup("titleElementId",l),(0,f.o)("h2",a,{ref:b,props:[{id:l},j]})})},59165:(a,b,c)=>{c.d(b,{PQ:()=>h,Ts:()=>f,am:()=>g});var d=c(82466),e=c(67484);let f=e.createContext(!1),g=e.createContext(void 0);function h(a){let b=e.useContext(g);if(!1===a&&void 0===b)throw Error((0,d.A)(27));return b}},60388:(a,b,c)=>{c.d(b,{Z:()=>k});var d=c(67484),e=c(53013),f=c(43383),g=c(59165),h=c(23673),i=c(57491),j=c(48249);let k=d.forwardRef(function(a,b){let{keepMounted:c=!1,...d}=a,{store:k}=(0,g.PQ)(),l=k.useState("mounted"),m=k.useState("modal"),n=k.useState("open");return l||c?(0,j.jsx)(h.m.Provider,{value:c,children:(0,j.jsxs)(f.XF,{ref:b,...d,children:[l&&!0===m&&(0,j.jsx)(i.W,{ref:k.context.internalBackdropRef,inert:(0,e.Y)(!n)}),a.children]})}):null})},64230:(a,b,c)=>{c.d(b,{r:()=>h});var d=c(67484),e=c(59165),f=c(37058),g=c(61156);let h=d.forwardRef(function(a,b){let{render:c,className:d,style:h,id:i,...j}=a,{store:k}=(0,e.PQ)(),l=(0,g.e)(i);return k.useSyncedValueWithCleanup("descriptionElementId",l),(0,f.o)("p",a,{ref:b,props:[{id:l},j]})})},71523:(a,b,c)=>{c.d(b,{V:()=>e});var d=c(81066);function e(a){return(0,d.G)(a,"alert-dialog")}},74283:(a,b,c)=>{c.d(b,{X:()=>j});var d=c(67484),e=c(59165),f=c(37058),g=c(46493),h=c(45863);let i={...g.GW,...h.G},j=d.forwardRef(function(a,b){let{render:c,className:d,style:g,forceRender:h=!1,...j}=a,{store:k}=(0,e.PQ)(),l=k.useState("open"),m=k.useState("nested"),n=k.useState("mounted"),o=k.useState("transitionStatus");return(0,f.o)("div",a,{state:{open:l,transitionStatus:o},ref:[k.context.backdropRef,b],stateAttributesMapping:i,props:[{role:"presentation",hidden:!n,style:{userSelect:"none",WebkitUserSelect:"none"}},j],enabled:h||!m})})},81066:(a,b,c)=>{c.d(b,{G:()=>A});var d=c(67484),e=c(9716),f=c(95275),g=c(46583),h=c(67708),i=c(20036),j=c(66025),k=c(67056),l=c(22054),m=c(20432);function n({store:a,dialogRoot:b}){let{parentContext:c,isDrawer:e}=b,k=a.useState("open"),l=a.useState("disablePointerDismissal"),o=a.useState("modal"),p=a.useState("popupElement"),q=a.useState("floatingRootContext"),[r,s]=d.useState(0),[t,u]=d.useState(0),v=0===r,w=(0,i.s)(q,{outsidePressEvent:()=>a.context.internalBackdropRef.current||a.context.backdropRef.current?"intentional":{mouse:"trap-focus"===o?"sloppy":"intentional",touch:"sloppy"},outsidePress(b){if(!a.context.outsidePressEnabledRef.current||"button"in b&&0!==b.button||"touches"in b&&1!==b.touches.length)return!1;let c=(0,j.EW)(b);return!!v&&!l&&(!o||!a.context.internalBackdropRef.current&&!a.context.backdropRef.current||a.context.internalBackdropRef.current===c||a.context.backdropRef.current===c||(0,j.gR)(c,p)&&!c?.hasAttribute("data-base-ui-portal"))},escapeKey:v});(0,f.K)(k&&!0===o,p),a.useContextCallback("onNestedDialogOpen",(a,b)=>{s(a),u(b)}),a.useContextCallback("onNestedDialogClose",()=>{s(0),u(0)}),d.useEffect(()=>(c?.onNestedDialogOpen&&k&&c.onNestedDialogOpen(r+1,t+ +!!e),c?.onNestedDialogClose&&!k&&c.onNestedDialogClose(),()=>{c?.onNestedDialogClose&&k&&c.onNestedDialogClose()}),[e,k,r,t,c]);let x=w.reference??g.t0,y=w.trigger??g.t0,z=d.useMemo(()=>(0,h.v6)(m.Ls,w.floating),[w.floating]);return(0,m.i6)(a,{activeTriggerProps:x,inactiveTriggerProps:y,popupProps:z,nestedOpenDialogCount:r,nestedOpenDrawerCount:t}),null}var o=c(59165),p=c(61935),q=c(15418),r=c(31483),s=c(57544);let t=(0,p.M)(a=>a.triggerIdProp??a.activeTriggerId),u=(0,p.M)(a=>a.openProp??a.open),v=(0,p.M)(a=>(a.popupElement?.id??a.floatingId)||void 0);function w(a,b){return void 0!==b&&u(a)&&t(a)===b}let x={...{open:u,mounted:(0,p.M)(a=>a.mounted),transitionStatus:(0,p.M)(a=>a.transitionStatus),floatingRootContext:(0,p.M)(a=>a.floatingRootContext),triggerCount:(0,p.M)(a=>a.triggerCount),preventUnmountingOnClose:(0,p.M)(a=>a.preventUnmountingOnClose),payload:(0,p.M)(a=>a.payload),activeTriggerId:t,activeTriggerElement:(0,p.M)(a=>a.mounted?a.activeTriggerElement:null),popupId:v,isTriggerActive:(0,p.M)((a,b)=>void 0!==b&&t(a)===b),isOpenedByTrigger:(0,p.M)((a,b)=>w(a,b)),isMountedByTrigger:(0,p.M)((a,b)=>void 0!==b&&t(a)===b&&a.mounted),triggerProps:(0,p.M)((a,b)=>b?a.activeTriggerProps:a.inactiveTriggerProps),triggerPopupId:(0,p.M)((a,b)=>w(a,b)||void 0!==b&&u(a)&&null==t(a)&&1===a.triggerCount?v(a):void 0),popupProps:(0,p.M)(a=>a.popupProps),popupElement:(0,p.M)(a=>a.popupElement),positionerElement:(0,p.M)(a=>a.positionerElement)},modal:(0,p.M)(a=>a.modal),nested:(0,p.M)(a=>a.nested),nestedOpenDialogCount:(0,p.M)(a=>a.nestedOpenDialogCount),nestedOpenDrawerCount:(0,p.M)(a=>a.nestedOpenDrawerCount),disablePointerDismissal:(0,p.M)(a=>a.disablePointerDismissal),openMethod:(0,p.M)(a=>a.openMethod),descriptionElementId:(0,p.M)(a=>a.descriptionElementId),titleElementId:(0,p.M)(a=>a.titleElementId),viewportElement:(0,p.M)(a=>a.viewportElement),role:(0,p.M)(a=>a.role)};class y extends q.H{constructor(a,b,c=!1){const e=new s.Z,f=function(a={}){return{...{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new r.K({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new s.Z,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:g.t0,inactiveTriggerProps:g.t0,popupProps:g.t0},modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...a}}(a);f.floatingRootContext=function(a,b,c=!1){return new r.K({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:a,floatingId:b,syncOnly:!0,nested:c,onOpenChange:void 0})}(e,b,c),super(f,{popupRef:d.createRef(),backdropRef:d.createRef(),internalBackdropRef:d.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0},x)}setOpen=(a,b)=>{if(b.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},a||null!=b.trigger||null==this.state.activeTriggerId||(b.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(a,b),b.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(a,b);let c={open:a};(0,m.CN)(c,a,b.trigger),this.update(c)};static useStore(a,b){return(0,m.Nj)(a,(a,c)=>new y(b,a,c),!0).store}}var z=c(48249);function A(a,b="dialog"){let{children:c,open:f,defaultOpen:g=!1,onOpenChange:h,onOpenChangeComplete:i,disablePointerDismissal:j=!1,modal:p=!0,actionsRef:q,handle:r,triggerId:s,defaultTriggerId:t=null}=a,u="alert-dialog"===b,v=(0,o.PQ)(!0),w={modal:!!u||p,disablePointerDismissal:u||j,nested:!!v,role:u?"alertdialog":"dialog"},x=y.useStore(r?.store,{open:g,openProp:f,activeTriggerId:t,triggerIdProp:s,...w});(0,e.j)(()=>{let a=void 0===f&&!1===x.state.open&&!0===g?{open:!0,activeTriggerId:t}:null;u?x.update(a?{...w,...a}:w):a&&x.update(a)}),x.useControlledProp("openProp",f),x.useControlledProp("triggerIdProp",s),x.useSyncedValues(w),x.useContextCallback("onOpenChange",h),x.useContextCallback("onOpenChangeComplete",i);let B=x.useState("open"),C=x.useState("mounted"),D=x.useState("payload"),E=function(a){let{store:b,parentContext:c,actionsRef:e,isDrawer:f}=a,g=b.useState("open");(0,m.xs)(b,g),(0,m.tr)(b);let{forceUnmount:h}=(0,m.l$)(g,b),i=d.useCallback(()=>{b.setOpen(!1,(0,k.d)(l.zJ))},[b]);return d.useImperativeHandle(e,()=>({unmount:h,close:i}),[h,i]),{parentContext:c,isDrawer:f}}({store:x,actionsRef:q,parentContext:v?.store.context,isDrawer:"drawer"===b}),F=d.useMemo(()=>({store:x}),[x]);return(0,z.jsx)(o.Ts.Provider,{value:!1,children:(0,z.jsxs)(o.am.Provider,{value:F,children:[(B||C)&&(0,z.jsx)(n,{store:x,dialogRoot:E}),"function"==typeof c?c({payload:D}):c]})})}},87298:(a,b,c)=>{c.d(b,{H:()=>j});var d=c(67484),e=c(59165),f=c(37058),g=c(29522),h=c(67056),i=c(22054);let j=d.forwardRef(function(a,b){let{render:c,className:d,style:j,disabled:k=!1,nativeButton:l=!0,...m}=a,{store:n}=(0,e.PQ)(),o=n.useState("open"),{getButtonProps:p,buttonRef:q}=(0,g.s)({disabled:k,native:l});return(0,f.o)("button",a,{state:{disabled:k},ref:[b,q],props:[{onClick:function(a){o&&n.setOpen(!1,(0,h.d)(i.SR,a.nativeEvent))}},m,p]})})},99469:(a,b,c)=>{c.d(b,{t:()=>o});var d=c(82466),e=c(67484),f=c(59165),g=c(29522),h=c(37058),i=c(46493),j=c(98816),k=c(20432),l=c(61156),m=c(46304),n=c(14908);let o=e.forwardRef(function(a,b){let{render:c,className:o,style:p,disabled:q=!1,nativeButton:r=!0,id:s,payload:t,handle:u,...v}=a,w=(0,f.PQ)(!0),x=u?.store??w?.store;if(!x)throw Error((0,d.A)(79));let y=(0,l.e)(s),z=x.useState("floatingRootContext"),A=x.useState("isOpenedByTrigger",y),B=x.useState("triggerPopupId",y),C=e.useRef(null),{registerTrigger:D,isMountedByThisTrigger:E}=(0,k.L_)(y,C,x,{payload:t}),{getButtonProps:F,buttonRef:G}=(0,g.s)({disabled:q,native:r}),H=(0,m.k)(z,{enabled:null!=z}),I=(0,n.L)(()=>x.select("open"),a=>{x.set("openMethod",a)}),J=x.useState("triggerProps",E);return(0,h.o)("button",a,{state:{disabled:q,open:A},ref:[G,b,D,C],props:[H.reference,J,I,{[j.Kd]:"",id:y,"aria-haspopup":"dialog","aria-expanded":A,"aria-controls":B},v,F],stateAttributesMapping:i.qV})})}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=5295,exports.ids=[5295],exports.modules={5547:(a,b,c)=>{"use strict";c.d(b,{NotesDrawer:()=>B});var d=c(48249),e=c(67484),f=c(92361),g=c(69473),h=c(45535),i=c(39470),j=c(52066),k=c(57684),l=c(48779),m=c(13191),n=c(18252),o=c(92329),p=c(82359),q=c(99086),r=c(18201),s=c(81965),t=c(47161),u=c(86596),v=c(84458);function w({value:a,onChange:b}){let c=(0,m.hG)({extensions:u.II,content:a?(0,u.Gd)(a):void 0,immediatelyRender:!1,editorProps:{attributes:{class:"note-prose focus:outline-none"}},onUpdate:({editor:a})=>b((0,u.Z2)(a.getJSON()))});return c?(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,d.jsx)(x,{editor:c}),(0,d.jsx)(m.$Z,{editor:c,className:"min-h-0 flex-1 overflow-y-auto px-1 py-2 text-[14px] leading-relaxed"})]}):null}function x({editor:a}){(0,v.U)(a);let b=()=>a.chain().focus();return(0,d.jsxs)("div",{className:"flex items-center gap-0.5 border-b border-white/10 pb-2",children:[(0,d.jsx)(v.I,{label:"Bold",active:a.isActive("bold"),onClick:()=>b().toggleBold().run(),children:(0,d.jsx)(n.A,{className:"size-4"})}),(0,d.jsx)(v.I,{label:"Italic",active:a.isActive("italic"),onClick:()=>b().toggleItalic().run(),children:(0,d.jsx)(o.A,{className:"size-4"})}),(0,d.jsx)(v.I,{label:"Underline",active:a.isActive("underline"),onClick:()=>b().toggleUnderline().run(),children:(0,d.jsx)(p.A,{className:"size-4"})}),(0,d.jsx)(v.I,{label:"Strikethrough",active:a.isActive("strike"),onClick:()=>b().toggleStrike().run(),children:(0,d.jsx)(q.A,{className:"size-4"})}),(0,d.jsx)("span",{"aria-hidden":!0,className:"mx-1 h-5 w-px bg-white/10"}),(0,d.jsx)(v.I,{label:"Checklist",active:a.isActive("taskList"),onClick:()=>b().toggleTaskList().run(),children:(0,d.jsx)(r.A,{className:"size-4"})}),(0,d.jsx)(v.I,{label:"Bullet list",active:a.isActive("bulletList"),onClick:()=>b().toggleBulletList().run(),children:(0,d.jsx)(s.A,{className:"size-4"})}),(0,d.jsx)(v.I,{label:"Numbered list",active:a.isActive("orderedList"),onClick:()=>b().toggleOrderedList().run(),children:(0,d.jsx)(t.A,{className:"size-4"})})]})}var y=c(69370),z=c(33191);function A(a){return[...a].sort((a,b)=>a.pinned!==b.pinned?Number(b.pinned)-Number(a.pinned):b.updatedAt.localeCompare(a.updatedAt))}function B(){let{open:a,close:b}=(0,y.b)(),[c,m]=(0,e.useState)([]),[n,o]=(0,e.useState)(null),p=(0,e.useRef)({}),q=(0,e.useRef)({}),r=(0,e.useCallback)(a=>{clearTimeout(p.current[a]);let b=q.current[a];b&&(delete q.current[a],fetch(`/api/notes/${a}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(b)}).catch(()=>{}))},[]),s=(0,e.useCallback)((a,b)=>{q.current[a]={...q.current[a],...b},clearTimeout(p.current[a]),p.current[a]=setTimeout(()=>r(a),500)},[r]);(0,e.useCallback)(async()=>{try{let a=await fetch("/api/notes",{cache:"no-store"});if(!a.ok)return;let b=await a.json();m(A(b)),o(a=>a??b[0]?.id??null)}catch{}},[]);let t=(0,e.useCallback)(async()=>{let a=await fetch("/api/notes",{method:"POST"}).catch(()=>null);if(!a?.ok)return;let b=await a.json();m(a=>A([b,...a])),o(b.id)},[]),u=(0,e.useCallback)(async a=>{clearTimeout(p.current[a]),delete q.current[a],m(b=>{let c=b.filter(b=>b.id!==a);return o(b=>b===a?c[0]?.id??null:b),c}),await fetch(`/api/notes/${a}`,{method:"DELETE"}).catch(()=>{})},[]),v=(0,e.useCallback)((a,b)=>{m(c=>A(c.map(c=>c.id===a?{...c,...b,updatedAt:new Date().toISOString()}:c))),s(a,b)},[s]),x=(0,e.useCallback)(a=>v(a.id,{pinned:!a.pinned}),[v]),B=c.find(a=>a.id===n)??null;return(0,d.jsx)("div",{"aria-hidden":!a,className:(0,z.cn)("fixed inset-y-0 right-0 z-40 flex transition-transform duration-300 ease-out",a?"translate-x-0":"pointer-events-none translate-x-full"),children:(0,d.jsxs)(l.b,{className:"flex h-full w-[420px] flex-col rounded-l-2xl border-l border-white/10",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 border-b border-white/10 px-3 py-2.5",children:[(0,d.jsx)(f.A,{className:"size-4 text-[var(--accent-2,#ff7a45)]"}),(0,d.jsx)("span",{className:"text-sm font-semibold tracking-tight",children:"Notes"}),(0,d.jsx)("span",{className:"ml-auto"}),(0,d.jsx)("button",{type:"button",onClick:t,"aria-label":"New note",title:"New note",className:"rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-white/[0.06] hover:text-foreground",children:(0,d.jsx)(g.A,{className:"size-4"})}),(0,d.jsx)("button",{type:"button",onClick:b,"aria-label":"Close notes",title:"Close",className:"rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-white/[0.06] hover:text-foreground",children:(0,d.jsx)(h.A,{className:"size-4"})})]}),(0,d.jsx)("div",{className:"max-h-44 shrink-0 overflow-y-auto border-b border-white/10 p-1.5",children:0===c.length?(0,d.jsxs)("p",{className:"px-2 py-3 text-[13px] text-muted-foreground",children:["No notes yet. Hit ",(0,d.jsx)("span",{className:"text-foreground",children:"+"})," to start one."]}):c.map(a=>(0,d.jsxs)("div",{className:(0,z.cn)("group flex items-center gap-1 rounded-md px-2 py-1.5 text-[13px]",a.id===n?"bg-white/[0.09] text-foreground":"text-muted-foreground hover:bg-white/[0.04]"),children:[(0,d.jsxs)("button",{type:"button",onClick:()=>o(a.id),className:"min-w-0 flex-1 truncate text-left",children:[a.pinned&&(0,d.jsx)(i.A,{className:"mr-1 inline size-3 -translate-y-px"}),a.title||"Untitled"]}),(0,d.jsx)("button",{type:"button",onClick:()=>x(a),"aria-label":a.pinned?"Unpin":"Pin",title:a.pinned?"Unpin":"Pin",className:"rounded p-1 opacity-0 transition hover:bg-white/[0.08] hover:text-foreground group-hover:opacity-100",children:a.pinned?(0,d.jsx)(j.A,{className:"size-3.5"}):(0,d.jsx)(i.A,{className:"size-3.5"})}),(0,d.jsx)("button",{type:"button",onClick:()=>u(a.id),"aria-label":"Delete note",title:"Delete",className:"rounded p-1 opacity-0 transition hover:bg-white/[0.08] hover:text-red-300 group-hover:opacity-100",children:(0,d.jsx)(k.A,{className:"size-3.5"})})]},a.id))}),B?(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-2 p-3",children:[(0,d.jsx)("input",{value:B.title,onChange:a=>v(B.id,{title:a.target.value}),placeholder:"Untitled",className:"w-full bg-transparent text-base font-semibold tracking-tight text-foreground placeholder:text-muted-foreground/60 focus:outline-none"}),(0,d.jsx)(w,{value:B.body,onChange:a=>v(B.id,{body:a})},B.id)]}):(0,d.jsxs)("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-[13px] text-muted-foreground",children:["Select a note, or create one. Then ",(0,d.jsx)("span",{className:"px-1 text-foreground",children:"@"}),"-mention it in your terminal to turn it into features."]})]})})}},7572:(a,b,c)=>{"use strict";c.d(b,{MainRegion:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call MainRegion() from the server but MainRegion is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/ai/main-region.tsx","MainRegion")},7667:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(88868);let e=async a=>[{type:"image/png",sizes:"180x180",url:(0,d.fillMetadataSegment)(".",await a.params,"apple-icon.png",!0)+"?f9d64651576bd776"}]},17017:(a,b,c)=>{"use strict";c.d(b,{UpdateBanner:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call UpdateBanner() from the server but UpdateBanner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/update-banner.tsx","UpdateBanner")},18060:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81921,23)),Promise.resolve().then(c.t.bind(c,60440,23)),Promise.resolve().then(c.t.bind(c,84342,23)),Promise.resolve().then(c.t.bind(c,82265,23)),Promise.resolve().then(c.t.bind(c,35421,23)),Promise.resolve().then(c.t.bind(c,61335,23)),Promise.resolve().then(c.t.bind(c,70664,23)),Promise.resolve().then(c.bind(c,74661))},18718:(a,b,c)=>{"use strict";c.d(b,{MainRegion:()=>e});var d=c(48249);function e({children:a}){return(0,d.jsx)("main",{className:"flex flex-1 flex-col",children:a})}},19208:(a,b,c)=>{"use strict";c.d(b,{TabWorkspace:()=>e}),c(67484);var d=c(19099);function e(){return(0,d.useRouter)(),(0,d.usePathname)(),null}c(79768)},23704:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>x,metadata:()=>w});var d=c(5735),e=c(1382),f=c.n(e),g=c(28205),h=c.n(g);c(82704);var i=c(77946),j=c(60867),k=c(25126),l=c(7572),m=c(48136),n=c(81974),o=c(71412),p=c(30818),q=c(42462),r=c(17017),s=c(45301),t=c(73024),u=c(76760);let v=null,w={title:"Beacon",description:"A local control panel for the repository you're working in"};function x({children:a}){return(0,d.jsx)("html",{lang:"en",className:`dark ${f().variable} ${h().variable} h-full antialiased`,children:(0,d.jsx)("body",{className:"min-h-full flex flex-col bg-background text-foreground",children:"1"===process.env.BEACON_PUBLIC||"1"===process.env.VERCEL?a:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(j.LiveRefresh,{}),(0,d.jsx)(k.TabWorkspace,{}),(0,d.jsxs)(o.NotesProvider,{children:[(0,d.jsxs)(m.PlanProvider,{children:[(0,d.jsx)(i.TopNav,{repo:(0,s.Qq)()}),(0,d.jsx)(l.MainRegion,{children:a}),(0,d.jsx)(n.PlanBar,{})]}),(0,d.jsx)(p.NotesDrawer,{})]}),(0,d.jsx)(q.AskModal,{}),(0,d.jsx)(r.UpdateBanner,{currentVersion:function(){if(null!==v)return v;let a="0.0.0";try{let b=JSON.parse((0,t.readFileSync)((0,u.join)(process.cwd(),"package.json"),"utf8"));"string"==typeof b.version&&(a=b.version)}catch{}return v=a,a}()})]})})})}},25126:(a,b,c)=>{"use strict";c.d(b,{TabWorkspace:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call TabWorkspace() from the server but TabWorkspace is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/tab-workspace.tsx","TabWorkspace")},26284:(a,b,c)=>{"use strict";c.d(b,{$:()=>i});var d=c(48249),e=c(70813),f=c(21654),g=c(33191);let h=(0,f.F)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function i({className:a,variant:b="default",size:c="default",...f}){return(0,d.jsx)(e.Button,{"data-slot":"button",className:(0,g.cn)(h({variant:b,size:c,className:a})),...f})}},29086:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81921,23))},30818:(a,b,c)=>{"use strict";c.d(b,{NotesDrawer:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call NotesDrawer() from the server but NotesDrawer is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/notes/notes-drawer.tsx","NotesDrawer")},31212:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,95547,23)),Promise.resolve().then(c.t.bind(c,15098,23)),Promise.resolve().then(c.t.bind(c,47644,23)),Promise.resolve().then(c.t.bind(c,33859,23)),Promise.resolve().then(c.t.bind(c,98099,23)),Promise.resolve().then(c.t.bind(c,16237,23)),Promise.resolve().then(c.t.bind(c,98562,23)),Promise.resolve().then(c.t.bind(c,36675,23))},32359:(a,b,c)=>{Promise.resolve().then(c.bind(c,18718)),Promise.resolve().then(c.bind(c,85452)),Promise.resolve().then(c.bind(c,47194)),Promise.resolve().then(c.bind(c,69370)),Promise.resolve().then(c.bind(c,5547)),Promise.resolve().then(c.bind(c,41616)),Promise.resolve().then(c.bind(c,81166)),Promise.resolve().then(c.bind(c,19208)),Promise.resolve().then(c.bind(c,41164)),Promise.resolve().then(c.bind(c,59953))},33191:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(99314),e=c(96862);function f(...a){return(0,e.QP)((0,d.$)(a))}},33814:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,95547,23))},41164:(a,b,c)=>{"use strict";c.d(b,{TopNav:()=>r});var d=c(48249),e=c(67484),f=c(2116),g=c.n(f),h=c(19099),i=c(92361),j=c(79291),k=c(85271),l=c(55056),m=c(33191),n=c(79768);function o({fallback:a}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(null);if(0===b.length)return a?(0,d.jsxs)("span",{className:"font-mono text-xs text-muted-foreground",children:["\xb7 ",a]}):null;async function h(a){g(a),(0,n.aE)(a),await Promise.race([fetch("/api/workspace",{method:"POST",headers:{"content-type":"application/json","x-beacon-workspace":a},body:JSON.stringify({id:a}),signal:AbortSignal.timeout(8e3)}).catch(()=>{}),new Promise(a=>setTimeout(a,2500))]);let b=new URLSearchParams(window.location.search);b.set("ws",a),window.location.href=`${window.location.pathname}?${b.toString()}`}let i=b.find(a=>a.id===f);return(0,d.jsxs)(l.l6,{value:f??"",onValueChange:a=>a&&h(a),children:[(0,d.jsxs)(l.bq,{title:i?.name,className:"h-7 max-w-[180px] gap-1.5 rounded-lg border-white/12 bg-white/[0.04] px-2 text-xs font-medium transition-colors hover:bg-white/[0.07]",children:[(0,d.jsx)(k.A,{className:"size-3.5 shrink-0 text-muted-foreground"}),(0,d.jsx)(l.yv,{children:()=>i?.name??"Project"})]}),(0,d.jsxs)(l.gC,{align:"start",alignItemWithTrigger:!1,sideOffset:6,className:"min-w-[250px] border border-white/10 bg-popover/95 p-1.5 backdrop-blur-xl",children:[(0,d.jsx)("p",{className:"px-2 pt-1 pb-1.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/70",children:"Workspace"}),b.map(a=>{var b,c;let e,g=a.id===f;return(0,d.jsx)(l.eb,{value:a.id,className:(0,m.cn)("gap-2.5 rounded-lg py-1.5 pr-8 pl-1.5 transition-colors",g&&"bg-white/[0.05]"),children:(0,d.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,d.jsx)("span",{className:(0,m.cn)("flex size-7 shrink-0 items-center justify-center rounded-md border",g?"border-sky-400/30 bg-sky-400/10 text-sky-300":"border-white/10 bg-white/[0.03] text-muted-foreground"),children:(0,d.jsx)(k.A,{className:"size-3.5"})}),(0,d.jsxs)("span",{className:"flex min-w-0 flex-col",children:[(0,d.jsx)("span",{className:"truncate text-[13px] font-medium leading-tight text-foreground",children:a.name}),(0,d.jsx)("span",{className:"truncate font-mono text-[10px] leading-tight text-muted-foreground",children:(b=a.path,c=a.name,(e=b.replace(/^\/(Users|home)\/[^/]+/,"~").split("/").filter(Boolean))[e.length-1]===c&&e.pop(),(e.length>3?[e[0],"…",e[e.length-1]]:e).join("/")||"~")})]})]})},a.id)})]})]})}var p=c(69370);let q=[{href:"/plan",label:"Plans"},{href:"/map",label:"Map"},{href:"/learn",label:"Learn"},{href:"/settings",label:"Settings"}];function r({repo:a}){let b=(0,h.usePathname)(),{toggle:c,open:f}=(0,p.b)(),[k,l]=(0,e.useState)(null);return(0,d.jsx)("header",{className:"pointer-events-none fixed left-3 top-3 z-30",children:(0,d.jsxs)("div",{className:"glass pointer-events-auto flex h-10 items-center gap-1 rounded-full pl-3 pr-1.5",children:[(0,d.jsxs)(g(),{href:"/",className:"mr-1 flex items-center gap-2 text-sm font-semibold tracking-tight",children:[(0,d.jsx)(j._,{size:18,className:"text-foreground"}),(0,d.jsx)("span",{className:"hidden lg:inline",children:"Beacon"})]}),(0,d.jsx)("span",{"aria-hidden":!0,className:"mx-1 h-5 w-px bg-white/10"}),(0,d.jsx)(o,{fallback:a}),(0,d.jsx)("span",{"aria-hidden":!0,className:"mx-1 h-5 w-px bg-white/10"}),(0,d.jsx)("nav",{className:"flex items-center gap-0.5 text-sm",children:q.map(a=>{let c=b===a.href||b.startsWith(a.href+"/");return(0,d.jsx)(g(),{href:(0,n.Fj)(a.href,k),className:(0,m.cn)("rounded-full px-3 py-1 text-[13px] tracking-tight transition-colors",c?"bg-white/[0.09] text-foreground shadow-[inset_0_1px_0_rgba(255,255,255,0.06)]":"text-muted-foreground hover:bg-white/[0.04] hover:text-foreground"),children:a.label},a.href)})}),(0,d.jsx)("span",{"aria-hidden":!0,className:"mx-1 h-5 w-px bg-white/10"}),(0,d.jsx)("button",{type:"button",onClick:c,"aria-pressed":f,"aria-label":"Notes",title:"Notes",className:(0,m.cn)("flex items-center justify-center rounded-full p-1.5 transition-colors",f?"bg-white/[0.09] text-foreground shadow-[inset_0_1px_0_rgba(255,255,255,0.06)]":"text-muted-foreground hover:bg-white/[0.04] hover:text-foreground"),children:(0,d.jsx)(i.A,{className:"size-4"})})]})})}},41616:(a,b,c)=>{"use strict";c.d(b,{PlanBar:()=>l});var d=c(48249),e=c(2116),f=c.n(e),g=c(19099),h=c(47352),i=c(49783),j=c(57684),k=c(81166);function l(){let{status:a,discard:b}=(0,k.j)(),c=(0,g.usePathname)();return a.pending&&"/plan"!==c?(0,d.jsx)("div",{className:"pointer-events-none fixed inset-x-0 top-14 z-40 flex justify-center px-2",children:(0,d.jsxs)("div",{className:"pointer-events-auto flex max-w-3xl items-center gap-2 rounded-xl border border-emerald-500/30 bg-card/85 px-3 py-1.5 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-card/70",children:[(0,d.jsx)(h.A,{className:"size-3.5 shrink-0 text-emerald-300"}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"truncate text-[12px] leading-tight text-foreground",children:[(0,d.jsx)("span",{className:"text-emerald-300/80",children:"Plan ready \xb7 "}),a.description||"(no description)"]}),(0,d.jsxs)("div",{className:"text-[10px] leading-tight text-muted-foreground",children:[a.features," feature(s) \xb7 ",a.tables," table(s) \xb7 ",a.endpoints," ","endpoint(s)"]})]}),(0,d.jsxs)(f(),{href:"/plan",className:"flex shrink-0 items-center gap-1 rounded-md border border-emerald-500/40 bg-emerald-500/15 px-2 py-1 text-[11px] font-semibold text-emerald-300 transition-colors hover:bg-emerald-500/25",title:"Open Plannotator + canvases side by side",children:[(0,d.jsx)(i.A,{className:"size-3"})," Open plan"]}),(0,d.jsxs)("button",{onClick:b,className:"flex shrink-0 items-center gap-1 rounded-md px-2 py-1 text-[11px] font-medium text-muted-foreground transition-colors hover:bg-red-500/15 hover:text-red-300",title:"Discard the plan",children:[(0,d.jsx)(j.A,{className:"size-3"})," Discard"]})]})}):null}},42462:(a,b,c)=>{"use strict";c.d(b,{AskModal:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call AskModal() from the server but AskModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/ask/ask-modal.tsx","AskModal")},47194:(a,b,c)=>{"use strict";c.d(b,{LiveRefresh:()=>e}),c(67484);var d=c(19099);function e(){return(0,d.useRouter)(),null}c(79768)},48136:(a,b,c)=>{"use strict";c.d(b,{PlanProvider:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call PlanProvider() from the server but PlanProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/plan/plan-context.tsx","PlanProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call usePlan() from the server but usePlan is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/plan/plan-context.tsx","usePlan")},48779:(a,b,c)=>{"use strict";c.d(b,{b:()=>f});var d=c(48249);c(67484);var e=c(33191);function f({className:a,children:b,...c}){return(0,d.jsxs)("div",{className:(0,e.cn)("glass relative isolate overflow-hidden",a),...c,children:[(0,d.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit]",style:{background:"radial-gradient(90% 60% at 0% 0%, oklch(1 0 0 / 0.04), transparent 42%)"}}),(0,d.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] opacity-[0.035] mix-blend-overlay",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")",backgroundSize:"120px 120px"}}),b]})}},49183:(a,b,c)=>{"use strict";c.d(b,{EO:()=>f,kw:()=>d});let d="https://registry.npmjs.org/trybeacon/latest",e=(process.env.NEXT_PUBLIC_BEACON_SITE_URL??"https://www.trybeacon.sh").replace(/\/$/,""),f=`curl -fsSL ${e}/install.sh | sh`},49231:(a,b,c)=>{Promise.resolve().then(c.bind(c,7572)),Promise.resolve().then(c.bind(c,42462)),Promise.resolve().then(c.bind(c,60867)),Promise.resolve().then(c.bind(c,71412)),Promise.resolve().then(c.bind(c,30818)),Promise.resolve().then(c.bind(c,81974)),Promise.resolve().then(c.bind(c,48136)),Promise.resolve().then(c.bind(c,25126)),Promise.resolve().then(c.bind(c,77946)),Promise.resolve().then(c.bind(c,17017))},55056:(a,b,c)=>{"use strict";c.d(b,{bq:()=>x,eb:()=>z,gC:()=>y,l6:()=>v,yv:()=>w});var d=c(48249);c(67484);var e=c(80336),f=c(11102),g=c(57602),h=c(90586),i=c(13810),j=c(58103),k=c(28879),l=c(90204),m=c(26550),n=c(57859),o=c(56045),p=c(75154),q=c(91464),r=c(33191),s=c(69627),t=c(35471),u=c(85448);let v=e.H;function w({className:a,...b}){return(0,d.jsx)(f.y,{"data-slot":"select-value",className:(0,r.cn)("flex flex-1 text-left",a),...b})}function x({className:a,size:b="default",children:c,...e}){return(0,d.jsxs)(g.b,{"data-slot":"select-trigger","data-size":b,className:(0,r.cn)("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...e,children:[c,(0,d.jsx)(h.w,{render:(0,d.jsx)(s.A,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function y({className:a,children:b,side:c="bottom",sideOffset:e=4,align:f="center",alignOffset:g=0,alignItemWithTrigger:h=!0,...m}){return(0,d.jsx)(i.V,{children:(0,d.jsx)(j.l,{side:c,sideOffset:e,align:f,alignOffset:g,alignItemWithTrigger:h,className:"isolate z-50",children:(0,d.jsxs)(k.t,{"data-slot":"select-content","data-align-trigger":h,className:(0,r.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",a),...m,children:[(0,d.jsx)(A,{}),(0,d.jsx)(l.B,{children:b}),(0,d.jsx)(B,{})]})})})}function z({className:a,children:b,...c}){return(0,d.jsxs)(m.e,{"data-slot":"select-item",className:(0,r.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",a),...c,children:[(0,d.jsx)(n.h,{className:"flex flex-1 shrink-0 gap-2 whitespace-nowrap",children:b}),(0,d.jsx)(o.h,{render:(0,d.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center"}),children:(0,d.jsx)(t.A,{className:"pointer-events-none"})})]})}function A({className:a,...b}){return(0,d.jsx)(p.w,{"data-slot":"select-scroll-up-button",className:(0,r.cn)("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",a),...b,children:(0,d.jsx)(u.A,{})})}function B({className:a,...b}){return(0,d.jsx)(q.d,{"data-slot":"select-scroll-down-button",className:(0,r.cn)("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",a),...b,children:(0,d.jsx)(s.A,{})})}},59953:(a,b,c)=>{"use strict";c.d(b,{UpdateBanner:()=>k});var d=c(48249),e=c(67484),f=c(95417),g=c(45535),h=c(35471),i=c(20878),j=c(49183);function k({currentVersion:a}){let[b,c]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1);if(!b)return null;let n=async()=>{try{await navigator.clipboard?.writeText(j.EO),m(!0),setTimeout(()=>m(!1),1600)}catch{}};return(0,d.jsx)("div",{className:"pointer-events-none fixed bottom-4 right-4 z-50 flex justify-end",children:(0,d.jsx)("div",{className:"glass pointer-events-auto w-[320px] rounded-xl p-3.5 shadow-xl",children:(0,d.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,d.jsx)(f.A,{className:"mt-0.5 size-4 shrink-0 text-[#ff7a45]"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("p",{className:"text-[13px] font-semibold tracking-tight text-foreground",children:"New version available"}),(0,d.jsx)("button",{type:"button",onClick:()=>{try{localStorage.setItem("beacon:update-dismissed",b)}catch{}c(null)},"aria-label":"Dismiss",className:"shrink-0 rounded-md p-0.5 text-muted-foreground transition-colors hover:bg-white/[0.06] hover:text-foreground",children:(0,d.jsx)(g.A,{className:"size-3.5"})})]}),(0,d.jsxs)("p",{className:"mt-0.5 text-[11px] text-muted-foreground",children:[a," →"," ",(0,d.jsx)("span",{className:"text-foreground",children:b.replace(/^v/i,"")})," \xb7 update Beacon"]}),(0,d.jsxs)("button",{type:"button",onClick:n,title:"Copy the update command",className:"mt-2.5 flex w-full items-center justify-between gap-2 rounded-lg border border-white/10 bg-black/30 px-2.5 py-1.5 text-left font-mono text-[11px] text-muted-foreground transition-colors hover:border-white/20 hover:text-foreground",children:[(0,d.jsx)("span",{className:"truncate",children:j.EO}),l?(0,d.jsx)(h.A,{className:"size-3.5 shrink-0 text-[#ff7a45]"}):(0,d.jsx)(i.A,{className:"size-3.5 shrink-0"})]})]})]})})})}},60867:(a,b,c)=>{"use strict";c.d(b,{LiveRefresh:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call LiveRefresh() from the server but LiveRefresh is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/live-refresh.tsx","LiveRefresh")},61837:(a,b,c)=>{"use strict";function d(){return null}function e(){return null}function f(a){let b=new URLSearchParams,c=d();c&&b.set("ws",c);let f=e();for(let[c,d]of(f&&b.set("plan",f),Object.entries(a??{})))""===d?b.delete(c):b.set(c,d);let g=b.toString();return g?`/plan?${g}`:"/plan"}c.d(b,{X0:()=>d,d8:()=>e,rc:()=>f})},69370:(a,b,c)=>{"use strict";c.d(b,{NotesProvider:()=>g,b:()=>h});var d=c(48249),e=c(67484);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(!1),h=(0,e.useCallback)(()=>c(!0),[]),i=(0,e.useCallback)(()=>c(!1),[]),j=(0,e.useCallback)(()=>c(a=>!a),[]),k=(0,e.useMemo)(()=>({open:b,openDrawer:h,close:i,toggle:j}),[b,h,i,j]);return(0,d.jsx)(f.Provider,{value:k,children:a})}function h(){let a=(0,e.useContext)(f);if(!a)throw Error("useNotes must be used inside NotesProvider");return a}},71412:(a,b,c)=>{"use strict";c.d(b,{NotesProvider:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call NotesProvider() from the server but NotesProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/notes/notes-context.tsx","NotesProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useNotes() from the server but useNotes is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/notes/notes-context.tsx","useNotes")},74619:(a,b,c)=>{"use strict";c.d(b,{$w:()=>g,eo:()=>k,tw:()=>l});var d=c(32891),e=c(54730);let f="beacon://";function g(a){if(!a.startsWith(f))return null;let b=a.slice(f.length),c=b.indexOf("/");return c<0?null:{kind:b.slice(0,c),ref:b.slice(c+1)}}let h={kind:{default:null,parseHTML:a=>a.getAttribute("data-kind"),renderHTML:a=>a.kind?{"data-kind":a.kind}:{}},ref:{default:null,parseHTML:a=>a.getAttribute("data-ref"),renderHTML:a=>a.ref?{"data-ref":a.ref}:{}},label:{default:null,parseHTML:a=>a.getAttribute("data-label")??a.textContent?.replace(/^@/,""),renderHTML:a=>a.label?{"data-label":a.label}:{}}},i=()=>[{tag:"span[data-mention]"}],j=({node:a,HTMLAttributes:b})=>["span",(0,d.KV)({"data-mention":"",class:"beacon-mention"},b),`@${a.attrs.label??""}`],k=d.bP.create({name:"mention",group:"inline",inline:!0,atom:!0,addAttributes:()=>h,parseHTML:i,renderHTML:j,renderMarkdown:a=>{var b,c,d;let e=a.attrs??{};return b=e.kind??"feature",c=e.ref??"",d=e.label??"",`[@${d}](${f}${b}/${c})`}}),l=e.P.extend({name:"mention",addAttributes:()=>h,parseHTML:i,renderHTML:j})},77946:(a,b,c)=>{"use strict";c.d(b,{TopNav:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call TopNav() from the server but TopNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/top-nav.tsx","TopNav")},79291:(a,b,c)=>{"use strict";c.d(b,{_:()=>e});var d=c(48249);function e({size:a=18,className:b}){return(0,d.jsxs)("svg",{width:a,height:a,viewBox:"20 22 56 56",fill:"none",className:b,"aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M48 33 L72.5 73 L23.5 73 Z",fill:"none",stroke:"var(--accent-2, #ff7a45)",strokeWidth:7,strokeLinejoin:"round",strokeLinecap:"round"}),(0,d.jsx)("circle",{cx:"48",cy:"29.5",r:"7",fill:"var(--accent-2, #ff7a45)"})]})}},79768:(a,b,c)=>{"use strict";c.d(b,{Bz:()=>d,Fj:()=>h,aE:()=>f,dh:()=>g,fk:()=>e,q0:()=>i});let d="beacon:tab-ws";function e(){return null}function f(a){try{sessionStorage.setItem(d,a)}catch{}}function g(a){return a?{"x-beacon-workspace":a}:{}}function h(a,b,c){let d=new URLSearchParams;for(let[a,e]of(b&&d.set("ws",b),Object.entries(c??{})))d.set(a,e);let e=d.toString();return e?`${a}?${e}`:a}function i(a,b){if(a.startsWith("/api/"))return!0;try{let c=new URL(a,b);return c.origin===b&&c.pathname.startsWith("/api/")}catch{return!1}}},81166:(a,b,c)=>{"use strict";c.d(b,{PlanProvider:()=>k,j:()=>l});var d=c(48249),e=c(67484),f=c(19099),g=c(79768),h=c(61837);let i={pending:!1,proposedAt:0,tables:0,endpoints:0,features:0},j=(0,e.createContext)(null);function k({children:a}){let b=(0,f.useRouter)(),[c,l]=(0,e.useState)(i),m=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/plan",{method:"GET",cache:"no-store",headers:(0,g.dh)((0,h.X0)())});if(!a.ok)return;let b=await a.json();l(b)}catch{}},[]),n=(0,e.useCallback)(async()=>{await fetch("/api/plan",{method:"DELETE",headers:(0,g.dh)((0,h.X0)())}).catch(()=>{}),l(i),b.refresh()},[b]),o=(0,e.useCallback)(async()=>{await fetch("/api/plan/approve",{method:"POST",headers:(0,g.dh)((0,h.X0)())}).catch(()=>{}),l(i),b.refresh()},[b]);return(0,d.jsx)(j.Provider,{value:{status:c,discard:n,approvePlan:o,refresh:m},children:a})}function l(){let a=(0,e.useContext)(j);if(!a)throw Error("usePlan must be used inside PlanProvider");return a}},81974:(a,b,c)=>{"use strict";c.d(b,{PlanBar:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call PlanBar() from the server but PlanBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/plan/plan-bar.tsx","PlanBar")},82704:()=>{},84458:(a,b,c)=>{"use strict";c.d(b,{I:()=>h,U:()=>g});var d=c(48249),e=c(67484),f=c(33191);function g(a){let[,b]=(0,e.useReducer)(a=>a+1,0)}function h({label:a,active:b,onClick:c,children:e}){return(0,d.jsx)("button",{type:"button","aria-label":a,"aria-pressed":b,title:a,onMouseDown:a=>a.preventDefault(),onClick:c,className:(0,f.cn)("nodrag nopan rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-white/[0.06] hover:text-foreground",b&&"bg-white/[0.12] text-foreground"),children:e})}},85452:(a,b,c)=>{"use strict";c.d(b,{AskModal:()=>j});var d=c(48249),e=c(67484),f=c(72597),g=c(26284),h=c(48779),i=c(33191);function j(){let[a,b]=(0,e.useState)(null),[c,j]=(0,e.useState)(new Set),[k,l]=(0,e.useState)(""),[m,n]=(0,e.useState)(!1),o=(0,e.useRef)(null),p=a?.id??null,q=(0,e.useRef)(null);p!==q.current&&(q.current=p,c.size&&j(new Set),k&&l(""));let r=(0,e.useCallback)(async c=>{if(a&&!m){n(!0),o.current=a.id,b(null);try{await fetch("/api/ask/answer",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:a.id,...c})})}catch{}finally{n(!1)}}},[a,m]);if(!a)return null;let s=()=>k.trim()&&r({selected:[k.trim()]});return(0,d.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center bg-black/40 p-4 backdrop-blur-sm",children:(0,d.jsx)(h.b,{className:"w-full max-w-lg rounded-2xl border border-border/60 p-5 shadow-2xl",children:"question"===a.kind&&a.question?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"rounded-full bg-muted px-2 py-0.5 text-[0.7rem] font-medium text-muted-foreground",children:a.question.header||"The agent is asking"}),a.question.multiSelect&&(0,d.jsx)("span",{className:"text-[0.7rem] text-muted-foreground",children:"select all that apply"})]}),(0,d.jsx)("p",{className:"mb-4 text-sm font-medium text-foreground",children:a.question.question}),(0,d.jsx)("div",{className:"flex flex-col gap-2",children:a.question.options.map(b=>{let e=c.has(b.label);return(0,d.jsxs)("button",{type:"button",disabled:m,onClick:()=>{let c;return a.question.multiSelect?(c=b.label,j(a=>{let b=new Set(a);return b.has(c)?b.delete(c):b.add(c),b})):r({selected:[b.label]})},className:(0,i.cn)("rounded-lg border border-border bg-background/40 px-3 py-2 text-left transition-colors hover:bg-muted disabled:opacity-50",e&&"border-primary bg-primary/10"),children:[(0,d.jsx)("span",{className:"text-sm font-medium text-foreground",children:b.label}),b.description&&(0,d.jsx)("span",{className:"mt-0.5 block text-xs text-muted-foreground",children:b.description})]},b.label)})}),(0,d.jsxs)("div",{className:"mt-3 flex items-center gap-2",children:[(0,d.jsx)("input",{value:k,disabled:m,onChange:a=>l(a.target.value),onKeyDown:b=>"Enter"===b.key&&!a.question.multiSelect&&s(),placeholder:"Other…",className:"h-8 flex-1 rounded-lg border border-border bg-background/40 px-2.5 text-sm outline-none focus:border-primary"}),a.question.multiSelect?(0,d.jsx)(g.$,{size:"sm",onClick:()=>{let a=[...c,...k.trim()?[k.trim()]:[]];a.length&&r({selected:a})},disabled:m,children:"Submit"}):(0,d.jsx)(g.$,{size:"icon-sm",variant:"outline",onClick:s,disabled:m||!k.trim(),"aria-label":"Submit other",children:(0,d.jsx)(f.A,{})})]})]}):a.approval?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"mb-1 flex items-center gap-2",children:(0,d.jsxs)("span",{className:"rounded-full bg-muted px-2 py-0.5 text-[0.7rem] font-medium text-muted-foreground",children:["Approve ",a.approval.tool]})}),(0,d.jsx)("p",{className:"mb-3 text-sm font-medium text-foreground",children:a.approval.title}),a.approval.preview&&(0,d.jsx)("pre",{className:"mb-4 max-h-64 overflow-auto rounded-lg border border-border bg-background/40 p-3 text-xs whitespace-pre-wrap text-muted-foreground",children:a.approval.preview}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(g.$,{variant:"destructive",onClick:()=>r({decision:"deny"}),disabled:m,children:"Deny"}),(0,d.jsx)(g.$,{onClick:()=>r({decision:"allow"}),disabled:m,children:"Allow"})]})]}):null})})}},86364:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(88868);let e=async a=>[{type:"image/svg+xml",sizes:"any",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.svg",!0)+"?bb93a1375ed3c298"}]},86596:(a,b,c)=>{"use strict";c.d(b,{Gd:()=>p,II:()=>l,Pu:()=>m,Z2:()=>o});var d=c(56563),e=c(890),f=c(45348),g=c(69131),h=c(74619);let i=f.z.extend({renderMarkdown:(a,b)=>`<u>${b.renderChildren(a)}</u>`}),j=[d.W.configure({underline:!1}),i,e._0,e.L2.configure({nested:!0})],k=[...j,h.eo],l=k,m=j,n=new g.db({extensions:k});function o(a){return n.serialize(function a(b){return"paragraph"===b.type&&(b.content?.length??0)===0?{...b,content:[{type:"text",text:""}]}:Array.isArray(b.content)?{...b,content:b.content.map(a)}:b}(a))}function p(a){return function a(b){if("paragraph"===b.type&&b.content?.length){let a=b.content.every(a=>"text"===a.type),c=b.content.map(a=>a.text??"").join("");if(a&&c.includes("")&&""===c.replace(/\u200B/g,"").trim())return{...b,content:[]}}return Array.isArray(b.content)?{...b,content:b.content.map(a)}:b}(function a(b){if("text"===b.type){let a=(b.marks??[]).find(a=>"link"===a.type&&"string"==typeof a.attrs?.href),c=a?.attrs?.href?(0,h.$w)(a.attrs.href):null;if(c)return{type:"mention",attrs:{kind:c.kind,ref:c.ref,label:(b.text??"").replace(/^@/,"")}}}return Array.isArray(b.content)?{...b,content:b.content.map(a)}:b}(function a(b){if("text"===b.type&&(b.text??"").includes("<u>"))return{type:"__frag",content:function(a){let b,c=a.text??"",d=a.marks??[],e=/<u>([\s\S]*?)<\/u>/g,f=[],g=0;for(;null!==(b=e.exec(c));)b.index>g&&f.push({...a,text:c.slice(g,b.index)}),f.push({type:"text",text:b[1],marks:[...d,{type:"underline"}]}),g=e.lastIndex;return g<c.length&&f.push({...a,text:c.slice(g)}),f.filter(a=>(a.text??"").length>0)}(b)};if(Array.isArray(b.content)){let c=b.content.flatMap(b=>{let c=a(b);return"__frag"===c.type?c.content:[c]});return{...b,content:c}}return b}(n.parse(a))))}}};
|