sbuilder-mcp 0.32.2 → 0.33.0

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ All notable changes to this project are documented in this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.33.0] - 2026-09-11
10
+
11
+ ### Added
12
+ - The catalog now declares seven config keys the platform's renderers always read but had never been listed anywhere: `image`'s `imageEager` (the override for a hero image that is not first, deciding the page's `<link rel=preload>` target), `menu`'s `activeColor`, `dataset-block`'s `contentWidthCustom`, `breadcrumb`'s `currentColor` and `maxItems`, `product-variants`' `optionGap`, and `list-dataset`'s `articleSourceType`. `sb_add`, `sb_set`, and `sb_traits_for` can now read and write all seven.
13
+ - `sb_traits_for`'s `config_values` vocabulary for `list-dataset`'s `articleSourceType` is now reachable: the value vocabulary already existed but the element had never listed the key, so no call could reach it.
14
+
9
15
  ## [0.32.2] - 2026-09-11
10
16
 
11
17
  ### Fixed
package/CHANGELOG.vi.md CHANGED
@@ -6,6 +6,12 @@ Mọi thay đổi đáng chú ý của dự án được ghi lại trong file n
6
6
  Định dạng dựa trên [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  và dự án tuân theo [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.33.0] - 2026-09-11
10
+
11
+ ### Added
12
+ - Catalog giờ khai báo bảy config key mà renderer của nền tảng luôn đọc nhưng chưa từng được liệt kê ở đâu cả: `imageEager` của `image` (giá trị ghi đè cho ảnh hero không phải ảnh đầu tiên, quyết định đích `<link rel=preload>` của trang), `activeColor` của `menu`, `contentWidthCustom` của `dataset-block`, `currentColor` và `maxItems` của `breadcrumb`, `optionGap` của `product-variants`, và `articleSourceType` của `list-dataset`. sb_add, sb_set và sb_traits_for giờ đọc và ghi được cả bảy key này.
13
+ - Bảng từ vựng `config_values` của sb_traits_for cho `articleSourceType` thuộc `list-dataset` giờ có thể truy cập được: từ vựng giá trị này đã tồn tại từ trước nhưng element chưa từng liệt kê key này, nên không lệnh gọi nào chạm tới được nó.
14
+
9
15
  ## [0.32.2] - 2026-09-11
10
16
 
11
17
  ### Fixed
@@ -1608,7 +1608,8 @@ export const ELEMENTS = {
1608
1608
  "config": {
1609
1609
  "imageRatio": "auto",
1610
1610
  "customImageRatioWidth": 16,
1611
- "customImageRatioHeight": 9
1611
+ "customImageRatioHeight": 9,
1612
+ "imageEager": false
1612
1613
  }
1613
1614
  },
1614
1615
  "inspector": [
@@ -12457,7 +12458,9 @@ export const ELEMENTS = {
12457
12458
  "config": {
12458
12459
  "iconSize": 16,
12459
12460
  "iconColor": "#000000",
12460
- "textGlobalStyle": "text-1"
12461
+ "textGlobalStyle": "text-1",
12462
+ "currentColor": "",
12463
+ "maxItems": 0
12461
12464
  }
12462
12465
  },
12463
12466
  "inspector": [
@@ -12654,7 +12657,8 @@ export const ELEMENTS = {
12654
12657
  "contentWidth": "fill_container",
12655
12658
  "dropdownIcon": "down",
12656
12659
  "expandType": "click",
12657
- "submenuStyle": "dropdown"
12660
+ "submenuStyle": "dropdown",
12661
+ "activeColor": ""
12658
12662
  },
12659
12663
  "specials": {
12660
12664
  "menuId": "",
@@ -19468,7 +19472,8 @@ export const ELEMENTS = {
19468
19472
  "active": true,
19469
19473
  "direction": "vertical",
19470
19474
  "gap": 8
19471
- }
19475
+ },
19476
+ "optionGap": ""
19472
19477
  },
19473
19478
  "specials": {
19474
19479
  "displayType": "select",
@@ -30074,7 +30079,8 @@ export const ELEMENTS = {
30074
30079
  "height": "fit-content"
30075
30080
  },
30076
30081
  "config": {
30077
- "contentWidth": "fill_container"
30082
+ "contentWidth": "fill_container",
30083
+ "contentWidthCustom": 0
30078
30084
  },
30079
30085
  "bindings": [
30080
30086
  {
@@ -31518,6 +31524,7 @@ export const ELEMENTS = {
31518
31524
  },
31519
31525
  "config": {
31520
31526
  "datasetSource": "product",
31527
+ "articleSourceType": "category",
31521
31528
  "loadingMode": "none",
31522
31529
  "layout": "grid",
31523
31530
  "quantity": 4,
@@ -86,6 +86,7 @@ export const STORE_PAGE_SEEDS = {
86
86
  },
87
87
  "config": {
88
88
  "contentWidth": "fill_container",
89
+ "contentWidthCustom": 0,
89
90
  "emptyStateId": "sppro_20"
90
91
  },
91
92
  "specials": {},
@@ -661,6 +662,7 @@ export const STORE_PAGE_SEEDS = {
661
662
  "direction": "vertical",
662
663
  "gap": 8
663
664
  },
665
+ "optionGap": "",
664
666
  "variantLabelId": "sppro_12",
665
667
  "variantOptionId": "sppro_13"
666
668
  },
@@ -1258,6 +1260,7 @@ export const STORE_PAGE_SEEDS = {
1258
1260
  },
1259
1261
  "config": {
1260
1262
  "datasetSource": "product",
1263
+ "articleSourceType": "category",
1261
1264
  "loadingMode": "none",
1262
1265
  "layout": "grid",
1263
1266
  "quantity": 4,
@@ -1341,6 +1344,7 @@ export const STORE_PAGE_SEEDS = {
1341
1344
  },
1342
1345
  "config": {
1343
1346
  "contentWidth": "fill_container",
1347
+ "contentWidthCustom": 0,
1344
1348
  "datasetSource": "product"
1345
1349
  },
1346
1350
  "specials": {},
@@ -1927,6 +1931,7 @@ export const STORE_PAGE_SEEDS = {
1927
1931
  },
1928
1932
  "config": {
1929
1933
  "datasetSource": "product",
1934
+ "articleSourceType": "category",
1930
1935
  "loadingMode": "none",
1931
1936
  "layout": "grid",
1932
1937
  "quantity": 4,
@@ -2010,6 +2015,7 @@ export const STORE_PAGE_SEEDS = {
2010
2015
  },
2011
2016
  "config": {
2012
2017
  "contentWidth": "fill_container",
2018
+ "contentWidthCustom": 0,
2013
2019
  "datasetSource": "product"
2014
2020
  },
2015
2021
  "specials": {},
@@ -2602,6 +2608,7 @@ export const STORE_PAGE_SEEDS = {
2602
2608
  },
2603
2609
  "config": {
2604
2610
  "datasetSource": "article",
2611
+ "articleSourceType": "category",
2605
2612
  "loadingMode": "none",
2606
2613
  "layout": "grid",
2607
2614
  "quantity": 4,
@@ -2686,6 +2693,7 @@ export const STORE_PAGE_SEEDS = {
2686
2693
  },
2687
2694
  "config": {
2688
2695
  "contentWidth": "fill_container",
2696
+ "contentWidthCustom": 0,
2689
2697
  "datasetSource": "article"
2690
2698
  },
2691
2699
  "specials": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.32.2",
3
+ "version": "0.33.0",
4
4
  "description": "MCP server that designs and operates a Store Builder site — pages, data, theme and publish — through the platform's own API and live-edit protocol.",
5
5
  "mcpName": "io.github.vuluu2k/sbuilder-mcp",
6
6
  "type": "module",