@diviops/mcp-server 1.5.64 → 1.5.65
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 +9 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,15 @@ 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.
|
|
11
|
+
## 1.5.65 release note
|
|
12
|
+
|
|
13
|
+
Variable scans now report incompatible legacy non-color IDs, whether they are defined, and their known page/preset references. Scan coverage and truncation are explicit. Existing orphan and unused classifications are unchanged. Native page-usage detection is not proof of successful frontend rendering.
|
|
14
|
+
|
|
15
|
+
Existing mixed-case or underscore IDs still need reviewed replacement variables and reference updates. No variable is renamed or deleted automatically; zero known references does not establish that deletion is safe.
|
|
16
|
+
|
|
17
|
+
Pair with Free Agent 1.5.38. Public builder remains 1.4.11.
|
|
18
|
+
|
|
19
|
+
## Previous 1.5.64 release note
|
|
12
20
|
|
|
13
21
|
Adds `diviops_page_settings_get` and `diviops_page_settings_update` with Free
|
|
14
22
|
Agent 1.5.37. Read and update page-wide Content Area and Section backgrounds on ordinary Divi pages. Supports previews, literal colors, transparency and clearing to native defaults, with checksum checks and preservation of unrelated page data. Explicit per-section backgrounds remain intact.
|
package/dist/index.js
CHANGED
|
@@ -4173,7 +4173,7 @@ registerPluginTool("diviops_variable_delete", {
|
|
|
4173
4173
|
};
|
|
4174
4174
|
});
|
|
4175
4175
|
registerPluginTool("diviops_variable_scan_orphans", {
|
|
4176
|
-
description: "Scan pages, Theme Builder layouts (header/body/footer), Divi Library items, canvas pages, and the preset registry for gvid-/gcid- references that have no backing entry in the Variable Manager (orphans), plus variables defined but referenced nowhere (unused). Orphans render as invalid CSS on the frontend — the $variable()$ resolver falls through with no fallback. Use after a deletion with force=true, or periodically as a hygiene check. Symmetric to diviops_preset_scan_orphans. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }.",
|
|
4176
|
+
description: "Scan pages, Theme Builder layouts (header/body/footer), Divi Library items, canvas pages, and the preset registry for gvid-/gcid- references that have no backing entry in the Variable Manager (orphans), plus variables defined but referenced nowhere (unused). Orphans render as invalid CSS on the frontend — the $variable()$ resolver falls through with no fallback. Use after a deletion with force=true, or periodically as a hygiene check. Also reports incompatible_variables: exact legacy non-color IDs, whether defined, type (null if undefined), known reference count and locations. These can be defined and referenced without being orphans. scan_scope describes coverage and truncation; zero known references is not proof safe to delete. Recreate reviewed replacements and update reviewed references; never silently lowercase IDs. ID compatibility is not frontend rendering verification. Symmetric to diviops_preset_scan_orphans. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }.",
|
|
4177
4177
|
annotations: { idempotentHint: true },
|
|
4178
4178
|
_meta: { idempotent: "true" },
|
|
4179
4179
|
}, async () => {
|
|
@@ -4185,7 +4185,7 @@ registerPluginTool("diviops_variable_scan_orphans", {
|
|
|
4185
4185
|
};
|
|
4186
4186
|
});
|
|
4187
4187
|
registerPluginTool("diviops_variable_used_on_page", {
|
|
4188
|
-
description: "
|
|
4188
|
+
description: "Return native-detected numeric/font variable IDs for a single page — the set Divi 5.4.0+ uses to scope selective `:root{--gvid-*}` CSS variable emission. Walks the same content stack the frontend assembles: post_content + active Theme Builder header/body/footer template content + appended canvas content (interaction targets etc.), plus presets referenced by that content. NOTE: this is `gvid-*` only — color variables (`gcid-*`) are emitted via a separate path (`GlobalData` color block) that is NOT scoped per-page in 5.4.0; this tool returns gvid IDs only. Native detection may truncate incompatible legacy IDs; this is not proof of successful CSS emission or a complete recovery inventory. Use diviops_variable_scan_orphans for full recognized legacy IDs and known locations. Use this tool to debug why a numeric/font variable doesn't render on a specific page. Read-only. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }; success payload is { post_id, variable_ids (sorted, deduped), count, tb_template_ids }. Missing post_id returns 'not_found'; non-positive post_id returns 'invalid_input'; a Divi 5 environment without the `\\\\ET\\\\Builder\\\\FrontEnd\\\\Assets\\\\DetectFeature` class (e.g. Divi 4 active, or Divi disabled) returns 'wp_error' (HTTP 500) with a hint to activate Divi 5.",
|
|
4189
4189
|
inputSchema: {
|
|
4190
4190
|
post_id: z
|
|
4191
4191
|
.number()
|