@bettercms-ai/mcp 0.67.0 → 0.67.3

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
@@ -2713,7 +2713,7 @@ var PARAM_TEXT = {
2713
2713
  sourceUrl: "instead of data: a public http(s) URL the server fetches and stores (private or internal addresses are refused)",
2714
2714
  focalX: "focal point, 0-1 across from the left edge; null resets to the centre",
2715
2715
  focalY: "focal point, 0-1 down from the top edge; null resets to the centre",
2716
- mergeHref: "pageId only: the link field paired with `path` (the label). Both become ONE `button` field keyed `key` (default: their stem, primaryCtaHref \u2192 primaryCta). Each entry's DRAFT gets {label, href} and keeps the old values; the live copy changes on publish. ifMatch is the page's version",
2716
+ mergeHref: "pageId only: the link field paired with `path` (the label). Both become ONE `button` field keyed `key` (default: their stem, primaryCtaHref \u2192 primaryCta). Each entry's DRAFT gets {label, href} and keeps the old values; the live copy changes on publish. ifMatch is the page's version. 409 CODE_RENDERED_ROUTE: do its `next` recipe in code",
2717
2717
  confirmedInput: "true only after the user explicitly approved adding this custom input (`ui.input`); else setting or changing one is refused input_needs_confirmation. Removing one needs no approval"
2718
2718
  };
2719
2719
  var INPUT_CONFIRMED_HEADER = "x-bcms-confirmed-input";
@@ -5081,7 +5081,7 @@ ${res.warnings.join("\n")}` : summary, res.data);
5081
5081
  name: "get_page",
5082
5082
  config: {
5083
5083
  title: "Get a page (with its field schema)",
5084
- description: "Get one page INCLUDING its full field schema (keys, types, nested group/repeater children), pageType, `path` and `language`. Read this before set_page_content so you write correctly-keyed values, or before add_field so you know the existing keys.",
5084
+ description: "Get one page INCLUDING its full field schema (keys, types, nested group/repeater children), pageType, `path` and `language`. A field with `stale: true` is one the build no longer renders: kept, hidden in the editor. Read this before set_page_content so you write correctly-keyed values, or before add_field so you know the existing keys.",
5085
5085
  inputSchema: getPageInput.shape
5086
5086
  },
5087
5087
  handler: guard(
@@ -5566,7 +5566,7 @@ ${notes.join("\n")}` : summary, created);
5566
5566
  name: "get_component",
5567
5567
  config: {
5568
5568
  title: "Get a component (with its blockJson)",
5569
- description: "Get one component by id INCLUDING its blockJson tree and props (with any stored `ui` authoring chrome on them). Read this before update_component so you keep the existing blocks, and after declaring field UI as the receipt that it landed \u2014 a prop absent here was not stored. " + VARIANT_GROUP_NOTE,
5569
+ description: "Get one component by id INCLUDING its blockJson tree and props (with any stored `ui` authoring chrome on them; `stale: true` = no placement renders it). Read this before update_component so you keep the existing blocks, and after declaring field UI as the receipt that it landed \u2014 a prop absent here was not stored. " + VARIANT_GROUP_NOTE,
5570
5570
  inputSchema: getComponentInput.shape
5571
5571
  },
5572
5572
  handler: guard(
@@ -7031,7 +7031,13 @@ Do not stop at the plan or at a partial receipt \u2014 finish the whole site, ne
7031
7031
  8. \`get_binding_report\`: \`unmatched\` 0, \`unaddressable\` under 2% per route; fix the SOURCE, deploy, re-read (playbook \xA711).
7032
7032
  9. \`set_binding_mode { declaredBindings: true }\`, deploy AGAIN and poll, then confirm \`get_binding_report\`
7033
7033
  reads mode "declared", unmatched 0, bound above 0, \`coverage.pending\` empty. Send me that report.
7034
- 10. Ask me whether to commit and push to my repository, commit only, or leave it uncommitted (unpushed, the
7034
+ 10. \`get_next_steps\`: if it lists \`upgrade-section-roots\` (section spacing and style handles), in the repo run
7035
+ \`npx @bettercms-ai/convert@latest --upgrade-sections --root . --dry-run\`, read the plan, then run it for real. For every
7036
+ root its receipt lists as \`skipped\`, pass the block down by hand: \`{...sectionRootAttrs(block)}\` on the section root, or
7037
+ \`data-bcms-style=""\` plus \`style={...}\` from \`block.style\`. Run \`--verify-styles\` again and restore what it lists (the
7038
+ marker and the inline style from \`block.style\` are allowed; changing a class or an existing style is not). Deploy,
7039
+ poll, call \`get_next_steps\` again and tell me what it still lists. Not listed: say so and move on; invent no work.
7040
+ 11. Ask me whether to commit and push to my repository, commit only, or leave it uncommitted (unpushed, the
7035
7041
  next rebuild from my repo drops it). Touch git only as I answer.`;
7036
7042
  var FIELD_UI_PROMPT = {
7037
7043
  title: "Declare how fields LOOK in the editor (guided)",