@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.
package/dist/index.js
CHANGED
|
@@ -4949,7 +4949,7 @@ ${res.warnings.join("\n")}` : summary, res.data);
|
|
|
4949
4949
|
def(
|
|
4950
4950
|
"get_deploy_status",
|
|
4951
4951
|
"Get deploy/build status",
|
|
4952
|
-
"Get the connected project's deploy/build status: state (idle|queued|building|categorizing|failed), whether it's publishing, the live commit sha, when it went live, and any build error. `categorizing` means the bytes are live but the
|
|
4952
|
+
"Get the connected project's deploy/build status: state (idle|queued|building|categorizing|failed), whether it's publishing, the live commit sha, when it went live, and any build error. `categorizing` means the bytes are live (`publishing` false) but the setup lanes (content, pages, bindings) are still running: not ready to edit yet. Poll this after deploy_project until state is idle with your sha live. `release` is the newest release (id, sha, status, phaseMarks, error, createdAt): while an uploaded build ingests or releases, state is `building`, `release.sha` the new sha and `lastLiveSha` still the old one; a failed deploy shows `release.status` failed with its `error`, and `held` state (`held.by`: staff, archived or no-subdomain) means the release waits until that is cleared. Also returns `canvas.lane` (the editor's live-preview lane for this site: `bridge` / `draft-route` / `none`) and `editorUrl`, the visual editor to hand the user.",
|
|
4953
4953
|
z.object({}).shape,
|
|
4954
4954
|
async (c) => ok("Deploy status.", await data(c, "GET", `/management/projects/deploy-status`))
|
|
4955
4955
|
),
|
|
@@ -6298,10 +6298,12 @@ but a code-built site ships only what its own templates draw:
|
|
|
6298
6298
|
itself, in order, each section root stamped \`data-bcms-block="<blockId>"\`. \`npx @bettercms-ai/convert
|
|
6299
6299
|
--componentize\` writes that loop (\`src/lib/bcms-sections.ts\`) and the stamps. Until it ships, the canvas
|
|
6300
6300
|
only ARRANGES the static build to match the draft (a section the build never rendered is stood in for
|
|
6301
|
-
by a server render)
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6301
|
+
by a server render); the editor still saves added, moved and swapped sections but says the live site
|
|
6302
|
+
keeps its own order, and offers "Let BetterCMS control section order" (that same codemod, committed
|
|
6303
|
+
to the connected repository); and each such route leads \`submit_conversion_receipt\`'s \`pending\`
|
|
6304
|
+
with a \`SECTIONS_UNSTAMPED\` row, so \`complete\` stays false. Never hard-code a page's bands, or
|
|
6305
|
+
literal \`data-bcms-block\` ids, in a template whose order the CMS owns: a release measures whether
|
|
6306
|
+
the stamped roots come out in the CMS order (\`ordered\` on the binding report's structure row).
|
|
6305
6307
|
- A placement the site never renders (a leftover nav, footer or modal its layout draws) moves
|
|
6306
6308
|
nothing: the editor counts section moves in RENDERED sections only and locks that row. Remove
|
|
6307
6309
|
such placements; do not reorder around them.
|