@elementor/editor-global-classes 3.35.0-362 → 3.35.0-364

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
@@ -2328,6 +2328,10 @@ function initMcpApplyUnapplyGlobalClasses(server) {
2328
2328
  result: import_schema.z.string().describe("Result message indicating the success of the apply operation")
2329
2329
  },
2330
2330
  name: "apply-global-class",
2331
+ modelPreferences: {
2332
+ intelligencePriority: 0.7,
2333
+ speedPriority: 0.8
2334
+ },
2331
2335
  description: `Apply a global class to the current element
2332
2336
 
2333
2337
  ## When to use this tool:
@@ -2357,6 +2361,10 @@ function initMcpApplyUnapplyGlobalClasses(server) {
2357
2361
  outputSchema: {
2358
2362
  result: import_schema.z.string().describe("Result message indicating the success of the unapply operation")
2359
2363
  },
2364
+ modelPreferences: {
2365
+ intelligencePriority: 0.7,
2366
+ speedPriority: 0.8
2367
+ },
2360
2368
  description: `Unapply a (global) class from the current element
2361
2369
 
2362
2370
  ## When to use this tool:
@@ -2474,6 +2482,10 @@ var initCreateGlobalClass = (reg) => {
2474
2482
  { uri: GLOBAL_CLASSES_URI, description: "Global classes list" },
2475
2483
  { uri: import_editor_canvas.STYLE_SCHEMA_URI, description: "Style schema resources" }
2476
2484
  ],
2485
+ modelPreferences: {
2486
+ intelligencePriority: 0.85,
2487
+ speedPriority: 0.6
2488
+ },
2477
2489
  description: `Create a new global class within the Elementor editor, allowing users to define reusable styles and properties for consistent design across their website.
2478
2490
 
2479
2491
  # Prequisites: CRITICAL
@@ -2550,6 +2562,10 @@ function initMcpApplyGetGlobalClassUsages(reg) {
2550
2562
  };
2551
2563
  addTool({
2552
2564
  name: "get-global-class-usages",
2565
+ modelPreferences: {
2566
+ intelligencePriority: 0.6,
2567
+ speedPriority: 0.8
2568
+ },
2553
2569
  description: `Retreive the usages of global-classes ACCROSS PAGES designed by Elementor editor.
2554
2570
 
2555
2571
  ## Prequisites: CRITICAL
@@ -2687,6 +2703,11 @@ var initModifyGlobalClass = (reg) => {
2687
2703
  uri: GLOBAL_CLASSES_URI
2688
2704
  }
2689
2705
  ],
2706
+ modelPreferences: {
2707
+ hints: [{ name: "claude-sonnet" }],
2708
+ intelligencePriority: 0.85,
2709
+ speedPriority: 0.6
2710
+ },
2690
2711
  description: `Modify an existing global class within the Elementor editor, allowing users to update styles and properties for consistent design across their website.
2691
2712
  # CRITICAL Prequisites:
2692
2713
  - Read the style schema at [elementor://styles/schema/{category}] to understand the valid properties and values that can be assigned to the global class.