trybeacon 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +5 -4
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +14 -6
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- 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/board-annotations/[id]/route.js +1 -1
- package/.next/server/app/api/board-annotations/route.js +1 -1
- package/.next/server/app/api/bug-flags/[id]/route.js +1 -0
- package/.next/server/app/api/bug-flags/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/bug-flags/[id]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/bug-flags/route.js +1 -0
- package/.next/server/app/api/{settings → bug-flags}/route.js.nft.json +1 -1
- package/.next/server/app/api/bug-flags/route_client-reference-manifest.js +1 -0
- 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/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 +2 -2
- package/.next/server/app/api/draft/route.js +2 -2
- 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/feedback/[id]/route.js +1 -1
- package/.next/server/app/api/feedback/[id]/vote/route.js +1 -1
- package/.next/server/app/api/feedback/route.js +1 -1
- package/.next/server/app/api/ingest/route.js +2 -2
- package/.next/server/app/api/init/route.js +2 -2
- package/.next/server/app/api/map/describe/route.js +2 -2
- 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/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 +2 -2
- 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 +2 -2
- package/.next/server/app/api/preferences/route.js +1 -1
- package/.next/server/app/api/reset/route.js +1 -1
- package/.next/server/app/api/stream/route.js +2 -2
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +2 -2
- package/.next/server/app/docs.segments/_full.segment.rsc +2 -2
- package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_index.segment.rsc +2 -2
- 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/feedback/page.js +2 -2
- package/.next/server/app/feedback/page_client-reference-manifest.js +1 -1
- package/.next/server/app/feedback.html +1 -1
- package/.next/server/app/feedback.rsc +2 -2
- package/.next/server/app/feedback.segments/_full.segment.rsc +2 -2
- package/.next/server/app/feedback.segments/_head.segment.rsc +1 -1
- package/.next/server/app/feedback.segments/_index.segment.rsc +2 -2
- package/.next/server/app/feedback.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/feedback.segments/feedback/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/feedback.segments/feedback.segment.rsc +1 -1
- package/.next/server/app/help/page.js +2 -2
- 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 +20 -19
- package/.next/server/app/help.segments/_full.segment.rsc +20 -19
- package/.next/server/app/help.segments/_head.segment.rsc +1 -1
- package/.next/server/app/help.segments/_index.segment.rsc +2 -2
- 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 +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/plan/page.js +2 -2
- 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/settings/page.js +2 -2
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +5 -4
- package/.next/server/chunks/1130.js +1 -1
- package/.next/server/chunks/{3968.js → 2574.js} +2 -2
- package/.next/server/chunks/2933.js +1 -1
- package/.next/server/chunks/6962.js +1 -0
- package/.next/server/chunks/9683.js +1 -1
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware.js +3 -3
- 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/{ct96P0zTV3e7YqJ2NLI_X → O43psSufYlBZeD2MfUpT5}/_buildManifest.js +1 -1
- package/.next/static/chunks/1152-ce3b96f2d3495ed8.js +1 -0
- package/.next/static/chunks/1202-dfeac8ec49693586.js +1 -0
- package/.next/static/chunks/app/_global-error/{page-3b9ad860c9e9f7cb.js → page-0fdd2f2bb2631a50.js} +1 -1
- package/.next/static/chunks/app/api/board-annotations/[id]/{route-3b9ad860c9e9f7cb.js → route-0fdd2f2bb2631a50.js} +1 -1
- package/.next/static/chunks/app/api/board-annotations/{route-3b9ad860c9e9f7cb.js → route-0fdd2f2bb2631a50.js} +1 -1
- package/.next/static/chunks/app/api/{code-graph/position/route-3b9ad860c9e9f7cb.js → bug-flags/[id]/route-0fdd2f2bb2631a50.js} +1 -1
- package/.next/static/chunks/app/api/bug-flags/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/code-graph/position/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/code-graph/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/context/feature/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/context/file/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/context/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/arrange/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/backfill-access/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/position/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/reconcile-endpoints/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/relations/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/db/tables/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/draft/approve/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/draft/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/draft/status/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/edges/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/edges/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/endpoints/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/entities/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/feedback/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/feedback/[id]/vote/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/feedback/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/ingest/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/init/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/describe/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/files/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/finish/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/start/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/map/touch-active/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/nodes/[id]/position/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/nodes/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/nodes/positions/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/nodes/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/nodes/subtasks/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/notes/[id]/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/notes/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/open/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/annotations/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/approve/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/history/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/markdown/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/presence/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/plan/verdict/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/preferences/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/reset/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/stream/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/version/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/workspace/activate/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/api/workspace/route-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/app/map/{page-3fe31101c63d9668.js → page-ed40021c6ab84daf.js} +1 -1
- package/.next/static/chunks/app/page-2c4582b256e877c0.js +1 -0
- package/.next/static/chunks/app/plan/{page-51bc3f04374541b9.js → page-645f031f5db46170.js} +1 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-0fdd2f2bb2631a50.js +1 -0
- package/.next/static/css/f0c8ee0772c6d74d.css +1 -0
- package/.next/trace +37 -37
- package/.next/trace-build +1 -1
- package/.next/types/app/api/bug-flags/[id]/route.ts +351 -0
- package/.next/types/app/api/{settings → bug-flags}/route.ts +3 -3
- package/.next/types/routes.d.ts +3 -2
- package/.next/types/validator.ts +18 -9
- package/dist/bin/beacon.js +6 -6
- package/dist/bin/doctor.js +50 -34
- package/dist/bin/hook.js +49 -32
- package/dist/bin/mcp.js +56 -40
- package/dist/bin/plan.js +50 -34
- package/dist/bin/prompt.js +1 -1
- package/dist/bin/stop-hook.js +2 -2
- package/dist/bin/uninstall.js +50 -34
- package/dist/lib/assets.js +23 -20
- package/dist/lib/codex-install.js +242 -0
- package/dist/lib/global-install.js +48 -32
- package/drizzle/0002_square_firestar.sql +2 -0
- package/drizzle/0003_glorious_stick.sql +12 -0
- package/drizzle/0004_fair_namora.sql +1 -0
- package/drizzle/meta/0002_snapshot.json +1655 -0
- package/drizzle/meta/0003_snapshot.json +1737 -0
- package/drizzle/meta/0004_snapshot.json +1730 -0
- package/drizzle/meta/_journal.json +21 -0
- package/package.json +1 -2
- package/.next/server/app/api/settings/route.js +0 -1
- package/.next/server/app/api/settings/route_client-reference-manifest.js +0 -1
- package/.next/server/chunks/9159.js +0 -1
- package/.next/static/chunks/5354-31b73f8e3dfd92b7.js +0 -1
- package/.next/static/chunks/58-aec6c638db75ae0a.js +0 -1
- package/.next/static/chunks/app/api/code-graph/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/context/feature/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/context/file/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/context/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/arrange/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/backfill-access/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/position/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/reconcile-endpoints/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/relations/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/db/tables/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/draft/approve/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/draft/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/draft/status/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/edges/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/edges/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/endpoints/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/entities/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/feedback/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/feedback/[id]/vote/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/feedback/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/ingest/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/init/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/describe/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/files/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/finish/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/start/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/map/touch-active/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/nodes/[id]/position/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/nodes/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/nodes/positions/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/nodes/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/nodes/subtasks/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/notes/[id]/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/notes/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/open/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/annotations/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/approve/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/history/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/markdown/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/presence/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/plan/verdict/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/preferences/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/reset/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/settings/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/stream/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/version/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/workspace/activate/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/api/workspace/route-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/app/page-ccb55081f850db63.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-3b9ad860c9e9f7cb.js +0 -1
- package/.next/static/css/0745ea0e6e3229f6.css +0 -1
- /package/.next/static/{ct96P0zTV3e7YqJ2NLI_X → O43psSufYlBZeD2MfUpT5}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":6986426,"timestamp":302107515515,"id":14,"parentId":1,"tags":{},"startTime":1781116827538,"traceId":"6712918ccc46b6e8"},{"name":"run-typescript","duration":3119533,"timestamp":302114503230,"id":3923,"parentId":1,"tags":{},"startTime":1781116834526,"traceId":"6712918ccc46b6e8"},{"name":"static-check","duration":316290,"timestamp":302117631060,"id":3926,"parentId":1,"tags":{},"startTime":1781116837654,"traceId":"6712918ccc46b6e8"},{"name":"static-generation","duration":1000919,"timestamp":302118301105,"id":4062,"parentId":1,"tags":{},"startTime":1781116838324,"traceId":"6712918ccc46b6e8"},{"name":"collect-build-traces","duration":3482597,"timestamp":302117948591,"id":4059,"parentId":1,"tags":{},"startTime":1781116837972,"traceId":"6712918ccc46b6e8"},{"name":"telemetry-flush","duration":20,"timestamp":302121432602,"id":4071,"parentId":1,"tags":{},"startTime":1781116841456,"traceId":"6712918ccc46b6e8"},{"name":"next-build","duration":13956763,"timestamp":302107475862,"id":1,"tags":{"buildMode":"default","version":"16.2.7","bundler":"webpack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781116827499,"traceId":"6712918ccc46b6e8"}]
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// File: /Users/wenzorithelly/Desktop/beacon/app/api/bug-flags/[id]/route.ts
|
|
2
|
+
import * as entry from '../../../../../../app/api/bug-flags/[id]/route.js'
|
|
3
|
+
import type { NextRequest } from 'next/server.js'
|
|
4
|
+
|
|
5
|
+
import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
|
+
|
|
7
|
+
type TEntry = typeof import('../../../../../../app/api/bug-flags/[id]/route.js')
|
|
8
|
+
|
|
9
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
|
11
|
+
: T
|
|
12
|
+
|
|
13
|
+
// Check that the entry is a valid entry
|
|
14
|
+
checkFields<Diff<{
|
|
15
|
+
GET?: Function
|
|
16
|
+
HEAD?: Function
|
|
17
|
+
OPTIONS?: Function
|
|
18
|
+
POST?: Function
|
|
19
|
+
PUT?: Function
|
|
20
|
+
DELETE?: Function
|
|
21
|
+
PATCH?: Function
|
|
22
|
+
config?: {}
|
|
23
|
+
generateStaticParams?: Function
|
|
24
|
+
unstable_instant?: InstantConfigForTypeCheckInternal
|
|
25
|
+
unstable_dynamicStaleTime?: number
|
|
26
|
+
revalidate?: RevalidateRange<TEntry> | false
|
|
27
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
|
28
|
+
dynamicParams?: boolean
|
|
29
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
|
30
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
|
31
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
|
32
|
+
maxDuration?: number
|
|
33
|
+
|
|
34
|
+
}, TEntry, ''>>()
|
|
35
|
+
|
|
36
|
+
type RouteContext = { params: Promise<SegmentParams> }
|
|
37
|
+
// Check the prop type of the entry function
|
|
38
|
+
if ('GET' in entry) {
|
|
39
|
+
checkFields<
|
|
40
|
+
Diff<
|
|
41
|
+
ParamCheck<Request | NextRequest>,
|
|
42
|
+
{
|
|
43
|
+
__tag__: 'GET'
|
|
44
|
+
__param_position__: 'first'
|
|
45
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
|
|
46
|
+
},
|
|
47
|
+
'GET'
|
|
48
|
+
>
|
|
49
|
+
>()
|
|
50
|
+
checkFields<
|
|
51
|
+
Diff<
|
|
52
|
+
ParamCheck<RouteContext>,
|
|
53
|
+
{
|
|
54
|
+
__tag__: 'GET'
|
|
55
|
+
__param_position__: 'second'
|
|
56
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
|
|
57
|
+
},
|
|
58
|
+
'GET'
|
|
59
|
+
>
|
|
60
|
+
>()
|
|
61
|
+
|
|
62
|
+
checkFields<
|
|
63
|
+
Diff<
|
|
64
|
+
{
|
|
65
|
+
__tag__: 'GET',
|
|
66
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
__tag__: 'GET',
|
|
70
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
|
|
71
|
+
},
|
|
72
|
+
'GET'
|
|
73
|
+
>
|
|
74
|
+
>()
|
|
75
|
+
}
|
|
76
|
+
// Check the prop type of the entry function
|
|
77
|
+
if ('HEAD' in entry) {
|
|
78
|
+
checkFields<
|
|
79
|
+
Diff<
|
|
80
|
+
ParamCheck<Request | NextRequest>,
|
|
81
|
+
{
|
|
82
|
+
__tag__: 'HEAD'
|
|
83
|
+
__param_position__: 'first'
|
|
84
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
|
|
85
|
+
},
|
|
86
|
+
'HEAD'
|
|
87
|
+
>
|
|
88
|
+
>()
|
|
89
|
+
checkFields<
|
|
90
|
+
Diff<
|
|
91
|
+
ParamCheck<RouteContext>,
|
|
92
|
+
{
|
|
93
|
+
__tag__: 'HEAD'
|
|
94
|
+
__param_position__: 'second'
|
|
95
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
|
|
96
|
+
},
|
|
97
|
+
'HEAD'
|
|
98
|
+
>
|
|
99
|
+
>()
|
|
100
|
+
|
|
101
|
+
checkFields<
|
|
102
|
+
Diff<
|
|
103
|
+
{
|
|
104
|
+
__tag__: 'HEAD',
|
|
105
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
__tag__: 'HEAD',
|
|
109
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
|
|
110
|
+
},
|
|
111
|
+
'HEAD'
|
|
112
|
+
>
|
|
113
|
+
>()
|
|
114
|
+
}
|
|
115
|
+
// Check the prop type of the entry function
|
|
116
|
+
if ('OPTIONS' in entry) {
|
|
117
|
+
checkFields<
|
|
118
|
+
Diff<
|
|
119
|
+
ParamCheck<Request | NextRequest>,
|
|
120
|
+
{
|
|
121
|
+
__tag__: 'OPTIONS'
|
|
122
|
+
__param_position__: 'first'
|
|
123
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
124
|
+
},
|
|
125
|
+
'OPTIONS'
|
|
126
|
+
>
|
|
127
|
+
>()
|
|
128
|
+
checkFields<
|
|
129
|
+
Diff<
|
|
130
|
+
ParamCheck<RouteContext>,
|
|
131
|
+
{
|
|
132
|
+
__tag__: 'OPTIONS'
|
|
133
|
+
__param_position__: 'second'
|
|
134
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
135
|
+
},
|
|
136
|
+
'OPTIONS'
|
|
137
|
+
>
|
|
138
|
+
>()
|
|
139
|
+
|
|
140
|
+
checkFields<
|
|
141
|
+
Diff<
|
|
142
|
+
{
|
|
143
|
+
__tag__: 'OPTIONS',
|
|
144
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
__tag__: 'OPTIONS',
|
|
148
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
|
|
149
|
+
},
|
|
150
|
+
'OPTIONS'
|
|
151
|
+
>
|
|
152
|
+
>()
|
|
153
|
+
}
|
|
154
|
+
// Check the prop type of the entry function
|
|
155
|
+
if ('POST' in entry) {
|
|
156
|
+
checkFields<
|
|
157
|
+
Diff<
|
|
158
|
+
ParamCheck<Request | NextRequest>,
|
|
159
|
+
{
|
|
160
|
+
__tag__: 'POST'
|
|
161
|
+
__param_position__: 'first'
|
|
162
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
|
|
163
|
+
},
|
|
164
|
+
'POST'
|
|
165
|
+
>
|
|
166
|
+
>()
|
|
167
|
+
checkFields<
|
|
168
|
+
Diff<
|
|
169
|
+
ParamCheck<RouteContext>,
|
|
170
|
+
{
|
|
171
|
+
__tag__: 'POST'
|
|
172
|
+
__param_position__: 'second'
|
|
173
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
|
|
174
|
+
},
|
|
175
|
+
'POST'
|
|
176
|
+
>
|
|
177
|
+
>()
|
|
178
|
+
|
|
179
|
+
checkFields<
|
|
180
|
+
Diff<
|
|
181
|
+
{
|
|
182
|
+
__tag__: 'POST',
|
|
183
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
__tag__: 'POST',
|
|
187
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
|
|
188
|
+
},
|
|
189
|
+
'POST'
|
|
190
|
+
>
|
|
191
|
+
>()
|
|
192
|
+
}
|
|
193
|
+
// Check the prop type of the entry function
|
|
194
|
+
if ('PUT' in entry) {
|
|
195
|
+
checkFields<
|
|
196
|
+
Diff<
|
|
197
|
+
ParamCheck<Request | NextRequest>,
|
|
198
|
+
{
|
|
199
|
+
__tag__: 'PUT'
|
|
200
|
+
__param_position__: 'first'
|
|
201
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
|
|
202
|
+
},
|
|
203
|
+
'PUT'
|
|
204
|
+
>
|
|
205
|
+
>()
|
|
206
|
+
checkFields<
|
|
207
|
+
Diff<
|
|
208
|
+
ParamCheck<RouteContext>,
|
|
209
|
+
{
|
|
210
|
+
__tag__: 'PUT'
|
|
211
|
+
__param_position__: 'second'
|
|
212
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
|
|
213
|
+
},
|
|
214
|
+
'PUT'
|
|
215
|
+
>
|
|
216
|
+
>()
|
|
217
|
+
|
|
218
|
+
checkFields<
|
|
219
|
+
Diff<
|
|
220
|
+
{
|
|
221
|
+
__tag__: 'PUT',
|
|
222
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
__tag__: 'PUT',
|
|
226
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
|
|
227
|
+
},
|
|
228
|
+
'PUT'
|
|
229
|
+
>
|
|
230
|
+
>()
|
|
231
|
+
}
|
|
232
|
+
// Check the prop type of the entry function
|
|
233
|
+
if ('DELETE' in entry) {
|
|
234
|
+
checkFields<
|
|
235
|
+
Diff<
|
|
236
|
+
ParamCheck<Request | NextRequest>,
|
|
237
|
+
{
|
|
238
|
+
__tag__: 'DELETE'
|
|
239
|
+
__param_position__: 'first'
|
|
240
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
|
|
241
|
+
},
|
|
242
|
+
'DELETE'
|
|
243
|
+
>
|
|
244
|
+
>()
|
|
245
|
+
checkFields<
|
|
246
|
+
Diff<
|
|
247
|
+
ParamCheck<RouteContext>,
|
|
248
|
+
{
|
|
249
|
+
__tag__: 'DELETE'
|
|
250
|
+
__param_position__: 'second'
|
|
251
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
|
|
252
|
+
},
|
|
253
|
+
'DELETE'
|
|
254
|
+
>
|
|
255
|
+
>()
|
|
256
|
+
|
|
257
|
+
checkFields<
|
|
258
|
+
Diff<
|
|
259
|
+
{
|
|
260
|
+
__tag__: 'DELETE',
|
|
261
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
__tag__: 'DELETE',
|
|
265
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
|
|
266
|
+
},
|
|
267
|
+
'DELETE'
|
|
268
|
+
>
|
|
269
|
+
>()
|
|
270
|
+
}
|
|
271
|
+
// Check the prop type of the entry function
|
|
272
|
+
if ('PATCH' in entry) {
|
|
273
|
+
checkFields<
|
|
274
|
+
Diff<
|
|
275
|
+
ParamCheck<Request | NextRequest>,
|
|
276
|
+
{
|
|
277
|
+
__tag__: 'PATCH'
|
|
278
|
+
__param_position__: 'first'
|
|
279
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
|
|
280
|
+
},
|
|
281
|
+
'PATCH'
|
|
282
|
+
>
|
|
283
|
+
>()
|
|
284
|
+
checkFields<
|
|
285
|
+
Diff<
|
|
286
|
+
ParamCheck<RouteContext>,
|
|
287
|
+
{
|
|
288
|
+
__tag__: 'PATCH'
|
|
289
|
+
__param_position__: 'second'
|
|
290
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
|
|
291
|
+
},
|
|
292
|
+
'PATCH'
|
|
293
|
+
>
|
|
294
|
+
>()
|
|
295
|
+
|
|
296
|
+
checkFields<
|
|
297
|
+
Diff<
|
|
298
|
+
{
|
|
299
|
+
__tag__: 'PATCH',
|
|
300
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
__tag__: 'PATCH',
|
|
304
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
|
|
305
|
+
},
|
|
306
|
+
'PATCH'
|
|
307
|
+
>
|
|
308
|
+
>()
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// Check the arguments and return type of the generateStaticParams function
|
|
312
|
+
if ('generateStaticParams' in entry) {
|
|
313
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
|
314
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface PageProps {
|
|
318
|
+
params?: Promise<SegmentParams>
|
|
319
|
+
searchParams?: Promise<any>
|
|
320
|
+
}
|
|
321
|
+
export interface LayoutProps {
|
|
322
|
+
children?: React.ReactNode
|
|
323
|
+
|
|
324
|
+
params?: Promise<SegmentParams>
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// =============
|
|
328
|
+
// Utility types
|
|
329
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
|
330
|
+
|
|
331
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
|
332
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
|
333
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
|
334
|
+
|
|
335
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
|
336
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
|
337
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
|
338
|
+
|
|
339
|
+
type ParamCheck<T> = {
|
|
340
|
+
__tag__: string
|
|
341
|
+
__param_position__: string
|
|
342
|
+
__param_type__: T
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
|
346
|
+
|
|
347
|
+
// https://github.com/sindresorhus/type-fest
|
|
348
|
+
type Numeric = number | bigint
|
|
349
|
+
type Zero = 0 | 0n
|
|
350
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
|
351
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// File: /Users/wenzorithelly/Desktop/beacon/app/api/
|
|
2
|
-
import * as entry from '../../../../../app/api/
|
|
1
|
+
// File: /Users/wenzorithelly/Desktop/beacon/app/api/bug-flags/route.ts
|
|
2
|
+
import * as entry from '../../../../../app/api/bug-flags/route.js'
|
|
3
3
|
import type { NextRequest } from 'next/server.js'
|
|
4
4
|
|
|
5
5
|
import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
6
|
|
|
7
|
-
type TEntry = typeof import('../../../../../app/api/
|
|
7
|
+
type TEntry = typeof import('../../../../../app/api/bug-flags/route.js')
|
|
8
8
|
|
|
9
9
|
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
10
|
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
package/.next/types/routes.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit this file manually
|
|
3
3
|
|
|
4
4
|
type AppRoutes = "/" | "/docs" | "/feedback" | "/help" | "/map" | "/plan" | "/settings"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/board-annotations" | "/api/board-annotations/[id]" | "/api/code-graph" | "/api/code-graph/position" | "/api/context" | "/api/context/feature" | "/api/context/file" | "/api/db/arrange" | "/api/db/backfill-access" | "/api/db/position" | "/api/db/reconcile-endpoints" | "/api/db/relations/[id]" | "/api/db/tables/[id]" | "/api/draft" | "/api/draft/approve" | "/api/draft/status" | "/api/edges" | "/api/edges/[id]" | "/api/endpoints/[id]" | "/api/entities" | "/api/feedback" | "/api/feedback/[id]" | "/api/feedback/[id]/vote" | "/api/ingest" | "/api/init" | "/api/map" | "/api/map/describe" | "/api/map/files" | "/api/map/finish" | "/api/map/start" | "/api/map/touch-active" | "/api/nodes" | "/api/nodes/[id]" | "/api/nodes/[id]/position" | "/api/nodes/positions" | "/api/nodes/subtasks" | "/api/notes" | "/api/notes/[id]" | "/api/open" | "/api/plan" | "/api/plan/annotations" | "/api/plan/approve" | "/api/plan/history" | "/api/plan/markdown" | "/api/plan/presence" | "/api/plan/verdict" | "/api/preferences" | "/api/reset" | "/api/
|
|
5
|
+
type AppRouteHandlerRoutes = "/api/board-annotations" | "/api/board-annotations/[id]" | "/api/bug-flags" | "/api/bug-flags/[id]" | "/api/code-graph" | "/api/code-graph/position" | "/api/context" | "/api/context/feature" | "/api/context/file" | "/api/db/arrange" | "/api/db/backfill-access" | "/api/db/position" | "/api/db/reconcile-endpoints" | "/api/db/relations/[id]" | "/api/db/tables/[id]" | "/api/draft" | "/api/draft/approve" | "/api/draft/status" | "/api/edges" | "/api/edges/[id]" | "/api/endpoints/[id]" | "/api/entities" | "/api/feedback" | "/api/feedback/[id]" | "/api/feedback/[id]/vote" | "/api/ingest" | "/api/init" | "/api/map" | "/api/map/describe" | "/api/map/files" | "/api/map/finish" | "/api/map/start" | "/api/map/touch-active" | "/api/nodes" | "/api/nodes/[id]" | "/api/nodes/[id]/position" | "/api/nodes/positions" | "/api/nodes/subtasks" | "/api/notes" | "/api/notes/[id]" | "/api/open" | "/api/plan" | "/api/plan/annotations" | "/api/plan/approve" | "/api/plan/history" | "/api/plan/markdown" | "/api/plan/presence" | "/api/plan/verdict" | "/api/preferences" | "/api/reset" | "/api/stream" | "/api/version" | "/api/workspace" | "/api/workspace/activate"
|
|
6
6
|
type PageRoutes = never
|
|
7
7
|
type LayoutRoutes = "/"
|
|
8
8
|
type RedirectRoutes = never
|
|
@@ -14,6 +14,8 @@ interface ParamMap {
|
|
|
14
14
|
"/": {}
|
|
15
15
|
"/api/board-annotations": {}
|
|
16
16
|
"/api/board-annotations/[id]": { "id": string; }
|
|
17
|
+
"/api/bug-flags": {}
|
|
18
|
+
"/api/bug-flags/[id]": { "id": string; }
|
|
17
19
|
"/api/code-graph": {}
|
|
18
20
|
"/api/code-graph/position": {}
|
|
19
21
|
"/api/context": {}
|
|
@@ -60,7 +62,6 @@ interface ParamMap {
|
|
|
60
62
|
"/api/plan/verdict": {}
|
|
61
63
|
"/api/preferences": {}
|
|
62
64
|
"/api/reset": {}
|
|
63
|
-
"/api/settings": {}
|
|
64
65
|
"/api/stream": {}
|
|
65
66
|
"/api/version": {}
|
|
66
67
|
"/api/workspace": {}
|
package/.next/types/validator.ts
CHANGED
|
@@ -128,6 +128,24 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
128
128
|
type __Unused = __Check
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
// Validate ../../app/api/bug-flags/[id]/route.ts
|
|
132
|
+
{
|
|
133
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/bug-flags/[id]">> = Specific
|
|
134
|
+
const handler = {} as typeof import("../../app/api/bug-flags/[id]/route.js")
|
|
135
|
+
type __Check = __IsExpected<typeof handler>
|
|
136
|
+
// @ts-ignore
|
|
137
|
+
type __Unused = __Check
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// Validate ../../app/api/bug-flags/route.ts
|
|
141
|
+
{
|
|
142
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/bug-flags">> = Specific
|
|
143
|
+
const handler = {} as typeof import("../../app/api/bug-flags/route.js")
|
|
144
|
+
type __Check = __IsExpected<typeof handler>
|
|
145
|
+
// @ts-ignore
|
|
146
|
+
type __Unused = __Check
|
|
147
|
+
}
|
|
148
|
+
|
|
131
149
|
// Validate ../../app/api/code-graph/position/route.ts
|
|
132
150
|
{
|
|
133
151
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/code-graph/position">> = Specific
|
|
@@ -542,15 +560,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
542
560
|
type __Unused = __Check
|
|
543
561
|
}
|
|
544
562
|
|
|
545
|
-
// Validate ../../app/api/settings/route.ts
|
|
546
|
-
{
|
|
547
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/settings">> = Specific
|
|
548
|
-
const handler = {} as typeof import("../../app/api/settings/route.js")
|
|
549
|
-
type __Check = __IsExpected<typeof handler>
|
|
550
|
-
// @ts-ignore
|
|
551
|
-
type __Unused = __Check
|
|
552
|
-
}
|
|
553
|
-
|
|
554
563
|
// Validate ../../app/api/stream/route.ts
|
|
555
564
|
{
|
|
556
565
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/stream">> = Specific
|
package/dist/bin/beacon.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{execSync as
|
|
4
|
-
\u25C9 Beacon setup \xB7 ${z}`),console.log(` \u2713 skill: ${
|
|
5
|
-
`)
|
|
3
|
+
import{execSync as v,spawn as D}from"child_process";import{existsSync as E,mkdirSync as k,openSync as S,readFileSync as f,writeFileSync as h}from"fs";import{homedir as u,platform as w}from"os";import{basename as m,dirname as H,join as V}from"path";import{fileURLToPath as g}from"url";var _=H(g(import.meta.url)),F=m(H(_))==="dist",I=F?H(H(_)):H(_),P=process.cwd(),j=process.env.BEACON_HOME||V(u(),".beacon"),y=V(j,"server.json"),O=process.env.PORT||"4319";if(!process.env.BEACON_MIGRATIONS_DIR)process.env.BEACON_MIGRATIONS_DIR=V(I,"drizzle");function Y(z){if(!F)return V(I,z);return V(I,"dist",z.replace(/\.ts$/,".js"))}var $=process.argv[2];if($==="mcp")await import(Y("bin/mcp.ts"));else if($==="hook")await import(Y("bin/hook.ts"));else if($==="plan")await import(Y("bin/plan.ts"));else if($==="prompt")await import(Y("bin/prompt.ts"));else if($==="stop-hook")await import(Y("bin/stop-hook.ts"));else if($==="stop")s();else if($==="setup")await A(R()||P);else if($==="doctor")await import(Y("bin/doctor.ts"));else if($==="uninstall")await import(Y("bin/uninstall.ts"));else await a();async function A(z,Q=!1){let{installInitSkill:q,installRefreshSkill:J,installCodexRepoSkills:W,ensureMcp:B,ensureWorkflowDoc:G}=await import(Y("lib/assets.ts")),{selfHealGlobal:L}=await import(Y("lib/global-install.ts")),{codexDetected:M}=await import(Y("lib/codex-install.ts")),Z=await L(),U=q(z),X=J(z);G(z);let K=B(z),T=M()?W(z):[];if(Q){if(K.added)console.log(`[beacon] registered Beacon MCP in ${K.path} \u2014 restart your agent CLI to use @beacon mentions.`)}else{console.log(`
|
|
4
|
+
\u25C9 Beacon setup \xB7 ${z}`),console.log(` \u2713 skill: ${U}`),console.log(` \u2713 skill: ${X}`);for(let N of T)console.log(` \u2713 skill: ${N}`);console.log(` ${K.added?"\u2713 added ":"\xB7 kept "} Beacon MCP in ${K.path}`),console.log(` \u2192 in this repo, run /beacon-init in your agent (Claude Code or Codex) to map the repo.
|
|
5
|
+
`)}return{initSkill:U,refreshSkill:X,mcp:K,codexSkills:T,heal:Z}}function R(){try{return v("git rev-parse --show-toplevel",{cwd:P,stdio:["ignore","pipe","ignore"]}).toString().trim()}catch{return""}}function b(z){try{return process.kill(z,0),!0}catch{return!1}}function x(z){try{return JSON.parse(f(z,"utf8"))}catch{return null}}async function C(z){try{return(await fetch(z)).ok}catch{return!1}}async function c(z,Q=60){for(let q=0;q<Q;q++){if(await C(z))return!0;await new Promise((J)=>setTimeout(J,500))}return!1}function t(){k(j,{recursive:!0});let z=S(V(j,"server.log"),"a"),Q={...process.env,PORT:O,BEACON_NO_OPEN:"1",BEACON_MIGRATIONS_DIR:V(I,"drizzle")};delete Q.BEACON_REPO,delete Q.BEACON_DATA_DIR,delete Q.DATABASE_URL;let J=D("bun",F?["run","start"]:["run","dev"],{cwd:I,env:Q,detached:!0,stdio:["ignore",z,z]});J.unref();let W={pid:J.pid??0,port:O};return h(y,JSON.stringify(W)),W}async function p(){let z=x(y);if(z&&b(z.pid)&&await C(`http://localhost:${z.port}/api/workspace`))return z.port;console.log("[beacon] starting the Beacon server\u2026");let{port:Q}=t();if(!await c(`http://localhost:${Q}/api/workspace`))console.log("[beacon] (server is taking a while \u2014 it may still be compiling)");return Q}function d(z){if(process.env.BEACON_NO_OPEN)return;let Q=w()==="darwin"?"open":w()==="win32"?"start":"xdg-open";try{v(`${Q} "${z}"`,{stdio:"ignore"})}catch{}}async function a(){let z=R()||P,{addWorkspace:Q,idForPath:q,dataDirFor:J,ensureWorkspaceDb:W}=await import(Y("lib/workspaces.ts")),B=q(z),G=J(B),L=!E(V(G,"db.sqlite"));if(L)console.log(`[beacon] first run for ${z} \u2014 creating database\u2026`);let M=await W(B);if(!M.ok)console.error(`[beacon] failed to provision database: ${M.error}`);if(L)console.log("[beacon] tip: already have code here? run `/beacon-init` in your agent (Claude Code or Codex) to map the project.");let{heal:Z}=await A(z,!0),U=[];if(Z.skillsAdded.length)U.push(`skills ${Z.skillsAdded.join(", ")}`);if(Z.hooksAdded)U.push(`${Z.hooksAdded} Claude Code hook${Z.hooksAdded===1?"":"s"}`);if(Z.claudeMdBlockTouched)U.push("global CLAUDE.md block");if(U.length)console.log(`[beacon] wired into ~/.claude/: ${U.join(" + ")}.`);let X=Z.codex;if(X){let N=[];if(X.skillsAdded.length)N.push(`skills ${X.skillsAdded.join(", ")}`);if(X.hooksAdded)N.push(`${X.hooksAdded} Codex hook${X.hooksAdded===1?"":"s"}`);if(X.agentsMdBlockTouched)N.push("global AGENTS.md block");if(X.mcp.added)N.push("MCP entry in config.toml");if(N.length)console.log(`[beacon] wired into ~/.codex/: ${N.join(" + ")}.`);if(X.mcp.error)console.log(`[beacon] codex MCP not wired: ${X.mcp.error}`)}Q(z);let K=await p(),T=`http://localhost:${K}/api/workspace/activate?id=${B}&redirect=/map`;console.log(`
|
|
6
6
|
\u25C9 Beacon
|
|
7
7
|
repo: ${z}
|
|
8
|
-
data: ${
|
|
9
|
-
url: http://localhost:${
|
|
10
|
-
`),console.log(" (the server keeps running in the background \u2014 `beacon stop` to stop it)\n"),
|
|
8
|
+
data: ${G}
|
|
9
|
+
url: http://localhost:${K}
|
|
10
|
+
`),console.log(" (the server keeps running in the background \u2014 `beacon stop` to stop it)\n"),d(T)}function s(){let z=x(y);if(z&&b(z.pid))try{process.kill(z.pid),console.log(`[beacon] stopped the server (pid ${z.pid}).`)}catch{console.log("[beacon] could not stop the server.")}else console.log("[beacon] no server running.")}
|