@diviops/mcp-server 1.5.80 → 1.5.82

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
@@ -520,6 +520,14 @@ Common quick fixes — full reference in [troubleshooting.md](../docs/troublesho
520
520
  - For plugin and skill updates shipped alongside the server, see the [public distribution releases](https://github.com/oaris-dev/diviops/releases).
521
521
  - The [archive through MCP 1.5.77](https://github.com/oaris-dev/diviops/blob/v1.5.95/diviops-server/README.md#mcp-1577-release-note) preserves the original version notes and their qualification limits. The 1.5.67 note refers to the [WP-CLI command tiers](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#wp-cli-security).
522
522
 
523
+ ### MCP 1.5.82 release note
524
+
525
+ Cross-site header and footer transfer guidance now tells you how to supply menu names from the source site and choose a destination menu when a match is unclear.
526
+
527
+ ### MCP 1.5.81 release note
528
+
529
+ Pair with DiviOps Agent 1.5.53 to check FluentCart activation on Free sites with `diviops_meta_info`. In `plugins.fluent_cart`, read `activation_known` before interpreting `active`. When `activation_known` is false, the server could not confirm activation.
530
+
523
531
  ### MCP 1.5.80 release note
524
532
 
525
533
  Pair with Agent Pro 1.0.20-beta to review navigation menus when transferring an existing Theme Builder header or footer between sites. The plan matches explicit menus by a unique name or a destination you select. It identifies menus that follow the destination’s primary theme location. Apply refuses an explicit selection when either side cannot verify the reviewed mapping.
@@ -48,7 +48,7 @@ export function planMenus(source, target) {
48
48
  if (origins.length !== 1 || !origin?.name || matches.length !== 1 ||
49
49
  ![origin, matches[0]].every(menu => Number.isSafeInteger(menu.id) && menu.id > 0 &&
50
50
  typeof menu.name === "string" && typeof menu.slug === "string" && /^[a-f0-9]{64}$/.test(menu.digest))) {
51
- blockers.push({ code: "menu_mapping_unverified", message: `Cannot resolve ${ref.module} menu ${ref.selection ?? "(unsupported selection)"}. Inspect current menu names on both sites or provide an explicit destination for this source ID.` });
51
+ blockers.push({ code: "menu_mapping_unverified", message: `Cannot resolve ${ref.module} menu ${ref.selection ?? "(unsupported selection)"}. Inspect current menu names on both sites or provide an explicit destination for this source ID. For an explicit menu ID, collect target context again with source_menu_names from the source export's menus. If the name is missing or has zero or multiple destination matches, verify the source menu and export again with explicit menu_targets. Pass those destination IDs as target_menu_ids when collecting target context. If the source selection is unsupported, stop and inspect the selector.` });
52
52
  continue;
53
53
  }
54
54
  mappings.push({ module: ref.module, source: origin, target: matches[0], match: chosen === undefined ? "unique_name" : "operator" });
package/dist/index.js CHANGED
@@ -184,12 +184,16 @@ function buildPluginVersionSummary() {
184
184
  return {
185
185
  diviops_agent: { active: false, version: null },
186
186
  diviops_agent_pro: { active: false, version: null },
187
- fluent_cart: { active: false, version: null },
187
+ fluent_cart: { active: false, version: null, activation_known: false },
188
188
  fluent_cart_pro: { active: false, version: null },
189
189
  };
190
190
  }
191
191
  const plugins = handshakeState.plugins;
192
192
  const fluentCartTarget = handshakeState.availableTargets.fluentcart;
193
+ const fluentCart = plugins.fluent_cart ?? {
194
+ active: fluentCartTarget?.present,
195
+ version: fluentCartTarget?.version ?? null,
196
+ };
193
197
  return {
194
198
  diviops_agent: {
195
199
  active: true,
@@ -199,9 +203,11 @@ function buildPluginVersionSummary() {
199
203
  active: handshakeState.proActive,
200
204
  version: handshakeState.proVersion ?? null,
201
205
  },
202
- fluent_cart: plugins.fluent_cart ?? {
203
- active: fluentCartTarget?.present === true,
204
- version: fluentCartTarget?.version ?? null,
206
+ fluent_cart: {
207
+ ...fluentCart,
208
+ active: fluentCart.active === true,
209
+ // Older Agents may supply neither record. Keep the legacy boolean for readers.
210
+ activation_known: typeof fluentCart.active === "boolean",
205
211
  },
206
212
  fluent_cart_pro: plugins.fluent_cart_pro ?? {
207
213
  active: false,
@@ -2780,7 +2786,7 @@ function registerCrossEnvEvidenceTools() {
2780
2786
  .optional()
2781
2787
  .default("tb_header_layout")
2782
2788
  .describe(`Destination kind. Existing ${layoutLabel} layout evidence is supported.${staffNote}`),
2783
- source_menu_names: z.array(z.string()).optional().describe("Menu names from the source export; inventories all matching destination menus."),
2789
+ source_menu_names: z.array(z.string()).optional().describe("Required when a source header or footer selects an explicit menu. Pass the names from the source export's menus to inventory all matching destination menus. An absent menu ID or empty desktop value uses the destination's primary menu location."),
2784
2790
  target_menu_ids: z.array(z.number().int().positive()).optional().describe("Explicit destination IDs from the source export menu_targets."),
2785
2791
  source_asset_hints: z
2786
2792
  .array(z.string())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diviops/mcp-server",
3
- "version": "1.5.80",
3
+ "version": "1.5.82",
4
4
  "description": "MCP server for Divi 5 on WordPress. List pages, inspect presets and edit native Divi modules through the DiviOps Agent plugin.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",