@bettercms-ai/mcp 0.53.0 → 0.53.1

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
@@ -1999,7 +1999,7 @@ import { DeviceAuthPendingError } from "@bettercms-ai/device-auth";
1999
1999
  // src/structure-playbook.ts
2000
2000
  var STRUCTURE_PLAYBOOK_URI = "bettercms://playbook/structure";
2001
2001
  var STRUCTURE_DEFAULT_INSTRUCTION = `After you create collections or pages, organise them per the structure playbook: read ${STRUCTURE_PLAYBOOK_URI}, call suggest_content_structure (read-only), show the user its outline, then apply it with set_content_structure and the version it returned (the If-Match). A project that already has a structure keeps it: file only what you created, with move_to_folder, unless the user asks for a full re-organisation.`;
2002
- var SKILLS_ROUTING_INSTRUCTION = "Before writing code in a repo that uses BetterCMS, read the installed `bettercms` skill if there is one: it explores the repo and names the one or two bettercms-* skills the task needs.";
2002
+ var SKILLS_ROUTING_INSTRUCTION = "Before writing code in a repo that uses BetterCMS, explore the repo, then read the installed `bettercms` skill (`npx @bettercms-ai/install --project -y` adds it if missing): it turns what you found into the one or two bettercms-* skills the task needs \u2014 read only those.";
2003
2003
  var STRUCTURE_EXAMPLE_PAYLOAD = {
2004
2004
  version: 0,
2005
2005
  doc: {
@@ -5675,8 +5675,8 @@ ${SECTION_DOCTRINE}`;
5675
5675
  var CONVERT_SITE_TEXT = (projectId) => `Convert my site so every visible element is editable in BetterCMS${projectId ? `, project ${projectId}` : ""}.
5676
5676
  Do not stop at the plan or at a partial receipt \u2014 finish the whole site.
5677
5677
 
5678
- 1. \`list_projects\`; pass \`projectId\`${projectId ? ` (${projectId})` : ""} on every project tool from here on. If the project
5679
- is not listed the grant is on another workspace \u2014 stop and say so.
5678
+ 1. \`list_projects\`; pass \`projectId\`${projectId ? ` (${projectId})` : ""} on every project tool. Not listed = the grant is on
5679
+ another workspace: have the user re-authenticate there. Never convert a different project.
5680
5680
  2. \`get_conversion_plan\`. On a 404 \`no-approved-plan\`, call
5681
5681
  \`get_conversion_brief { complete: true }\` and follow \`cursor\` to the LAST page, keeping every
5682
5682
  page \u2014 a codemod fed the capped brief converts a truncated site. Write them to \`brief.json\`.