sbuilder-mcp 0.44.0 → 0.46.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 +14 -0
- package/CHANGELOG.vi.md +14 -0
- package/dist/catalog/elements.generated.js +82 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@ 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.46.0] - 2026-09-14
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Codegen now also scans a second declaration shape — a typed array of const-object members, such as `OPTION_SOURCES: OptionSource[] = [...]` — not just the plain `as-const` array it already read, growing scanned declarations from 23 to 57 and the catalog's legal-value vocabulary from 61 to 64 entries; form-select, form-radio and form-checkbox now carry a vocabulary for optionSource, reachable through sb_traits_for's specials_values and sb_set's out-of-vocabulary warning.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- A shared vocabulary module is now only joined to a config or specials key when the module's own name names that key, closing the false-join risk a wider scan would otherwise reopen (a seed value like "category" or "text" is a common word that coincidentally matches unrelated shared lists); verified against the newly-widened scan, which would otherwise have wrongly joined filterSource's "category" value to an unrelated option-source list.
|
|
16
|
+
|
|
17
|
+
## [0.45.0] - 2026-09-14
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- Codegen now scans every `as-const` vocabulary the platform declares directly, instead of relying only on the two hand-written readers for background-scene and filter values, so a new declaration reaches the catalog without a matching reader having to be written for it here.
|
|
21
|
+
- The catalog's legal-value vocabulary grows from 57 to 61 entries: form-date's format key (date-time/day-month-year/time), and form-calendar's defaultMode, acceptedDates and picker keys, all reachable through sb_traits_for's specials_values and sb_set's out-of-vocabulary warning.
|
|
22
|
+
|
|
9
23
|
## [0.44.0] - 2026-09-14
|
|
10
24
|
|
|
11
25
|
### Changed
|
package/CHANGELOG.vi.md
CHANGED
|
@@ -6,6 +6,20 @@ 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.46.0] - 2026-09-14
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Codegen giờ quét thêm một dạng khai báo thứ hai — một mảng có kiểu gồm các thành viên từ const-object, ví dụ `OPTION_SOURCES: OptionSource[] = [...]` — chứ không chỉ mảng `as-const` thuần như trước, nâng số khai báo được quét từ 23 lên 57 và bảng giá trị hợp lệ của catalog từ 61 lên 64 mục; form-select, form-radio và form-checkbox giờ có bảng giá trị cho optionSource, tra được qua specials_values của sb_traits_for và cảnh báo giá trị nằm ngoài bảng của sb_set.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Một module vocabulary dùng chung giờ chỉ được nối với một key config hoặc specials khi chính tên của module đó nêu tên key ấy, khép lại nguy cơ nối sai mà việc quét rộng hơn lẽ ra sẽ mở lại (một giá trị seed như "category" hay "text" là từ tiếng Anh thông dụng, tình cờ trùng với các danh sách dùng chung không liên quan); được xác minh trên chính bản quét đã mở rộng, vốn nếu không sẽ nối sai giá trị "category" của filterSource vào một danh sách option-source không liên quan.
|
|
16
|
+
|
|
17
|
+
## [0.45.0] - 2026-09-14
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- Codegen giờ quét trực tiếp mọi bảng giá trị `as-const` mà nền tảng khai báo, thay vì chỉ dựa vào hai reader viết tay cho giá trị nền cảnh 3D và filter, nhờ đó một khai báo mới đến được catalog mà không cần viết thêm reader riêng ở đây.
|
|
21
|
+
- Bảng giá trị hợp lệ của catalog tăng từ 57 lên 61 mục: key format của form-date (date-time/day-month-year/time), cùng các key defaultMode, acceptedDates và picker của form-calendar, đều tra được qua specials_values của sb_traits_for và cảnh báo giá trị nằm ngoài bảng của sb_set.
|
|
22
|
+
|
|
9
23
|
## [0.44.0] - 2026-09-14
|
|
10
24
|
|
|
11
25
|
### Changed
|
|
@@ -37034,6 +37034,88 @@ export const ELEMENT_VALUES = {
|
|
|
37034
37034
|
"readBy": "COLOR_MODES (editor/src/components/inspector/ScenePaletteRows.vue)"
|
|
37035
37035
|
}
|
|
37036
37036
|
},
|
|
37037
|
+
"form-select": {
|
|
37038
|
+
"optionSource": {
|
|
37039
|
+
"target": "config",
|
|
37040
|
+
"writeKey": "optionSource",
|
|
37041
|
+
"values": [
|
|
37042
|
+
"article",
|
|
37043
|
+
"category",
|
|
37044
|
+
"manual",
|
|
37045
|
+
"product"
|
|
37046
|
+
],
|
|
37047
|
+
"readBy": "OPTION_SOURCES (schema/src/elements/formOptionSource.ts)"
|
|
37048
|
+
}
|
|
37049
|
+
},
|
|
37050
|
+
"form-radio": {
|
|
37051
|
+
"optionSource": {
|
|
37052
|
+
"target": "config",
|
|
37053
|
+
"writeKey": "optionSource",
|
|
37054
|
+
"values": [
|
|
37055
|
+
"article",
|
|
37056
|
+
"category",
|
|
37057
|
+
"manual",
|
|
37058
|
+
"product"
|
|
37059
|
+
],
|
|
37060
|
+
"readBy": "OPTION_SOURCES (schema/src/elements/formOptionSource.ts)"
|
|
37061
|
+
}
|
|
37062
|
+
},
|
|
37063
|
+
"form-checkbox": {
|
|
37064
|
+
"optionSource": {
|
|
37065
|
+
"target": "config",
|
|
37066
|
+
"writeKey": "optionSource",
|
|
37067
|
+
"values": [
|
|
37068
|
+
"article",
|
|
37069
|
+
"category",
|
|
37070
|
+
"manual",
|
|
37071
|
+
"product"
|
|
37072
|
+
],
|
|
37073
|
+
"readBy": "OPTION_SOURCES (schema/src/elements/formOptionSource.ts)"
|
|
37074
|
+
}
|
|
37075
|
+
},
|
|
37076
|
+
"form-date": {
|
|
37077
|
+
"format": {
|
|
37078
|
+
"target": "specials",
|
|
37079
|
+
"writeKey": "format",
|
|
37080
|
+
"values": [
|
|
37081
|
+
"date-time",
|
|
37082
|
+
"day-month-year",
|
|
37083
|
+
"time"
|
|
37084
|
+
],
|
|
37085
|
+
"readBy": "DATE_FORMAT_CHOICES (schema/src/elements/form-date/meta.ts)"
|
|
37086
|
+
}
|
|
37087
|
+
},
|
|
37088
|
+
"form-calendar": {
|
|
37089
|
+
"defaultMode": {
|
|
37090
|
+
"target": "specials",
|
|
37091
|
+
"writeKey": "defaultMode",
|
|
37092
|
+
"values": [
|
|
37093
|
+
"specific",
|
|
37094
|
+
"today",
|
|
37095
|
+
"unset"
|
|
37096
|
+
],
|
|
37097
|
+
"readBy": "DATE_DEFAULT_MODES (schema/src/elements/form-calendar/meta.ts)"
|
|
37098
|
+
},
|
|
37099
|
+
"acceptedDates": {
|
|
37100
|
+
"target": "specials",
|
|
37101
|
+
"writeKey": "acceptedDates",
|
|
37102
|
+
"values": [
|
|
37103
|
+
"all",
|
|
37104
|
+
"future",
|
|
37105
|
+
"past"
|
|
37106
|
+
],
|
|
37107
|
+
"readBy": "ACCEPTED_DATES (schema/src/elements/form-calendar/meta.ts)"
|
|
37108
|
+
},
|
|
37109
|
+
"picker": {
|
|
37110
|
+
"target": "specials",
|
|
37111
|
+
"writeKey": "picker",
|
|
37112
|
+
"values": [
|
|
37113
|
+
"grid",
|
|
37114
|
+
"native"
|
|
37115
|
+
],
|
|
37116
|
+
"readBy": "DATE_PICKERS (schema/src/elements/form-calendar/meta.ts)"
|
|
37117
|
+
}
|
|
37118
|
+
},
|
|
37037
37119
|
"*": {
|
|
37038
37120
|
"backgroundSceneSource": {
|
|
37039
37121
|
"target": "config",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sbuilder-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.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",
|