trybeacon 0.1.62 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +19 -0
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +11 -11
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- 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_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/share/create/route.js +1 -1
- package/.next/server/app/api/share/route.js +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +3 -3
- package/.next/server/app/docs.segments/_full.segment.rsc +3 -3
- 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 +3 -3
- package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/help.html +1 -1
- package/.next/server/app/help.rsc +2 -2
- package/.next/server/app/help.segments/_full.segment.rsc +2 -2
- 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/index.html +1 -1
- package/.next/server/app/index.rsc +4 -4
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- 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 +3 -3
- package/.next/server/app/map/page.js +1 -1
- package/.next/server/app/map/page.js.nft.json +1 -1
- package/.next/server/app/map/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/plan/page.js +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/s/[token]/page.js +1 -1
- package/.next/server/app/s/[token]/page.js.nft.json +1 -1
- package/.next/server/app/s/[token]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +1 -1
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +11 -11
- package/.next/server/chunks/2994.js +2 -0
- package/.next/server/chunks/3284.js +154 -0
- package/.next/server/chunks/4384.js +1 -0
- package/.next/server/chunks/5719.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{2980-07afca8f83adfcea.js → 3415-05007c2bd98125c7.js} +1 -1
- package/.next/static/chunks/{3021-ed52ee7b3f02e2cd.js → 5957-83f611fcd5a08b45.js} +1 -1
- package/.next/static/chunks/766-242213d211df0afd.js +1 -0
- package/.next/static/chunks/{5847-9e0d59eaaa2ed4e0.js → 8915-fa61a860c63a7c85.js} +3 -3
- package/.next/static/chunks/app/map/{page-756355c41278dd07.js → page-491d4767dbc4e954.js} +1 -1
- package/.next/static/chunks/app/page-d08947a671077569.js +1 -0
- package/.next/static/chunks/app/plan/{page-71925c6a12eb1180.js → page-a90e0981499546e3.js} +1 -1
- package/.next/static/chunks/app/s/[token]/{page-6d7e15718d081a4a.js → page-5c8f260e75758b02.js} +1 -1
- package/.next/static/chunks/app/settings/page-7e176d120b1effa9.js +1 -0
- package/.next/static/css/490566ec68a48e1a.css +1 -0
- package/.next/static/css/53e84df868515cf7.css +1 -0
- package/.next/trace +42 -42
- package/.next/trace-build +1 -1
- package/LICENSE +201 -0
- package/README.md +39 -8
- package/bun.lock +2274 -0
- package/dist/bin/beacon.js +14 -13
- package/dist/bin/boot.js +4 -0
- package/dist/bin/doctor.js +38 -30
- package/dist/bin/hook.js +34 -26
- package/dist/bin/mcp.js +40 -32
- package/dist/bin/plan.js +35 -27
- package/dist/bin/uninstall.js +37 -29
- package/dist/lib/assets.js +10 -2
- package/dist/lib/codex-install.js +35 -27
- package/dist/lib/global-install.js +34 -26
- package/package.json +16 -3
- package/plugin/commands/beacon.md +11 -0
- package/plugin/hooks.json +70 -0
- package/plugin/mcp.json +10 -0
- package/plugin/skills/beacon-init/SKILL.md +47 -0
- package/plugin/skills/beacon-plan/SKILL.md +48 -0
- package/plugin/skills/beacon-refresh/SKILL.md +47 -0
- package/.next/server/chunks/1988.js +0 -154
- package/.next/server/chunks/6192.js +0 -1
- package/.next/server/chunks/8035.js +0 -1
- package/.next/server/chunks/8846.js +0 -2
- package/.next/static/chunks/6638-4e53879181b1df75.js +0 -1
- package/.next/static/chunks/app/page-a229992616b3a3de.js +0 -1
- package/.next/static/chunks/app/settings/page-323bfcf32d1e7fc8.js +0 -1
- package/.next/static/css/5a3abd6d2c9dd5a8.css +0 -1
- package/.next/static/css/e63457bec0b3ee27.css +0 -1
- /package/.next/static/{dFKft-kT3vVI6erpmcYuN → qoq7TibU72duRZATxeVnT}/_buildManifest.js +0 -0
- /package/.next/static/{dFKft-kT3vVI6erpmcYuN → qoq7TibU72duRZATxeVnT}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: beacon-refresh
|
|
3
|
+
description: Re-survey the repo and update Beacon's architecture / schema / endpoints map after /beacon-init was already run — 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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Refresh Beacon's map (/beacon-refresh)
|
|
7
|
+
|
|
8
|
+
Beacon was already initialized in this repo (`/beacon-init` ran at some point). The codebase has moved since then — new modules, removed ones, schema changes, new routes. Your job is to re-survey the current code, show the user what changed, then persist the refreshed map.
|
|
9
|
+
|
|
10
|
+
## How it differs from /beacon-init
|
|
11
|
+
|
|
12
|
+
- **Init is a cold start** — no prior map, you survey everything fresh.
|
|
13
|
+
- **Refresh is incremental** — the map already exists. Read what's there first, then diff against the source so you can tell the user what actually changed. The user gets to see "+ 3 new components, − 1 removed, ~ 2 changed roles" instead of an opaque re-run.
|
|
14
|
+
|
|
15
|
+
## What gets preserved vs replaced
|
|
16
|
+
|
|
17
|
+
The `beacon_init_persist` tool **replaces only init-derived nodes** (`source=INIT`). A curated architecture node (created by `beacon_feature` action:done or by hand) whose title matches a component in your refreshed analysis is **merged in place** — your fresh `domain`/`role`/`plain`/`layer`/`files` land on it, but it keeps its source, position, status, and bug flags, and no duplicate INIT node is created. Curated nodes your analysis does NOT mention survive untouched, as do hand-edited tables, custom positions, notes, and draft feature plans. So you can re-run this freely.
|
|
18
|
+
|
|
19
|
+
The one caveat: if the user manually edited an INIT-source node on the canvas (e.g., renamed it, rewrote its role), that edit IS overwritten when you re-persist — and a renamed node no longer title-matches, so it survives as its own card. If the user mentions hand-curated INIT nodes, ask whether they want those carried into the new analysis verbatim.
|
|
20
|
+
|
|
21
|
+
## How to do it
|
|
22
|
+
|
|
23
|
+
1. **Read the current map.** Call `beacon_entities` with `{ kind: "architecture" }`, `{ kind: "roadmap" }`, `{ kind: "tables" }`, `{ kind: "endpoints" }`. This is what Beacon has now.
|
|
24
|
+
2. **Survey the source like init.** Same approach as `/beacon-init`: `LS` / `Glob` for top-level structure, read `README.md` and the manifest, sample 15–30 representative files. Focus on areas likely to have changed — diff your memory against what `beacon_entities` returned.
|
|
25
|
+
3. **Build the diff in your head.** For each entity kind:
|
|
26
|
+
- **components**: which titles in the current map no longer match any cluster you'd produce? Which clusters you'd produce don't appear in the current map?
|
|
27
|
+
- **tables**: any added / removed since? Any model files you can see that aren't in the snapshot?
|
|
28
|
+
- **endpoints**: walk the route directories — any new routes, any deleted ones?
|
|
29
|
+
- **roadmap**: usually stable, but a strategic theme can finish or new ones can emerge.
|
|
30
|
+
4. **Surface the diff to the user, briefly, BEFORE persisting.** Something like:
|
|
31
|
+
- **+ added**: NEW_COMPONENT_1, NEW_COMPONENT_2 (with one-line reason each)
|
|
32
|
+
- **− removed**: STALE_COMPONENT (file no longer exists)
|
|
33
|
+
- **~ changed**: COMPONENT_X (role expanded to cover Y)
|
|
34
|
+
- **schema**: + 2 new tables (TableA, TableB); + 3 new endpoints; − 1 deprecated endpoint
|
|
35
|
+
No need to wait for confirmation — just show the diff so the user sees what's about to land.
|
|
36
|
+
5. **Call `beacon_init_persist`** ONCE with the refreshed full analysis (same shape as init: `components`, `roadmap`, `overview`, `conventions`, `snapshot`, `hasFrontend` — re-assert it, the stack may have changed; and `classificationRoots` if the Files-canvas grouping needs to change, e.g. a new top-level dir like `mobile/` — OMIT it to keep the existing roots, don't pass `[]` unless you mean to clear them). 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 — identical open flags are not duplicated.
|
|
37
|
+
|
|
38
|
+
## What you should NOT do
|
|
39
|
+
|
|
40
|
+
- Don't ask "should I refresh?" — the user invoked /beacon-refresh, that's the answer.
|
|
41
|
+
- Don't preserve stale components for sentimental reasons. If the underlying files are gone or merged into another component, drop it from the new `components` list.
|
|
42
|
+
- Don't pad with file-level granularity. Refresh maintains the same ~15-component altitude as init.
|
|
43
|
+
- Don't fabricate changes. If the codebase hasn't materially moved since the last init, say so and persist the current state anyway (re-runs are cheap; it's fine).
|
|
44
|
+
|
|
45
|
+
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.
|
|
46
|
+
|
|
47
|
+
After the tool returns, report the final counts plus a one-line summary of the diff you surfaced.
|