trybeacon 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +8 -7
- 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 +8 -7
- package/.next/server/chunks/1130.js +1 -1
- package/.next/server/chunks/1263.js +1 -0
- package/.next/server/chunks/{3968.js → 2574.js} +2 -2
- package/.next/server/chunks/2933.js +1 -1
- 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/chunks/1202-dfeac8ec49693586.js +1 -0
- package/.next/static/chunks/6666-31528aed4743588c.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-5020db02dba43678.js} +1 -1
- package/.next/static/chunks/app/page-2c4582b256e877c0.js +1 -0
- package/.next/static/chunks/app/plan/{page-51bc3f04374541b9.js → page-cd3785902dd95dce.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/static/{ct96P0zTV3e7YqJ2NLI_X → fnj-duECSYw_AlTFP7r7a}/_buildManifest.js +1 -1
- 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 +57 -41
- package/dist/bin/plan.js +52 -36
- 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/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 → fnj-duECSYw_AlTFP7r7a}/_ssgManifest.js +0 -0
package/dist/lib/assets.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
var w=Object.defineProperty;var
|
|
2
|
+
var w=Object.defineProperty;var u=(q)=>q;function E(q,J){this[q]=u.bind(null,J)}var A=(q,J)=>{for(var z in J)w(q,z,{get:J[z],enumerable:!0,configurable:!0,set:E.bind(J,z)})};var I=(q,J)=>()=>(q&&(J=q(q=0)),J);var F={};A(F,{removeRepoAssets:()=>h,installRefreshSkill:()=>W,installPlanSkill:()=>O,installInitSkill:()=>f,installCodexRepoSkills:()=>j,ensureWorkflowDoc:()=>_,ensureMcp:()=>g,auditRepo:()=>L,REFRESH_SKILL:()=>k,PLAN_SKILL:()=>b,INIT_SKILL:()=>v});import{existsSync as H,mkdirSync as D,readFileSync as X,rmSync as B,writeFileSync as G}from"fs";import{join as Q}from"path";function f(q){let J=Q(q,".claude","skills","beacon-init");D(J,{recursive:!0});let z=Q(J,"SKILL.md");return G(z,v),z}function W(q){let J=Q(q,".claude","skills","beacon-refresh");D(J,{recursive:!0});let z=Q(J,"SKILL.md");return G(z,k),z}function O(q){let J=Q(q,".claude","skills","beacon-plan");D(J,{recursive:!0});let z=Q(J,"SKILL.md");return G(z,b),z}function j(q){let J=[];for(let z of K){let Y=Q(q,".agents","skills",z.name);D(Y,{recursive:!0});let $=Q(Y,"SKILL.md");G($,z.body()),J.push($)}return J}function _(q){let J=Q(q,"AGENTS.md"),z="";try{z=X(J,"utf8")}catch{}let Y=new RegExp(`${U}[\\s\\S]*?${M}`);z=Y.test(z)?z.replace(Y,T):`${z.trim()}
|
|
3
3
|
|
|
4
|
-
${
|
|
5
|
-
`.trimStart()
|
|
6
|
-
`)?
|
|
7
|
-
`);let
|
|
4
|
+
${T}
|
|
5
|
+
`.trimStart(),G(J,z.endsWith(`
|
|
6
|
+
`)?z:`${z}
|
|
7
|
+
`);let $=Q(q,"CLAUDE.md"),C="";try{C=X($,"utf8")}catch{}if(!/@AGENTS\.md/.test(C))G($,`${C?`${C.trim()}
|
|
8
8
|
|
|
9
9
|
`:""}@AGENTS.md
|
|
10
|
-
`)}function
|
|
11
|
-
`),{path:J,added:!0}}function L(
|
|
12
|
-
`)}}catch{}let
|
|
10
|
+
`)}function g(q){let J=Q(q,".mcp.json"),z={};try{z=JSON.parse(X(J,"utf8"))}catch{}if(z.mcpServers=z.mcpServers??{},z.mcpServers.beacon)return{path:J,added:!1};return z.mcpServers.beacon={command:"beacon",args:["mcp"]},G(J,JSON.stringify(z,null,2)+`
|
|
11
|
+
`),{path:J,added:!0}}function L(q){let J=Q(q,".mcp.json"),z=!1;try{z=!!JSON.parse(X(J,"utf8")).mcpServers?.beacon}catch{}let Y=!1;try{Y=X(Q(q,"AGENTS.md"),"utf8").includes(U)}catch{}let $=!1;try{$=/@AGENTS\.md/.test(X(Q(q,"CLAUDE.md"),"utf8"))}catch{}return{repo:q,mcpRegistered:z,agentsMdBlock:Y,claudeMdImport:$,skills:{"beacon-init":H(Q(q,".claude","skills","beacon-init","SKILL.md")),"beacon-refresh":H(Q(q,".claude","skills","beacon-refresh","SKILL.md"))},codexSkills:{"beacon-init":H(Q(q,".agents","skills","beacon-init","SKILL.md")),"beacon-refresh":H(Q(q,".agents","skills","beacon-refresh","SKILL.md"))}}}function h(q){let J=[];for(let V of["beacon-init","beacon-refresh","beacon-db-design"]){let Z=Q(q,".claude","skills",V);if(H(Z))B(Z,{recursive:!0,force:!0}),J.push(V)}for(let V of["beacon-init","beacon-refresh"]){let Z=Q(q,".agents","skills",V);if(H(Z))B(Z,{recursive:!0,force:!0}),J.push(`codex:${V}`)}let z=!1,Y=Q(q,".mcp.json");try{let V=JSON.parse(X(Y,"utf8"));if(V.mcpServers?.beacon){if(delete V.mcpServers.beacon,z=!0,V.mcpServers&&Object.keys(V.mcpServers).length===0)delete V.mcpServers;if(Object.keys(V).length===0)B(Y,{force:!0});else G(Y,JSON.stringify(V,null,2)+`
|
|
12
|
+
`)}}catch{}let $=!1,C=Q(q,"AGENTS.md");try{let V=X(C,"utf8"),Z=new RegExp(`\\n?${U}[\\s\\S]*?${M}\\n?`);if(Z.test(V)){let N=V.replace(Z,`
|
|
13
13
|
`).replace(/\n{3,}/g,`
|
|
14
14
|
|
|
15
|
-
`).trimStart()
|
|
16
|
-
`)?
|
|
17
|
-
`)
|
|
15
|
+
`).trimStart();G(C,N.endsWith(`
|
|
16
|
+
`)?N:`${N}
|
|
17
|
+
`),$=!0}}catch{}let P=!1,x=Q(q,"CLAUDE.md");try{let V=X(x,"utf8"),Z=V.replace(/^[ \t]*@AGENTS\.md[ \t]*\n?/m,"");if(Z!==V){if(!Z.trim())B(x,{force:!0});else G(x,Z);P=!0}}catch{}return{skillsRemoved:J,mcpUnregistered:z,agentsBlockRemoved:$,claudeImportRemoved:P}}var v=`---
|
|
18
18
|
name: beacon-init
|
|
19
19
|
description: Read this repository and map its architecture, schema, and roadmap into Beacon (the local visual planning panel). Use when the user runs /beacon-init, asks to "set up Beacon for this repo", or asks to initialize/bootstrap Beacon's map of this codebase.
|
|
20
20
|
---
|
|
@@ -27,7 +27,7 @@ The user already has Beacon running. You're going to map this repository's archi
|
|
|
27
27
|
|
|
28
28
|
A single \`beacon_init_persist\` MCP tool call with:
|
|
29
29
|
|
|
30
|
-
- **components**: 8\u201325 main building blocks of this codebase. NOT every file. Group them by \`domain\` (short UPPERCASE: AUTH, API, DATA, UI, JOBS, INFRA, BILLING, SEARCH, \u2026). For each: a one-line technical \`role\`, a one-sentence plain-language \`plain\`, the few \`files\` that implement it (repo-relative), and \`depends\` listing other component titles it relies on. Use the dependency graph you can see in the source \u2014 files that import each other heavily usually belong together.
|
|
30
|
+
- **components**: 8\u201325 main building blocks of this codebase. NOT every file. Group them by \`domain\` (short UPPERCASE: AUTH, API, DATA, UI, JOBS, INFRA, BILLING, SEARCH, \u2026). For each: a one-line technical \`role\`, a one-sentence plain-language \`plain\`, the few \`files\` that implement it (repo-relative), and \`depends\` listing other component titles it relies on. Use the dependency graph you can see in the source \u2014 files that import each other heavily usually belong together. If you spot a bug or something worth investigating while reading a component's code, add \`bugs: [{ note }]\` to that component \u2014 it renders as a bug flag on the node (attributed to the agent). Only flag what you actually saw in the code; don't speculate.
|
|
31
31
|
- **roadmap**: 3\u20136 BROAD strategic directions. Big-picture themes only \u2014 "Harden auth & security", "Add observability", "Scale the data layer", "Pay down test-coverage debt". NOT detailed tasks. NOT file-level. Each gets a short title and one-line \`why\`.
|
|
32
32
|
- **overview**: one paragraph describing what this project is and its stack. This lands in AGENTS.md as the project intro.
|
|
33
33
|
- **conventions**: 3\u20138 concrete rules a contributor MUST follow \u2014 build/test commands, where code goes, patterns, things easy to get wrong. Infer from actual files, not assumptions.
|
|
@@ -51,7 +51,7 @@ A single \`beacon_init_persist\` MCP tool call with:
|
|
|
51
51
|
If \`beacon_init_persist\` isn't available, the Beacon panel isn't running in this repo. Tell the user to run \`beacon\` here first, then re-invoke /beacon-init.
|
|
52
52
|
|
|
53
53
|
After the tool returns, tell the user the counts (components / roadmap / tables / endpoints) and point them at the running Beacon panel.
|
|
54
|
-
`,
|
|
54
|
+
`,k=`---
|
|
55
55
|
name: beacon-refresh
|
|
56
56
|
description: Re-survey the repo and update Beacon's architecture / schema / endpoints map after /beacon-init was already run \u2014 picks up new components, removed ones, schema changes, and new routes. Use when the user runs /beacon-refresh or asks to "refresh", "update", "re-sync", or "bring Beacon up to date" with the current code.
|
|
57
57
|
---
|
|
@@ -86,7 +86,7 @@ The one caveat: if the user manually edited an INIT-source node on the canvas (e
|
|
|
86
86
|
- **~ changed**: COMPONENT_X (role expanded to cover Y)
|
|
87
87
|
- **schema**: + 2 new tables (TableA, TableB); + 3 new endpoints; \u2212 1 deprecated endpoint
|
|
88
88
|
No need to wait for confirmation \u2014 just show the diff so the user sees what's about to land.
|
|
89
|
-
5. **Call \`beacon_init_persist\`** ONCE with the refreshed full analysis (same shape as init: \`components\`, \`roadmap\`, \`overview\`, \`conventions\`, \`snapshot\`). It replaces all init-source nodes and regenerates \`AGENTS.md\`.
|
|
89
|
+
5. **Call \`beacon_init_persist\`** ONCE with the refreshed full analysis (same shape as init: \`components\`, \`roadmap\`, \`overview\`, \`conventions\`, \`snapshot\`). It replaces all init-source nodes and regenerates \`AGENTS.md\`. Bug flags already on a component survive the refresh (they're carried over by title); add \`bugs: [{ note }]\` for anything NEW you found worth investigating \u2014 identical open flags are not duplicated.
|
|
90
90
|
|
|
91
91
|
## What you should NOT do
|
|
92
92
|
|
|
@@ -98,7 +98,7 @@ The one caveat: if the user manually edited an INIT-source node on the canvas (e
|
|
|
98
98
|
If \`beacon_entities\` or \`beacon_init_persist\` isn't available, the Beacon panel isn't running in this repo. Tell the user to run \`beacon\` here first, then re-invoke /beacon-refresh.
|
|
99
99
|
|
|
100
100
|
After the tool returns, report the final counts plus a one-line summary of the diff you surfaced.
|
|
101
|
-
`,
|
|
101
|
+
`,b=`---
|
|
102
102
|
name: beacon-plan
|
|
103
103
|
description: Present your current plan or approach to the user on Beacon's /plan canvas for review \u2014 instead of asking for approval in prose. Use when the user says "present the plan", "show me the plan", "let me see it / the plan", or whenever you are about to end a turn asking whether to proceed with a plan, design, or approach.
|
|
104
104
|
---
|
|
@@ -137,9 +137,10 @@ If it returns feedback, revise and call it again.
|
|
|
137
137
|
- **Anything else** (a code-change plan, a mixed plan, a "how should I approach X") \u2192 use
|
|
138
138
|
\`beacon_present_plan\` with markdown so the full reasoning shows on /plan.
|
|
139
139
|
|
|
140
|
-
If \`beacon_present_plan\` isn't available, the panel isn't wired here \u2014 fall back to
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
If \`beacon_present_plan\` isn't available, the panel isn't wired here \u2014 fall back to ExitPlanMode
|
|
141
|
+
with the same \`\`\`beacon block (Claude Code only; Codex has no ExitPlanMode), or tell the user to
|
|
142
|
+
run \`beacon\` in this repo once.
|
|
143
|
+
`,K,U="<!-- beacon:workflow:start -->",M="<!-- beacon:workflow:end -->",T;var R=I(()=>{K=[{name:"beacon-init",body:()=>v},{name:"beacon-refresh",body:()=>k}];T=`${U}
|
|
143
144
|
## Beacon \u2014 feature workflow
|
|
144
145
|
|
|
145
146
|
This project uses Beacon (a local planning/visualization panel; run \`beacon\` to open it). When you start work on a FEATURE \u2014 whether referenced via an \`@beacon:feature://\u2026\` mention, an \`@beacon:note://\u2026\` note the user wrote in the Notes panel (treat its checkbox \`- [ ]\` todos as subtasks and order features by their dependencies), or just described in chat \u2014 follow these steps in order:
|
|
@@ -170,6 +171,8 @@ When listing features, give each \`dependsOn: ["Other feature title", \u2026]\`
|
|
|
170
171
|
|
|
171
172
|
### 2b. Presenting a plan in plan mode (ExitPlanMode)
|
|
172
173
|
|
|
174
|
+
In Codex (which has no ExitPlanMode), always present plans via \`beacon_present_plan\` / \`beacon_propose_plan\` instead \u2014 this section applies to Claude Code's plan mode only.
|
|
175
|
+
|
|
173
176
|
When you present a plan via ExitPlanMode (not \`beacon_propose_plan\`) and it proposes DB tables/relations/endpoints or roadmap features, embed ONE fenced \`\`\`beacon code block of JSON in the plan \u2014 the same shapes \`beacon_propose_plan\` accepts:
|
|
174
177
|
|
|
175
178
|
\`\`\`beacon
|
|
@@ -182,7 +185,7 @@ Beacon extracts it deterministically and **strips the block from the prose** (it
|
|
|
182
185
|
|
|
183
186
|
### 3. At the end, register the work \u2014 in ONE call
|
|
184
187
|
|
|
185
|
-
Call \`beacon_describe_feature\` **ONCE** with a \`features\` array \u2014 one entry per feature the plan created \u2014 each with the files you touched and a short markdown description. This flips each one to **Done** and keeps \`beacon_context_for_feature\` accurate for the next session.
|
|
188
|
+
Call \`beacon_describe_feature\` **ONCE** with a \`features\` array \u2014 one entry per feature the plan created \u2014 each with the files you touched and a short markdown description. This flips each one to **Done** \u2014 including its sub-tasks (the cascade completes every PENDING/IN_PROGRESS child; a sub-task you did NOT finish must be set BLOCKED or CANCELLED before registering, so it survives visibly) \u2014 and keeps \`beacon_context_for_feature\` accurate for the next session.
|
|
186
189
|
|
|
187
190
|
Key each entry by its node \`id\`: the ids are handed back to you when the plan is approved (in the approval message / additionalContext), so you don't fuzzy-match titles or pay a disambiguation round-trip. If you don't have an id, \`title\` still works.
|
|
188
191
|
|
|
@@ -191,4 +194,4 @@ Register them all in that single batched call. If a plan added five features, th
|
|
|
191
194
|
If the feature added or materially changed a REAL architectural component (a subsystem \u2014 NOT a file), also pass \`architecture: [{ title, domain, role, \u2026 }]\` so the Architecture map stays accurate. It upserts curated components by title; never list files as components.
|
|
192
195
|
|
|
193
196
|
Pull raw planning data anytime with \`beacon_entities\` (features / architecture / tables / endpoints).
|
|
194
|
-
${
|
|
197
|
+
${M}`});R();export{h as removeRepoAssets,W as installRefreshSkill,O as installPlanSkill,f as installInitSkill,j as installCodexRepoSkills,_ as ensureWorkflowDoc,g as ensureMcp,L as auditRepo,k as REFRESH_SKILL,b as PLAN_SKILL,v as INIT_SKILL};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
var
|
|
2
|
+
var Tq=Object.defineProperty;var Rq=(q)=>q;function Iq(q,z){this[q]=Rq.bind(null,z)}var Pq=(q,z)=>{for(var J in z)Tq(q,J,{get:z[J],enumerable:!0,configurable:!0,set:Iq.bind(z,J)})};var g=(q,z)=>()=>(q&&(z=q(q=0)),z);var d={};Pq(d,{removeRepoAssets:()=>_q,installRefreshSkill:()=>Aq,installPlanSkill:()=>yq,installInitSkill:()=>Eq,installCodexRepoSkills:()=>Dq,ensureWorkflowDoc:()=>hq,ensureMcp:()=>kq,auditRepo:()=>Lq,REFRESH_SKILL:()=>t,PLAN_SKILL:()=>Uq,INIT_SKILL:()=>a});import{existsSync as H,mkdirSync as K,readFileSync as X,rmSync as b,writeFileSync as x}from"fs";import{join as $}from"path";function Eq(q){let z=$(q,".claude","skills","beacon-init");K(z,{recursive:!0});let J=$(z,"SKILL.md");return x(J,a),J}function Aq(q){let z=$(q,".claude","skills","beacon-refresh");K(z,{recursive:!0});let J=$(z,"SKILL.md");return x(J,t),J}function yq(q){let z=$(q,".claude","skills","beacon-plan");K(z,{recursive:!0});let J=$(z,"SKILL.md");return x(J,Uq),J}function Dq(q){let z=[];for(let J of Oq){let Q=$(q,".agents","skills",J.name);K(Q,{recursive:!0});let V=$(Q,"SKILL.md");x(V,J.body()),z.push(V)}return z}function hq(q){let z=$(q,"AGENTS.md"),J="";try{J=X(z,"utf8")}catch{}let Q=new RegExp(`${f}[\\s\\S]*?${c}`);J=Q.test(J)?J.replace(Q,Wq):`${J.trim()}
|
|
3
3
|
|
|
4
|
-
${
|
|
5
|
-
`.trimStart(),
|
|
6
|
-
`)?
|
|
7
|
-
`);let V
|
|
4
|
+
${Wq}
|
|
5
|
+
`.trimStart(),x(z,J.endsWith(`
|
|
6
|
+
`)?J:`${J}
|
|
7
|
+
`);let V=$(q,"CLAUDE.md"),Y="";try{Y=X(V,"utf8")}catch{}if(!/@AGENTS\.md/.test(Y))x(V,`${Y?`${Y.trim()}
|
|
8
8
|
|
|
9
9
|
`:""}@AGENTS.md
|
|
10
|
-
`)}function
|
|
11
|
-
`),{path:
|
|
12
|
-
`)}}catch{}let V=!1,
|
|
10
|
+
`)}function kq(q){let z=$(q,".mcp.json"),J={};try{J=JSON.parse(X(z,"utf8"))}catch{}if(J.mcpServers=J.mcpServers??{},J.mcpServers.beacon)return{path:z,added:!1};return J.mcpServers.beacon={command:"beacon",args:["mcp"]},x(z,JSON.stringify(J,null,2)+`
|
|
11
|
+
`),{path:z,added:!0}}function Lq(q){let z=$(q,".mcp.json"),J=!1;try{J=!!JSON.parse(X(z,"utf8")).mcpServers?.beacon}catch{}let Q=!1;try{Q=X($(q,"AGENTS.md"),"utf8").includes(f)}catch{}let V=!1;try{V=/@AGENTS\.md/.test(X($(q,"CLAUDE.md"),"utf8"))}catch{}return{repo:q,mcpRegistered:J,agentsMdBlock:Q,claudeMdImport:V,skills:{"beacon-init":H($(q,".claude","skills","beacon-init","SKILL.md")),"beacon-refresh":H($(q,".claude","skills","beacon-refresh","SKILL.md"))},codexSkills:{"beacon-init":H($(q,".agents","skills","beacon-init","SKILL.md")),"beacon-refresh":H($(q,".agents","skills","beacon-refresh","SKILL.md"))}}}function _q(q){let z=[];for(let Z of["beacon-init","beacon-refresh","beacon-db-design"]){let U=$(q,".claude","skills",Z);if(H(U))b(U,{recursive:!0,force:!0}),z.push(Z)}for(let Z of["beacon-init","beacon-refresh"]){let U=$(q,".agents","skills",Z);if(H(U))b(U,{recursive:!0,force:!0}),z.push(`codex:${Z}`)}let J=!1,Q=$(q,".mcp.json");try{let Z=JSON.parse(X(Q,"utf8"));if(Z.mcpServers?.beacon){if(delete Z.mcpServers.beacon,J=!0,Z.mcpServers&&Object.keys(Z.mcpServers).length===0)delete Z.mcpServers;if(Object.keys(Z).length===0)b(Q,{force:!0});else x(Q,JSON.stringify(Z,null,2)+`
|
|
12
|
+
`)}}catch{}let V=!1,Y=$(q,"AGENTS.md");try{let Z=X(Y,"utf8"),U=new RegExp(`\\n?${f}[\\s\\S]*?${c}\\n?`);if(U.test(Z)){let S=Z.replace(U,`
|
|
13
13
|
`).replace(/\n{3,}/g,`
|
|
14
14
|
|
|
15
|
-
`).trimStart();
|
|
16
|
-
`)?
|
|
17
|
-
`),V=!0}}catch{}let
|
|
15
|
+
`).trimStart();x(Y,S.endsWith(`
|
|
16
|
+
`)?S:`${S}
|
|
17
|
+
`),V=!0}}catch{}let P=!1,W=$(q,"CLAUDE.md");try{let Z=X(W,"utf8"),U=Z.replace(/^[ \t]*@AGENTS\.md[ \t]*\n?/m,"");if(U!==Z){if(!U.trim())b(W,{force:!0});else x(W,U);P=!0}}catch{}return{skillsRemoved:z,mcpUnregistered:J,agentsBlockRemoved:V,claudeImportRemoved:P}}var a=`---
|
|
18
18
|
name: beacon-init
|
|
19
19
|
description: Read this repository and map its architecture, schema, and roadmap into Beacon (the local visual planning panel). Use when the user runs /beacon-init, asks to "set up Beacon for this repo", or asks to initialize/bootstrap Beacon's map of this codebase.
|
|
20
20
|
---
|
|
@@ -27,7 +27,7 @@ The user already has Beacon running. You're going to map this repository's archi
|
|
|
27
27
|
|
|
28
28
|
A single \`beacon_init_persist\` MCP tool call with:
|
|
29
29
|
|
|
30
|
-
- **components**: 8\u201325 main building blocks of this codebase. NOT every file. Group them by \`domain\` (short UPPERCASE: AUTH, API, DATA, UI, JOBS, INFRA, BILLING, SEARCH, \u2026). For each: a one-line technical \`role\`, a one-sentence plain-language \`plain\`, the few \`files\` that implement it (repo-relative), and \`depends\` listing other component titles it relies on. Use the dependency graph you can see in the source \u2014 files that import each other heavily usually belong together.
|
|
30
|
+
- **components**: 8\u201325 main building blocks of this codebase. NOT every file. Group them by \`domain\` (short UPPERCASE: AUTH, API, DATA, UI, JOBS, INFRA, BILLING, SEARCH, \u2026). For each: a one-line technical \`role\`, a one-sentence plain-language \`plain\`, the few \`files\` that implement it (repo-relative), and \`depends\` listing other component titles it relies on. Use the dependency graph you can see in the source \u2014 files that import each other heavily usually belong together. If you spot a bug or something worth investigating while reading a component's code, add \`bugs: [{ note }]\` to that component \u2014 it renders as a bug flag on the node (attributed to the agent). Only flag what you actually saw in the code; don't speculate.
|
|
31
31
|
- **roadmap**: 3\u20136 BROAD strategic directions. Big-picture themes only \u2014 "Harden auth & security", "Add observability", "Scale the data layer", "Pay down test-coverage debt". NOT detailed tasks. NOT file-level. Each gets a short title and one-line \`why\`.
|
|
32
32
|
- **overview**: one paragraph describing what this project is and its stack. This lands in AGENTS.md as the project intro.
|
|
33
33
|
- **conventions**: 3\u20138 concrete rules a contributor MUST follow \u2014 build/test commands, where code goes, patterns, things easy to get wrong. Infer from actual files, not assumptions.
|
|
@@ -51,7 +51,7 @@ A single \`beacon_init_persist\` MCP tool call with:
|
|
|
51
51
|
If \`beacon_init_persist\` isn't available, the Beacon panel isn't running in this repo. Tell the user to run \`beacon\` here first, then re-invoke /beacon-init.
|
|
52
52
|
|
|
53
53
|
After the tool returns, tell the user the counts (components / roadmap / tables / endpoints) and point them at the running Beacon panel.
|
|
54
|
-
`,
|
|
54
|
+
`,t=`---
|
|
55
55
|
name: beacon-refresh
|
|
56
56
|
description: Re-survey the repo and update Beacon's architecture / schema / endpoints map after /beacon-init was already run \u2014 picks up new components, removed ones, schema changes, and new routes. Use when the user runs /beacon-refresh or asks to "refresh", "update", "re-sync", or "bring Beacon up to date" with the current code.
|
|
57
57
|
---
|
|
@@ -86,7 +86,7 @@ The one caveat: if the user manually edited an INIT-source node on the canvas (e
|
|
|
86
86
|
- **~ changed**: COMPONENT_X (role expanded to cover Y)
|
|
87
87
|
- **schema**: + 2 new tables (TableA, TableB); + 3 new endpoints; \u2212 1 deprecated endpoint
|
|
88
88
|
No need to wait for confirmation \u2014 just show the diff so the user sees what's about to land.
|
|
89
|
-
5. **Call \`beacon_init_persist\`** ONCE with the refreshed full analysis (same shape as init: \`components\`, \`roadmap\`, \`overview\`, \`conventions\`, \`snapshot\`). It replaces all init-source nodes and regenerates \`AGENTS.md\`.
|
|
89
|
+
5. **Call \`beacon_init_persist\`** ONCE with the refreshed full analysis (same shape as init: \`components\`, \`roadmap\`, \`overview\`, \`conventions\`, \`snapshot\`). It replaces all init-source nodes and regenerates \`AGENTS.md\`. Bug flags already on a component survive the refresh (they're carried over by title); add \`bugs: [{ note }]\` for anything NEW you found worth investigating \u2014 identical open flags are not duplicated.
|
|
90
90
|
|
|
91
91
|
## What you should NOT do
|
|
92
92
|
|
|
@@ -98,7 +98,7 @@ The one caveat: if the user manually edited an INIT-source node on the canvas (e
|
|
|
98
98
|
If \`beacon_entities\` or \`beacon_init_persist\` isn't available, the Beacon panel isn't running in this repo. Tell the user to run \`beacon\` here first, then re-invoke /beacon-refresh.
|
|
99
99
|
|
|
100
100
|
After the tool returns, report the final counts plus a one-line summary of the diff you surfaced.
|
|
101
|
-
`,
|
|
101
|
+
`,Uq=`---
|
|
102
102
|
name: beacon-plan
|
|
103
103
|
description: Present your current plan or approach to the user on Beacon's /plan canvas for review \u2014 instead of asking for approval in prose. Use when the user says "present the plan", "show me the plan", "let me see it / the plan", or whenever you are about to end a turn asking whether to proceed with a plan, design, or approach.
|
|
104
104
|
---
|
|
@@ -137,9 +137,10 @@ If it returns feedback, revise and call it again.
|
|
|
137
137
|
- **Anything else** (a code-change plan, a mixed plan, a "how should I approach X") \u2192 use
|
|
138
138
|
\`beacon_present_plan\` with markdown so the full reasoning shows on /plan.
|
|
139
139
|
|
|
140
|
-
If \`beacon_present_plan\` isn't available, the panel isn't wired here \u2014 fall back to
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
If \`beacon_present_plan\` isn't available, the panel isn't wired here \u2014 fall back to ExitPlanMode
|
|
141
|
+
with the same \`\`\`beacon block (Claude Code only; Codex has no ExitPlanMode), or tell the user to
|
|
142
|
+
run \`beacon\` in this repo once.
|
|
143
|
+
`,Oq,f="<!-- beacon:workflow:start -->",c="<!-- beacon:workflow:end -->",Wq;var n=g(()=>{Oq=[{name:"beacon-init",body:()=>a},{name:"beacon-refresh",body:()=>t}];Wq=`${f}
|
|
143
144
|
## Beacon \u2014 feature workflow
|
|
144
145
|
|
|
145
146
|
This project uses Beacon (a local planning/visualization panel; run \`beacon\` to open it). When you start work on a FEATURE \u2014 whether referenced via an \`@beacon:feature://\u2026\` mention, an \`@beacon:note://\u2026\` note the user wrote in the Notes panel (treat its checkbox \`- [ ]\` todos as subtasks and order features by their dependencies), or just described in chat \u2014 follow these steps in order:
|
|
@@ -170,6 +171,8 @@ When listing features, give each \`dependsOn: ["Other feature title", \u2026]\`
|
|
|
170
171
|
|
|
171
172
|
### 2b. Presenting a plan in plan mode (ExitPlanMode)
|
|
172
173
|
|
|
174
|
+
In Codex (which has no ExitPlanMode), always present plans via \`beacon_present_plan\` / \`beacon_propose_plan\` instead \u2014 this section applies to Claude Code's plan mode only.
|
|
175
|
+
|
|
173
176
|
When you present a plan via ExitPlanMode (not \`beacon_propose_plan\`) and it proposes DB tables/relations/endpoints or roadmap features, embed ONE fenced \`\`\`beacon code block of JSON in the plan \u2014 the same shapes \`beacon_propose_plan\` accepts:
|
|
174
177
|
|
|
175
178
|
\`\`\`beacon
|
|
@@ -182,7 +185,7 @@ Beacon extracts it deterministically and **strips the block from the prose** (it
|
|
|
182
185
|
|
|
183
186
|
### 3. At the end, register the work \u2014 in ONE call
|
|
184
187
|
|
|
185
|
-
Call \`beacon_describe_feature\` **ONCE** with a \`features\` array \u2014 one entry per feature the plan created \u2014 each with the files you touched and a short markdown description. This flips each one to **Done** and keeps \`beacon_context_for_feature\` accurate for the next session.
|
|
188
|
+
Call \`beacon_describe_feature\` **ONCE** with a \`features\` array \u2014 one entry per feature the plan created \u2014 each with the files you touched and a short markdown description. This flips each one to **Done** \u2014 including its sub-tasks (the cascade completes every PENDING/IN_PROGRESS child; a sub-task you did NOT finish must be set BLOCKED or CANCELLED before registering, so it survives visibly) \u2014 and keeps \`beacon_context_for_feature\` accurate for the next session.
|
|
186
189
|
|
|
187
190
|
Key each entry by its node \`id\`: the ids are handed back to you when the plan is approved (in the approval message / additionalContext), so you don't fuzzy-match titles or pay a disambiguation round-trip. If you don't have an id, \`title\` still works.
|
|
188
191
|
|
|
@@ -191,7 +194,31 @@ Register them all in that single batched call. If a plan added five features, th
|
|
|
191
194
|
If the feature added or materially changed a REAL architectural component (a subsystem \u2014 NOT a file), also pass \`architecture: [{ title, domain, role, \u2026 }]\` so the Architecture map stays accurate. It upserts curated components by title; never list files as components.
|
|
192
195
|
|
|
193
196
|
Pull raw planning data anytime with \`beacon_entities\` (features / architecture / tables / endpoints).
|
|
194
|
-
${
|
|
197
|
+
${c}`});import{existsSync as xq,mkdirSync as r,readFileSync as M,rmSync as mq,writeFileSync as F}from"fs";import{dirname as Xq,join as C}from"path";function s(q){try{return JSON.parse(M(q,"utf8"))}catch{return{}}}function wq(q,z){r(Xq(q),{recursive:!0}),F(q,JSON.stringify(z,null,2)+`
|
|
198
|
+
`)}function T(q,z){let J=s(q);J.hooks=J.hooks??{},J.hooks[z.event]=J.hooks[z.event]??[];let Q=J.hooks[z.event];if(Q.some((Y)=>Y.matcher===z.matcher&&Y.hooks?.some((P)=>P.command===z.command)))return!1;return Q.push({matcher:z.matcher,hooks:[{type:"command",command:z.command}]}),wq(q,J),!0}function R(q,z){return(s(q).hooks?.[z.event]??[]).some((V)=>V.hooks?.some((Y)=>Y.command===z.command))}function I(q,z){let J=s(q),Q=J.hooks?.[z.event];if(!Q)return!1;let V=!1,Y=Q.map((P)=>{let W=P.hooks?.length??0,Z=(P.hooks??[]).filter((U)=>U.command!==z.command);if(Z.length!==W)V=!0;return{...P,hooks:Z}}).filter((P)=>(P.hooks??[]).length>0);if(!V)return!1;if(Y.length)J.hooks[z.event]=Y;else delete J.hooks[z.event];if(J.hooks&&Object.keys(J.hooks).length===0)delete J.hooks;return wq(q,J),!0}function E(q,z,J,Q){let V=`${z}
|
|
199
|
+
${Q.trim()}
|
|
200
|
+
${J}`,Y="";try{Y=M(q,"utf8")}catch{}let P=new RegExp(`${z}[\\s\\S]*?${J}`);Y=P.test(Y)?Y.replace(P,V):Y.trim()?`${Y.trim()}
|
|
201
|
+
|
|
202
|
+
${V}
|
|
203
|
+
`:`${V}
|
|
204
|
+
`,r(Xq(q),{recursive:!0}),F(q,Y.endsWith(`
|
|
205
|
+
`)?Y:`${Y}
|
|
206
|
+
`)}function j(q,z){try{return M(q,"utf8").includes(z)}catch{return!1}}function A(q,z,J){let Q="";try{Q=M(q,"utf8")}catch{return!1}let V=new RegExp(`${z}[\\s\\S]*?${J}\\n?`);if(!V.test(Q))return!1;let Y=Q.replace(V,"").replace(/\n{3,}/g,`
|
|
207
|
+
|
|
208
|
+
`).trimStart();return F(q,Y),!0}function y(q,z,J){let Q=C(q,z);r(Q,{recursive:!0});let V=C(Q,"SKILL.md");return F(V,J),V}function B(q,z){return xq(C(q,z,"SKILL.md"))}function O(q,z){let J=C(q,z);if(!xq(J))return!1;return mq(J,{recursive:!0,force:!0}),!0}var l=()=>{};import{mkdirSync as pq,renameSync as Sq,rmSync as aq,writeFileSync as tq}from"fs";import{dirname as cq}from"path";function i(q,z){pq(cq(q),{recursive:!0});let J=`${q}.tmp`;try{tq(J,z),Sq(J,q)}catch(Q){throw aq(J,{force:!0}),Q}}var Hq=()=>{};var bq={};Pq(bq,{setupCodexAssets:()=>sq,removeCodexMcp:()=>Gq,removeCodexArtifacts:()=>iq,hasCodexMcp:()=>zq,ensureCodexMcp:()=>Nq,codexMcpProblem:()=>rq,codexDetected:()=>jq,auditCodex:()=>lq,CODEX_HOOKS:()=>_});import{readFileSync as L}from"fs";import{homedir as dq}from"os";import{join as G}from"path";function vq(){return process.env.HOME||process.env.USERPROFILE||dq()}function jq(){if(process.env.BEACON_CODEX==="1")return!0;if(process.env.BEACON_CODEX==="0")return!1;if(o===void 0)o=Bun.which("codex")!==null;return o}function N(q){try{return Bun.TOML.parse(q)}catch{return null}}function zq(){try{return Boolean(N(L(v(),"utf8"))?.mcp_servers?.beacon)}catch{return!1}}function rq(){let q="";try{q=L(v(),"utf8")}catch{return null}let z=N(q);if(!z)return`~/.codex/config.toml does not parse \u2014 ${u}`;if(z.mcp_servers?.beacon)return null;if(/^\s*mcp_servers\s*=/m.test(q))return`mcp_servers is an inline table \u2014 ${u}`;return null}function Nq(){let q="",z=!1;try{q=L(v(),"utf8"),z=!0}catch{}if(z){let Y=N(q);if(!Y)return{added:!1,error:`~/.codex/config.toml does not parse \u2014 ${u}`};if(Y.mcp_servers?.beacon)return{added:!1};if(/^\s*mcp_servers\s*=/m.test(q))return{added:!1,error:`mcp_servers is an inline table \u2014 ${u}`}}let J=!q?"":q.endsWith(`
|
|
209
|
+
`)?`
|
|
210
|
+
`:`
|
|
211
|
+
|
|
212
|
+
`,Q=q+J+nq;if(N(Q)?.mcp_servers?.beacon?.command!=="beacon")return{added:!1,error:`could not safely append [mcp_servers.beacon] \u2014 ${u}`};return i(v(),Q),{added:!0}}function Gq(){let q="";try{q=L(v(),"utf8")}catch{return{removed:!1}}let z=q.split(`
|
|
213
|
+
`),J=z.indexOf(Bq);if(J===-1)return{removed:!1,skipped:zq()};let Q=z.indexOf(uq,J);if(Q===-1)return{removed:!1,skipped:!0};z.splice(J,Q-J+1);let V=z.join(`
|
|
214
|
+
`).replace(/\n{3,}/g,`
|
|
215
|
+
|
|
216
|
+
`).replace(/^\n+/,"");if(N(V)===null)return{removed:!1,skipped:!0};return i(v(),V),{removed:!0}}async function sq(){let{INIT_SKILL:q,REFRESH_SKILL:z,PLAN_SKILL:J}=await Promise.resolve().then(() => (n(),d)),Q={"beacon-init":q,"beacon-refresh":z,"beacon-plan":J},V=[];for(let Z of w){if(!B(h(),Z))V.push(Z);y(h(),Z,Q[Z])}let Y=0;for(let Z of _)if(T(qq(),{event:Z.event,matcher:Z.matcher,command:Z.command}))Y++;let P=j(D(),k);E(D(),k,gq,Jq);let W=Nq();return{skillsAdded:V,hooksAdded:Y,agentsMdBlockTouched:!P,mcp:W}}function lq(){let q={};for(let J of w)q[J]=B(h(),J);let z={};for(let J of _)z[J.event]=R(qq(),{event:J.event,command:J.command});return{detected:jq(),skills:q,hooks:z,agentsMdBlock:j(D(),k),mcp:zq()}}function iq(){let q=[];for(let V of w)if(O(h(),V))q.push(V);let z=0;for(let V of _)if(I(qq(),{event:V.event,command:V.command}))z++;let J=A(D(),k,gq),Q=Gq();return{skillsRemoved:q,hooksRemoved:z,agentsMdBlockRemoved:J,mcpRemoved:Q.removed,mcpSkipped:Q.skipped}}var e=()=>G(vq(),".codex"),qq=()=>G(e(),"hooks.json"),v=()=>G(e(),"config.toml"),D=()=>G(e(),"AGENTS.md"),h=()=>G(vq(),".agents","skills"),k="<!-- beacon:global:start -->",gq="<!-- beacon:global:end -->",_,o,Bq="# beacon:start (managed by Beacon \u2014 `beacon uninstall` removes this block)",uq="# beacon:end",nq,u="add it manually: codex mcp add beacon -- beacon mcp";var Kq=g(()=>{l();Hq();fq();_=[{event:"PostToolUse",matcher:"apply_patch",command:"beacon hook",description:"Report file edits to Beacon's active feature so the map stays fresh."},{event:"UserPromptSubmit",matcher:"*",command:"beacon prompt",description:"On feature-y prompts in a Beacon-wired repo, remind the agent to run the context\u2192propose\u2192describe loop (no-op otherwise)."},{event:"Stop",matcher:"*",command:"beacon stop-hook",description:"When the agent ends a turn asking for plan approval in prose, nudge it to present the plan on Beacon's /plan canvas."}];nq=`${Bq}
|
|
217
|
+
[mcp_servers.beacon]
|
|
218
|
+
command = "beacon"
|
|
219
|
+
args = ["mcp"]
|
|
220
|
+
${uq}
|
|
221
|
+
`});import{existsSync as oq}from"fs";import{homedir as eq}from"os";import{join as m}from"path";function qz(){return process.env.HOME||process.env.USERPROFILE||eq()}function zz(q,z){return y(Qq(),q,z)}function Mq(q){return B(Qq(),q)}function Jz(q){return O(Qq(),q)}function Qz(q){return T(Vq(),q)}function Vz(q){return R(Vq(),q)}function Yz(q){return I(Vq(),q)}function Zz(q){E(Yq(),Zq,Cq,q)}function Fq(){return j(Yq(),Zq)}function $z(){return A(Yq(),Zq,Cq)}function Tz(){let q={};for(let J of w)q[J]=Mq(J);let z={};for(let J of $q)z[J.event]=Vz({event:J.event,command:J.command});return{homeExists:oq(p()),skills:q,hooks:z,claudeMdBlock:Fq()}}async function Pz(){let{INIT_SKILL:q,REFRESH_SKILL:z,PLAN_SKILL:J}=await Promise.resolve().then(() => (n(),d)),Q={"beacon-init":q,"beacon-refresh":z,"beacon-plan":J},V=[];for(let W of w){if(!Mq(W))V.push(W);zz(W,Q[W])}let Y=0;for(let W of $q)if(Qz({event:W.event,matcher:W.matcher,command:W.command}))Y++;let P=Fq();return Zz(Jq),{skillsAdded:V,hooksAdded:Y,claudeMdBlockTouched:!P}}async function Rz(){let q;try{q={ok:!0,...await Pz()}}catch(z){q={ok:!1,error:z instanceof Error?z.message:String(z),skillsAdded:[],hooksAdded:0,claudeMdBlockTouched:!1}}try{let z=await Promise.resolve().then(() => (Kq(),bq));if(z.codexDetected())q.codex={ok:!0,...await z.setupCodexAssets()}}catch(z){q.codex={ok:!1,error:z instanceof Error?z.message:String(z),skillsAdded:[],hooksAdded:0,agentsMdBlockTouched:!1,mcp:{added:!1}}}return q}function Iz(){let q=[];for(let Q of w)if(Jz(Q))q.push(Q);let z=0;for(let Q of $q)if(Yz(Q))z++;let J=$z();return{skillsRemoved:q,hooksRemoved:z,claudeMdBlockRemoved:J}}var p=()=>m(qz(),".claude"),Qq=()=>m(p(),"skills"),Vq=()=>m(p(),"settings.json"),Yq=()=>m(p(),"CLAUDE.md"),Zq="<!-- beacon:global:start -->",Cq="<!-- beacon:global:end -->",w,$q,Jq=`## Beacon (visual planning panel)
|
|
195
222
|
|
|
196
223
|
This machine has Beacon installed \u2014 a local visual planning surface for the terminal-side
|
|
197
224
|
agent. Beacon proposes feature plans (roadmap features + DB schema + endpoints) via MCP,
|
|
@@ -212,15 +239,4 @@ the user reviews on a canvas at /plan, and feedback flows back as the next round
|
|
|
212
239
|
Feedback bundles inline annotations on the markdown PLUS any edits the user made directly
|
|
213
240
|
on the /map and /db boards (added features, attached subtasks, edited columns, new
|
|
214
241
|
endpoints). Treat board edits as the user's revision intent \u2014 re-propose matching them
|
|
215
|
-
verbatim. Do NOT implement until the tool returns approval.`;
|
|
216
|
-
`)}function Yq(q){let J=F();J.hooks=J.hooks??{},J.hooks[q.event]=J.hooks[q.event]??[];let z=J.hooks[q.event];if(z.some((V)=>V.matcher===q.matcher&&V.hooks?.some((X)=>X.command===q.command)))return!1;return z.push({matcher:q.matcher,hooks:[{type:"command",command:q.command}]}),m(J),!0}function Zq(q){return(F().hooks?.[q.event]??[]).some((Q)=>Q.hooks?.some((V)=>V.command===q.command))}function $q(q){let J=F(),z=J.hooks?.[q.event];if(!z)return!1;let Q=!1,V=z.map((X)=>{let v=X.hooks?.length??0,$=(X.hooks??[]).filter((Y)=>Y.command!==q.command);if($.length!==v)Q=!0;return{...X,hooks:$}}).filter((X)=>(X.hooks??[]).length>0);if(!Q)return!1;if(V.length)J.hooks[q.event]=V;else delete J.hooks[q.event];if(J.hooks&&Object.keys(J.hooks).length===0)delete J.hooks;return m(J),!0}function xq(q){let J=`${f}
|
|
217
|
-
${q.trim()}
|
|
218
|
-
${g}`,z="";try{z=G(W(),"utf8")}catch{}let Q=new RegExp(`${f}[\\s\\S]*?${g}`);z=Q.test(z)?z.replace(Q,J):z.trim()?`${z.trim()}
|
|
219
|
-
|
|
220
|
-
${J}
|
|
221
|
-
`:`${J}
|
|
222
|
-
`,O(w(),{recursive:!0}),T(W(),z.endsWith(`
|
|
223
|
-
`)?z:`${z}
|
|
224
|
-
`)}function S(){try{return G(W(),"utf8").includes(f)}catch{return!1}}function Hq(){let q="";try{q=G(W(),"utf8")}catch{return!1}let J=new RegExp(`${f}[\\s\\S]*?${g}\\n?`);if(!J.test(q))return!1;let z=q.replace(J,"").replace(/\n{3,}/g,`
|
|
225
|
-
|
|
226
|
-
`).trimStart();return T(W(),z),!0}function Gq(){let q={};for(let z of b)q[z]=L(z);let J={};for(let z of E)J[z.event]=Zq({event:z.event,command:z.command});return{homeExists:K(w()),skills:q,hooks:J,claudeMdBlock:S()}}async function Pq(){let{INIT_SKILL:q,REFRESH_SKILL:J,PLAN_SKILL:z}=await Promise.resolve().then(() => (y(),R)),Q={"beacon-init":q,"beacon-refresh":J,"beacon-plan":z},V=[];for(let $ of b){if(!L($))V.push($);Vq($,Q[$])}let X=0;for(let $ of E)if(Yq({event:$.event,matcher:$.matcher,command:$.command}))X++;let v=S();return xq(Qq),{skillsAdded:V,hooksAdded:X,claudeMdBlockTouched:!v}}async function Tq(){try{return{ok:!0,...await Pq()}}catch(q){return{ok:!1,error:q instanceof Error?q.message:String(q),skillsAdded:[],hooksAdded:0,claudeMdBlockTouched:!1}}}function Uq(){let q=[];for(let Q of b)if(Xq(Q))q.push(Q);let J=0;for(let Q of E)if($q(Q))J++;let z=Hq();return{skillsRemoved:q,hooksRemoved:J,claudeMdBlockRemoved:z}}export{Pq as setupGlobalAssets,Tq as selfHealGlobal,Xq as removeGlobalSkill,$q as removeGlobalHook,Hq as removeGlobalClaudeMdBlock,Uq as removeBeaconArtifacts,L as isGlobalSkillInstalled,Vq as installGlobalSkill,Zq as hasGlobalHook,S as hasGlobalClaudeMdBlock,Yq as ensureGlobalHook,xq as ensureGlobalClaudeMdBlock,Gq as auditGlobal,b as GLOBAL_SKILLS,E as GLOBAL_HOOKS,Qq as GLOBAL_CLAUDE_MD_BLOCK};
|
|
242
|
+
verbatim. Do NOT implement until the tool returns approval.`;var fq=g(()=>{l();w=["beacon-init","beacon-refresh","beacon-plan"],$q=[{event:"PostToolUse",matcher:"Edit|Write|MultiEdit",command:"beacon hook",description:"Report file edits to Beacon's active feature so the map stays fresh."},{event:"PermissionRequest",matcher:"ExitPlanMode",command:"beacon plan",description:"Pipe the agent's plan markdown into Beacon's /plan canvas for review."},{event:"UserPromptSubmit",matcher:"*",command:"beacon prompt",description:"On feature-y prompts in a Beacon-wired repo, remind the agent to run the context\u2192propose\u2192describe loop (no-op otherwise)."},{event:"Stop",matcher:"*",command:"beacon stop-hook",description:"When the agent ends a turn asking for plan approval in prose (instead of presenting it), nudge it to present the plan on Beacon's /plan canvas. Bounded by stop_hook_active \u2014 at most one nudge."}]});fq();export{Pz as setupGlobalAssets,Rz as selfHealGlobal,Jz as removeGlobalSkill,Yz as removeGlobalHook,$z as removeGlobalClaudeMdBlock,Iz as removeBeaconArtifacts,Mq as isGlobalSkillInstalled,zz as installGlobalSkill,Vz as hasGlobalHook,Fq as hasGlobalClaudeMdBlock,Qz as ensureGlobalHook,Zz as ensureGlobalClaudeMdBlock,Tz as auditGlobal,w as GLOBAL_SKILLS,$q as GLOBAL_HOOKS,Jq as GLOBAL_CLAUDE_MD_BLOCK};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
CREATE TABLE `BugFlag` (
|
|
2
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
+
`nodeId` text NOT NULL,
|
|
4
|
+
`by` text NOT NULL,
|
|
5
|
+
`note` text NOT NULL,
|
|
6
|
+
`resolvedAt` integer,
|
|
7
|
+
`createdAt` integer NOT NULL,
|
|
8
|
+
FOREIGN KEY (`nodeId`) REFERENCES `Node`(`id`) ON UPDATE cascade ON DELETE cascade
|
|
9
|
+
);
|
|
10
|
+
--> statement-breakpoint
|
|
11
|
+
CREATE INDEX `BugFlag_nodeId_idx` ON `BugFlag` (`nodeId`);--> statement-breakpoint
|
|
12
|
+
ALTER TABLE `Node` ADD `kind` text DEFAULT 'FEATURE' NOT NULL;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE `Node` DROP COLUMN `embedding`;
|