@bettercms-ai/mcp 0.65.0 → 0.65.2
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.
|
@@ -149,8 +149,15 @@ A code-built site ships only what its templates draw, whatever the page's `block
|
|
|
149
149
|
editor reaches the live site only when the template loops over the page's blocks in order and
|
|
150
150
|
each section root carries its block id as `data-bcms-block`. The codemod's `--componentize` pass
|
|
151
151
|
generates `src/lib/bcms-sections.ts` for the loop and adds those attributes. Until it ships, the
|
|
152
|
-
editor
|
|
152
|
+
editor still adds, moves, swaps and removes sections (saved, and drawn on the canvas at once),
|
|
153
|
+
tells the author that publishing leaves the live order to the site's code, and its "Let BetterCMS
|
|
154
|
+
control section order" button commits that same codemod to the connected repository. `submit_conversion_receipt` keeps
|
|
153
155
|
`complete: false` with one `SECTIONS_UNSTAMPED` row per route.
|
|
156
|
+
- **The order is measured, not assumed.** A release reads the stamped section roots in document order:
|
|
157
|
+
a build that draws them in the CMS order (`ordered: true` on the binding report's structure row)
|
|
158
|
+
owns nothing, whatever sections it has no code for; one that draws them in its own order
|
|
159
|
+
(`ordered: false`) — a template that hardcodes its bands and stamps each with a snapshot id — is
|
|
160
|
+
code-ordered as soon as the CMS order moves. Stamp ids only from the loop, never as literals.
|
|
154
161
|
- **No chrome placements on a page.** A nav, footer or modal placement the site's layout draws
|
|
155
162
|
renders nowhere, and the editor locks its outline row and skips it when it moves the sections
|
|
156
163
|
around it. Remove it.
|
package/package.json
CHANGED