@bettercms-ai/mcp 0.56.1 → 0.56.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
@@ -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, 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.";
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): its table turns what you found into the one reference the task needs \u2014 read only that.";
2003
2003
  var STRUCTURE_EXAMPLE_PAYLOAD = {
2004
2004
  version: 0,
2005
2005
  doc: {
@@ -2841,8 +2841,7 @@ function buildToolDefs(deps) {
2841
2841
  // agent's context.
2842
2842
  turnstileEnabled: z.boolean().optional().describe("require a Cloudflare Turnstile check on submit"),
2843
2843
  honeypotField: z.string().max(100).nullable().optional().describe("name of a hidden honeypot input; a submission that fills it is marked spam. null clears"),
2844
- notifyEmails: z.array(z.string().email()).optional().describe("addresses emailed on each submission (REPLACES the list)"),
2845
- webhookUrl: z.string().url().nullable().optional().describe("absolute URL that receives each submission as a POST. null clears")
2844
+ notifyEmails: z.array(z.string().email()).optional().describe("addresses emailed on each submission (REPLACES the list)")
2846
2845
  };
2847
2846
  const createFormInput = z.object({
2848
2847
  name: z.string().min(1).describe("human form name (used by getForm('Name'))"),