@diviops/mcp-server 1.5.61 → 1.5.62

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/README.md CHANGED
@@ -8,7 +8,20 @@ The Node.js MCP server inside the DiviOps harness. It gives Claude Code, Codex,
8
8
  Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> DiviOps Agent plugin
9
9
  ```
10
10
 
11
- ## 1.5.61 release note
11
+ ## 1.5.62 release note
12
+
13
+ With Free Agent 1.5.34, empty header/footer inputs on template creation link the
14
+ active enabled default's existing layouts and preserve region enabled states.
15
+ Preview and apply report resolved sources and IDs. Without an enabled default,
16
+ the result explicitly reports native-theme fallback; invalid inheritance is
17
+ refused before changes. Existing templates are not automatically repaired.
18
+
19
+ Links are resolved at creation, not automatically rebound when the default
20
+ layout ID is replaced. Update the Free plugin to receive the fix; this MCP
21
+ update supplies matching tool guidance. Public builder remains 1.4.11.
22
+ Dependencies and compatibility floors are unchanged.
23
+
24
+ ## Previous 1.5.61 release note
12
25
 
13
26
  With Free Agent 1.5.31, Theme Builder template trash and permanent deletion
14
27
  preserve layouts referenced by another template. Preview excludes them from
package/dist/index.js CHANGED
@@ -2865,12 +2865,12 @@ registerPluginTool("diviops_tb_template_create", {
2865
2865
  .string()
2866
2866
  .optional()
2867
2867
  .default("")
2868
- .describe("Header block markup (empty = inherit from default template)"),
2868
+ .describe("Header block markup. Empty links the active enabled default template’s header layout and enabled state at creation; otherwise uses native-theme fallback. Links are not automatically rebound if the default layout ID changes. Invalid inheritance is refused; dry_run reports resolved regions."),
2869
2869
  footer_content: z
2870
2870
  .string()
2871
2871
  .optional()
2872
2872
  .default("")
2873
- .describe("Footer block markup (empty = inherit from default template)"),
2873
+ .describe("Footer block markup. Empty links the active enabled default template’s footer layout and enabled state at creation; otherwise uses native-theme fallback. Links are not automatically rebound if the default layout ID changes. Invalid inheritance is refused; dry_run reports resolved regions."),
2874
2874
  body_content: z.string().optional().default("").describe("Body block markup (omitted/empty = existing no-custom-body behavior). Nonempty content requires plugin capability tb_template_create_body; returns body_layout_id. No global Theme Builder save or legacy cleanup."),
2875
2875
  dry_run: DRY_RUN_FIELD,
2876
2876
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diviops/mcp-server",
3
- "version": "1.5.61",
3
+ "version": "1.5.62",
4
4
  "description": "MCP server exposing Divi 5 Visual Builder as tools for Claude",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",