sbuilder-mcp 0.100.5 → 0.101.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,51 @@ 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.101.0] - 2026-10-29
10
+
11
+ ### Added
12
+ - `sb_publish` with `dry_run` previews the pages a publish will cascade to as `would_cascade`, and lists unpublished shared masters as `shared_unpublished` with a `shared_warning` at the top of the result.
13
+ - `sb_look` measurements report `low_contrast` for text under 3:1 contrast against the nearest opaque background, and skip text over images.
14
+ - `sb_template_use` returns an `ids` map of `{id: type}` and its satellites, as `sb_add` does, and carries `template_id` in its summary.
15
+ - `sb_page_create` returns the `route` of the new page.
16
+ - `sb_review` reports `placeholder_link` for links whose `href` is `#`.
17
+ - `sb_event` with `open_page` accepts a bare `pageId` and builds the `{linkType, id, label, url}` link from the page list.
18
+
19
+ ### Changed
20
+ - `sb_duplicate` to another page returns the same `copies` map as a duplicate on the open page.
21
+ - `sb_undo` lists entries more compactly, without repeating `operationId`, `path` and `fields` for the open page.
22
+ - `sb_template_use` and `overlay_attach` write seed text in Vietnamese on Vietnamese sites.
23
+ - `sb_api_find` ranks the resource at the start of the path higher and prefers the shorter path on a tie, so "list products" finds the right operation, and `pick` names a field that no record carries.
24
+ - `sb_traits_for` keeps the allowed values when it narrows a control, and suggests config keys such as `triggerType`, `Delay` and `Freq` for `popup_trigger` instead of pointing at CSS.
25
+ - `sb_review` reports a finding inside a global section with `global: true` and says it once per process, so a shared header no longer repeats under FIX THESE.
26
+ - `sb_review` reads preset backgrounds and treats image, scene and video backgrounds as dark, and `sb_import` reads band width from the section's own container.
27
+ - `sb_api_find` and `sb_traits_for` read named string types as unions of their values, such as `ArticleStatus` and `ProductStatus`, with their predicates.
28
+ - The catalog is regenerated from the latest platform, so a page's own title is no longer clamped to two lines and "View all" on a product shelf links to `/search`.
29
+
30
+ ### Fixed
31
+ - Blog pages are treated as the `/blog-categories/{slug}` entity template, so `sb_review` no longer misreports their SEO or reachability, and `sb_publish` verifies a real entity address.
32
+ - `sb_publish` no longer blames the cascade when live runs ahead of the draft after an ordinary publish.
33
+ - `sb_look` with the `url` of another page no longer carries over the findings of the open page.
34
+ - `sb_review` no longer reports a dead desktop cell whose value equals base as an error when the render shows maintenance.
35
+ - Theme variable values such as `var(--wb-…)` are no longer flagged as detached from the theme.
36
+ - An edit inside a pop-up states that it applies only to the pages the pop-up is attached to, and no longer reads as site-wide.
37
+ - Disabling an animation with `{active:false}` no longer triggers a warning.
38
+ - The cascade preview in `sb_publish` no longer leaves an unhandled rejection when credentials are missing.
39
+
40
+ ## [0.100.6] - 2026-10-29
41
+
42
+ ### Added
43
+ - `sb_traits_for` and `sb_set` expose page-level controls on ROOT: `font_family`, `bg_color`, `bg_image`, `padding` and `class_css`.
44
+ - `sb_import_site` reports `links_unread` for pages whose links could not be read.
45
+
46
+ ### Changed
47
+ - The catalog is regenerated from the latest platform, so the starter theme text styles no longer carry a `fontFamily` of "Inter".
48
+
49
+ ### Fixed
50
+ - A theme text style with no font family now resolves to `inherit`, so elements take the page or site font instead of "Inter", and `default_font` no longer crashes or warns when a theme names no family.
51
+ - `sb_look` and `sb_import` no longer leak a Chrome that finishes launching after its deadline, and every page evaluation, settle and tab close now has a time limit.
52
+ - `sb_import` and `sb_import_site` replace a Chrome that hangs mid-capture once and re-read that page, and report the remaining pages as errors straight away if it hangs again.
53
+
9
54
  ## [0.100.5] - 2026-10-29
10
55
 
11
56
  ### Changed
package/CHANGELOG.vi.md CHANGED
@@ -6,6 +6,51 @@ 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.101.0] - 2026-10-29
10
+
11
+ ### Added
12
+ - `sb_publish` với `dry_run` xem trước các trang sẽ lan tới khi publish dưới dạng `would_cascade`, và liệt kê bản master dùng chung chưa xuất bản trong `shared_unpublished` cùng `shared_warning` ở đầu kết quả.
13
+ - Phép đo của `sb_look` báo `low_contrast` cho chữ có tương phản dưới 3:1 so với nền đục gần nhất, và bỏ qua chữ nằm trên ảnh.
14
+ - `sb_template_use` trả về bản đồ `ids` dạng `{id: type}` cùng các satellite như `sb_add`, và mang `template_id` trong summary.
15
+ - `sb_page_create` trả về `route` của trang mới.
16
+ - `sb_review` báo `placeholder_link` cho liên kết có `href` là `#`.
17
+ - `sb_event` với `open_page` nhận `pageId` trần và tự dựng liên kết `{linkType, id, label, url}` từ danh sách trang.
18
+
19
+ ### Changed
20
+ - `sb_duplicate` sang trang khác trả về cùng bản đồ `copies` như khi nhân bản trên trang đang mở.
21
+ - `sb_undo` liệt kê gọn hơn, không lặp `operationId`, `path` và `fields` cho trang đang mở.
22
+ - `sb_template_use` và `overlay_attach` ghi chữ seed bằng tiếng Việt trên site tiếng Việt.
23
+ - `sb_api_find` cộng điểm cho tài nguyên đầu đường dẫn và ưu tiên đường ngắn hơn khi hòa điểm, nên "list products" ra đúng operation, và `pick` nêu trường mà không bản ghi nào mang.
24
+ - `sb_traits_for` giữ các giá trị cho phép khi thu hẹp một control, và gợi ý các khóa config như `triggerType`, `Delay`, `Freq` cho `popup_trigger` thay vì chỉ sang CSS.
25
+ - `sb_review` báo finding trong global section với `global: true` và chỉ nói một lần mỗi tiến trình, nên header dùng chung không còn lặp dưới FIX THESE.
26
+ - `sb_review` đọc nền preset và coi nền ảnh, scene, video là nền tối, còn `sb_import` đọc độ rộng band từ container của chính section.
27
+ - `sb_api_find` và `sb_traits_for` đọc các kiểu chuỗi có tên như `ArticleStatus` và `ProductStatus` thành union các giá trị, kèm vị từ của chúng.
28
+ - Catalog được tái sinh theo platform mới nhất, nên tiêu đề của chính trang không còn bị kẹp hai dòng và "Xem tất cả" trên kệ sản phẩm dẫn tới `/search`.
29
+
30
+ ### Fixed
31
+ - Trang blog được coi là template thực thể `/blog-categories/{slug}`, nên `sb_review` không còn báo sai SEO hay khả năng truy cập của chúng, và `sb_publish` kiểm một địa chỉ thực thể thật.
32
+ - `sb_publish` không còn đổ cho cascade khi live đi trước bản nháp sau một lần publish thường.
33
+ - `sb_look` với `url` của trang khác không còn mang findings của trang đang mở.
34
+ - `sb_review` không còn báo lỗi cho ô desktop chết có giá trị trùng base khi render cho thấy đang bảo trì.
35
+ - Giá trị biến theme như `var(--wb-…)` không còn bị cảnh báo là tách khỏi theme.
36
+ - Sửa trong pop-up nói rõ chỉ áp dụng cho các trang được gắn pop-up, không còn bị hiểu là toàn site.
37
+ - Tắt hoạt ảnh bằng `{active:false}` không còn bị cảnh báo.
38
+ - Bản xem trước cascade của `sb_publish` không còn để lại rejection không xử lý khi thiếu credential.
39
+
40
+ ## [0.100.6] - 2026-10-29
41
+
42
+ ### Added
43
+ - `sb_traits_for` và `sb_set` cung cấp các control cấp trang trên ROOT: `font_family`, `bg_color`, `bg_image`, `padding` và `class_css`.
44
+ - `sb_import_site` báo `links_unread` cho các trang không đọc được liên kết.
45
+
46
+ ### Changed
47
+ - Catalog được tái sinh theo platform mới nhất, nên text style của theme khởi đầu không còn `fontFamily` là "Inter".
48
+
49
+ ### Fixed
50
+ - Text style của theme không có font family nay được đọc là `inherit`, nên element kế thừa font của trang hoặc site thay vì "Inter", và `default_font` không còn crash hay báo nhầm khi theme không nêu family.
51
+ - `sb_look` và `sb_import` không còn để mồ côi một Chrome khởi động xong sau hạn, và mọi bước evaluate, settle và đóng tab của trang đều có hạn thời gian.
52
+ - `sb_import` và `sb_import_site` thay một lần Chrome bị treo giữa chừng khi chụp rồi đọc lại trang đó, và nếu treo lần nữa thì báo lỗi ngay cho các trang còn lại.
53
+
9
54
  ## [0.100.5] - 2026-10-29
10
55
 
11
56
  ### Changed
@@ -1,6 +1,6 @@
1
1
  export const DEAD_KEY_SOURCE = {
2
- "files": 6043,
3
- "identifiers": 111049,
2
+ "files": 6052,
3
+ "identifiers": 111282,
4
4
  "seededKeys": 460,
5
5
  "dead": 0
6
6
  };
@@ -255,8 +255,8 @@ export const STYLE_NOTE = 'The `style` namespace is OPEN CSS: any camelCase key
255
255
  'whether or not a control exists for it. `config` and `specials` are NOT open — they are ' +
256
256
  "per-element, and this element's `defaults` name the keys it actually uses.";
257
257
  const UNDECLARED_NOTE = 'Controls not listed under `declared` build their write in a Vue widget the platform does ' +
258
- 'not describe. Read a node that already uses one with sb_node_read, or set the CSS property ' +
259
- 'directly — style is open. Pass control:"<name>" to read one control.';
258
+ 'not describe. Read a node that already uses one with sb_node_read; a VISUAL one can be set as ' +
259
+ 'CSS (style is open), a behaviour lives in config (see defaults.config). Pass control:"<name>" to read one control.';
260
260
  /**
261
261
  * The inspector as NAMES, plus the declared writes in full.
262
262
  *
@@ -279,7 +279,9 @@ export function traitsFor(type, control) {
279
279
  // "writes: null" while the key, its values and its fallback sat in the
280
280
  // generated vocabulary (TTG gap #47). Joined on the element's own config.
281
281
  if (desc.writes === null) {
282
- const vocab = { ...sharedVocabularies(el.defaults ?? {}), ...elementVocabularies(el.type) }[control];
282
+ // …or in the shared write vocabulary (`articleSourceType`, TTG gap #73).
283
+ const vocab = ({ ...sharedVocabularies(el.defaults ?? {}), ...elementVocabularies(el.type) }[control] ??
284
+ vocabulariesForWrites([control])[control]);
283
285
  if (vocab || control in (el.defaults?.config ?? {})) {
284
286
  const { target = 'config', writeKey = control, ...values } = vocab ?? {};
285
287
  return {
@@ -291,7 +293,39 @@ export function traitsFor(type, control) {
291
293
  };
292
294
  }
293
295
  }
294
- return { type, control, ...desc };
296
+ // THE VALUES RIDE WITH THE NARROWED ANSWER TOO (TTG gap #73): `control:
297
+ // "articleSourceType"` answered `{writes}` while the unscoped call carried
298
+ // `config_values.articleSourceType.values`.
299
+ const writes = (desc.writes ?? []);
300
+ if (writes.length) {
301
+ const own = { ...sharedVocabularies(el.defaults ?? {}), ...elementVocabularies(el.type) };
302
+ const shared = vocabulariesForWrites(writes.map((w) => w.writeKey));
303
+ const v = writes.map((w) => own[w.writeKey] ?? shared[w.writeKey]).find(Boolean);
304
+ if (v) {
305
+ const { target: _t, writeKey: _w, ...values } = v;
306
+ void _t, _w;
307
+ return { type, control, ...desc, ...values };
308
+ }
309
+ return { type, control, ...desc };
310
+ }
311
+ // AN UNDECLARED CONTROL IS NOT ALWAYS CSS (TTG gap #73): popup_trigger is
312
+ // config.triggerType (delay|scroll|guest), and "set the CSS property" sent
313
+ // callers to style for a behaviour. The element's own seeded keys that share
314
+ // a word with the control name are the likeliest answer.
315
+ const words = control.toLowerCase().split(/[_-]/).map((w) => (w === 'bg' ? 'background' : w)).filter((w) => w.length > 2 && w !== el.type);
316
+ const likely = ['config', 'specials', 'style'].flatMap((ns) => Object.keys(el.defaults?.[ns] ?? {})
317
+ .filter((k) => words.length > 0 && words.every((w) => k.toLowerCase().includes(w)))
318
+ .map((k) => `${ns}.${k}`));
319
+ return {
320
+ type,
321
+ control,
322
+ writes: null,
323
+ ...(likely.length ? { likely_keys: likely } : {}),
324
+ note: 'The platform does not declare what this control writes (its widget builds the binding in Vue). ' +
325
+ (likely.length ? 'likely_keys are this element\'s seeded keys sharing its words. ' : '') +
326
+ 'Read a node that already uses it with sb_node_read. Only a VISUAL control maps to open CSS in style ' +
327
+ '(e.g. a section background picture is style.backgroundImage) — a behaviour lives in config.',
328
+ };
295
329
  }
296
330
  // Read from base only whatever breakpoint is asked for — sb_set routes them
297
331
  // there, so a "tablet-only" value of one of these is the desktop value too.
@@ -13,8 +13,54 @@ export const ELEMENTS = {
13
13
  "hideInLayer": false,
14
14
  "childAllows": [],
15
15
  "defaults": {},
16
- "inspector": [],
17
- "controls": [],
16
+ "inspector": [
17
+ {
18
+ "tab": "general",
19
+ "groups": [
20
+ {
21
+ "key": "typography",
22
+ "label": "Typography",
23
+ "controls": [
24
+ "font_family"
25
+ ]
26
+ },
27
+ {
28
+ "key": "background",
29
+ "label": "Background",
30
+ "controls": [
31
+ "bg_color",
32
+ "bg_image"
33
+ ]
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "tab": "advanced",
39
+ "groups": [
40
+ {
41
+ "key": "spacing",
42
+ "label": "Spacing",
43
+ "controls": [
44
+ "padding"
45
+ ]
46
+ },
47
+ {
48
+ "key": "class_css",
49
+ "label": "Class",
50
+ "controls": [
51
+ "class_css"
52
+ ]
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "controls": [
58
+ "font_family",
59
+ "bg_color",
60
+ "bg_image",
61
+ "padding",
62
+ "class_css"
63
+ ],
18
64
  "description": "The invisible page root that wraps all top-level sections.",
19
65
  "useWhen": [
20
66
  "Always present as the single root of every page document"
@@ -32352,6 +32398,7 @@ export const ELEMENTS = {
32352
32398
  "textValue",
32353
32399
  "descriptionDisplayType",
32354
32400
  "descriptionLines",
32401
+ "clampTitle",
32355
32402
  "moreText",
32356
32403
  "lessText",
32357
32404
  "moreButtonColor",
@@ -32377,6 +32424,7 @@ export const ELEMENTS = {
32377
32424
  "textValue",
32378
32425
  "descriptionDisplayType",
32379
32426
  "descriptionLines",
32427
+ "clampTitle",
32380
32428
  "moreText",
32381
32429
  "lessText",
32382
32430
  "moreButtonColor",
@@ -32402,6 +32450,7 @@ export const ELEMENTS = {
32402
32450
  "textValue",
32403
32451
  "descriptionDisplayType",
32404
32452
  "descriptionLines",
32453
+ "clampTitle",
32405
32454
  "moreText",
32406
32455
  "lessText",
32407
32456
  "moreButtonColor",
@@ -32426,6 +32475,7 @@ export const ELEMENTS = {
32426
32475
  "textValue",
32427
32476
  "descriptionDisplayType",
32428
32477
  "descriptionLines",
32478
+ "clampTitle",
32429
32479
  "moreText",
32430
32480
  "lessText",
32431
32481
  "moreButtonColor",
@@ -32564,6 +32614,7 @@ export const ELEMENTS = {
32564
32614
  "textValue",
32565
32615
  "descriptionDisplayType",
32566
32616
  "descriptionLines",
32617
+ "clampTitle",
32567
32618
  "moreText",
32568
32619
  "lessText",
32569
32620
  "moreButtonColor",
@@ -36421,6 +36472,7 @@ export const PRESENT_ONLY_SOURCES = [
36421
36472
  "site.facebook",
36422
36473
  "site.instagram",
36423
36474
  "site.localeSwitch",
36475
+ "site.money",
36424
36476
  "site.moneySwitch",
36425
36477
  "site.postalCode",
36426
36478
  "site.privacyPolicy",
@@ -36430,6 +36482,7 @@ export const PRESENT_ONLY_SOURCES = [
36430
36482
  "site.supportEmail",
36431
36483
  "site.supportPhone",
36432
36484
  "site.tiktok",
36485
+ "site.timezone",
36433
36486
  "site.youtube"
36434
36487
  ];
36435
36488
  export const BOUND_SPECIALS = {
@@ -11,6 +11,20 @@ import { translationCallSheet } from '../domains/site/translate.js';
11
11
  * a ranker whose output shuffles between calls is one nobody can debug.
12
12
  */
13
13
  const WEIGHT = { tag: 5, path: 3, summary: 2 };
14
+ /** Query words that name an HTTP method. */
15
+ const VERB_METHODS = {
16
+ list: ['get'],
17
+ get: ['get'],
18
+ read: ['get'],
19
+ show: ['get'],
20
+ find: ['get'],
21
+ create: ['post'],
22
+ add: ['post'],
23
+ update: ['put', 'patch'],
24
+ edit: ['put', 'patch'],
25
+ delete: ['delete'],
26
+ remove: ['delete'],
27
+ };
14
28
  /** Eight is enough to choose from; twelve was measured at 44 KB once the schemas rode along. */
15
29
  export const DEFAULT_FIND_LIMIT = 8;
16
30
  /**
@@ -65,10 +79,21 @@ export function searchOperations(query, opts = {}) {
65
79
  if (hit(summary, t))
66
80
  score += WEIGHT.summary;
67
81
  }
82
+ // A VERB NAMES A METHOD (TTG gap #81): "list products" ranked the four
83
+ // product-categories/{id}/products routes, every method, above GET /products.
84
+ if (score > 0 && terms.some((t) => VERB_METHODS[t]?.includes(op.method.toLowerCase())))
85
+ score += WEIGHT.summary;
86
+ // …and the resource the path IS — its first segment past the site/v1 scope —
87
+ // outranks one that merely ends in the same word.
88
+ const resource = /^\/api\/(?:sites\/\{siteId\}|v1)\/([^/]+)/.exec(op.path)?.[1];
89
+ if (score > 0 && resource && terms.some((t) => resource === t || resource === `${t}s`))
90
+ score += WEIGHT.path;
68
91
  if (score > 0)
69
92
  scored.push({ op, score });
70
93
  }
71
- scored.sort((a, b) => b.score - a.score || a.op.id.localeCompare(b.op.id));
94
+ // On a tie the SHORTER path is the resource itself, not something nested under another.
95
+ const depth = (o) => o.path.split('/').length;
96
+ scored.sort((a, b) => b.score - a.score || depth(a.op) - depth(b.op) || a.op.id.localeCompare(b.op.id));
72
97
  return scored.slice(0, limit).map((s) => s.op);
73
98
  }
74
99
  /**
@@ -4,7 +4,7 @@ export const SHAPE_SOURCE = {
4
4
  "fromHandlers": 334,
5
5
  "fromSwaggerOnly": 10,
6
6
  "withReadOnly": 29,
7
- "structsRead": 3470
7
+ "structsRead": 3482
8
8
  };
9
9
  export const REQUEST_SHAPES = {
10
10
  "post:/api/sites/{id}/ai-credits/purchase": {
@@ -874,7 +874,8 @@ export const REQUEST_SHAPES = {
874
874
  },
875
875
  {
876
876
  "name": "bodyType",
877
- "type": "ArticleBodyType"
877
+ "type": "\"richtext\" | \"page\"",
878
+ "note": "ArticleBodyType: its declared constants (no write validator); BodyTypeRenders() is true only for \"richtext\""
878
879
  },
879
880
  {
880
881
  "name": "content",
@@ -890,7 +891,8 @@ export const REQUEST_SHAPES = {
890
891
  },
891
892
  {
892
893
  "name": "status",
893
- "type": "ArticleStatus"
894
+ "type": "\"draft\" | \"published\" | \"archived\"",
895
+ "note": "ArticleStatus: its declared constants (no write validator); StorefrontVisible() is true only for \"published\""
894
896
  },
895
897
  {
896
898
  "name": "categoryIds",
@@ -996,7 +998,8 @@ export const REQUEST_SHAPES = {
996
998
  },
997
999
  {
998
1000
  "name": "bodyType",
999
- "type": "ArticleBodyType"
1001
+ "type": "\"richtext\" | \"page\"",
1002
+ "note": "ArticleBodyType: its declared constants (no write validator); BodyTypeRenders() is true only for \"richtext\""
1000
1003
  },
1001
1004
  {
1002
1005
  "name": "content",
@@ -1012,7 +1015,8 @@ export const REQUEST_SHAPES = {
1012
1015
  },
1013
1016
  {
1014
1017
  "name": "status",
1015
- "type": "ArticleStatus"
1018
+ "type": "\"draft\" | \"published\" | \"archived\"",
1019
+ "note": "ArticleStatus: its declared constants (no write validator); StorefrontVisible() is true only for \"published\""
1016
1020
  },
1017
1021
  {
1018
1022
  "name": "categoryIds",
@@ -1754,7 +1758,8 @@ export const REQUEST_SHAPES = {
1754
1758
  },
1755
1759
  {
1756
1760
  "name": "status",
1757
- "type": "\"draft\" | \"active\" | \"archived\" | \"review\""
1761
+ "type": "\"draft\" | \"active\" | \"archived\" | \"review\"",
1762
+ "note": "StorefrontVisible() is true only for \"active\""
1758
1763
  },
1759
1764
  {
1760
1765
  "name": "level",
@@ -1961,7 +1966,8 @@ export const REQUEST_SHAPES = {
1961
1966
  },
1962
1967
  {
1963
1968
  "name": "status",
1964
- "type": "\"draft\" | \"active\" | \"archived\" | \"review\""
1969
+ "type": "\"draft\" | \"active\" | \"archived\" | \"review\"",
1970
+ "note": "StorefrontVisible() is true only for \"active\""
1965
1971
  },
1966
1972
  {
1967
1973
  "name": "level",
@@ -2396,7 +2402,8 @@ export const REQUEST_SHAPES = {
2396
2402
  },
2397
2403
  {
2398
2404
  "name": "status",
2399
- "type": "\"draft\" | \"active\" | \"archived\" | \"review\""
2405
+ "type": "\"draft\" | \"active\" | \"archived\" | \"review\"",
2406
+ "note": "StorefrontVisible() is true only for \"active\""
2400
2407
  },
2401
2408
  {
2402
2409
  "name": "level",
@@ -2603,7 +2610,8 @@ export const REQUEST_SHAPES = {
2603
2610
  },
2604
2611
  {
2605
2612
  "name": "status",
2606
- "type": "\"draft\" | \"active\" | \"archived\" | \"review\""
2613
+ "type": "\"draft\" | \"active\" | \"archived\" | \"review\"",
2614
+ "note": "StorefrontVisible() is true only for \"active\""
2607
2615
  },
2608
2616
  {
2609
2617
  "name": "level",
@@ -4721,7 +4729,8 @@ export const REQUEST_SHAPES = {
4721
4729
  },
4722
4730
  {
4723
4731
  "name": "type",
4724
- "type": "Type"
4732
+ "type": "\"custom\" | \"contact\" | \"subscribe\" | \"order\" | \"booking\" | \"review\" | \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\"",
4733
+ "note": "Type: its declared constants (no write validator); ConfirmationEligible() is true only for \"contact\" | \"subscribe\"; IsAuth() is true only for \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\""
4725
4734
  },
4726
4735
  {
4727
4736
  "name": "version",
@@ -4824,7 +4833,8 @@ export const REQUEST_SHAPES = {
4824
4833
  },
4825
4834
  {
4826
4835
  "name": "type",
4827
- "type": "Type"
4836
+ "type": "\"custom\" | \"contact\" | \"subscribe\" | \"order\" | \"booking\" | \"review\" | \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\"",
4837
+ "note": "Type: its declared constants (no write validator); ConfirmationEligible() is true only for \"contact\" | \"subscribe\"; IsAuth() is true only for \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\""
4828
4838
  },
4829
4839
  {
4830
4840
  "name": "version",
@@ -4919,8 +4929,8 @@ export const REQUEST_SHAPES = {
4919
4929
  },
4920
4930
  {
4921
4931
  "name": "type",
4922
- "type": "forms.Type",
4923
- "note": "Type, when present, changes the form's type in the SAME write."
4932
+ "type": "\"custom\" | \"contact\" | \"subscribe\" | \"order\" | \"booking\" | \"review\" | \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\"",
4933
+ "note": "Type, when present, changes the form's type in the SAME write. Type: its declared constants (no write validator); ConfirmationEligible() is true only for \"contact\" | \"subscribe\"; IsAuth() is true only for \"login\" | \"register\" | \"forgot\" | \"reset\" | \"verify\""
4924
4934
  },
4925
4935
  {
4926
4936
  "name": "settings",
@@ -4999,7 +5009,8 @@ export const REQUEST_SHAPES = {
4999
5009
  "fields": [
5000
5010
  {
5001
5011
  "name": "status",
5002
- "type": "forms.SubmissionStatus"
5012
+ "type": "\"complete\" | \"draft\" | \"spam\" | \"cancelled\" | \"confirmed\" | \"no_show\" | \"awaiting_deposit\"",
5013
+ "note": "SubmissionStatus: its declared constants (no write validator); HoldsSeat() is true only for \"complete\" | \"confirmed\" | \"awaiting_deposit\""
5003
5014
  },
5004
5015
  {
5005
5016
  "name": "deposit",
@@ -6548,7 +6559,8 @@ export const REQUEST_SHAPES = {
6548
6559
  },
6549
6560
  {
6550
6561
  "name": "role",
6551
- "type": "\"owner\" | \"admin\" | \"member\""
6562
+ "type": "\"owner\" | \"admin\" | \"member\"",
6563
+ "note": "Assignable() is true only for \"admin\" | \"member\"; MayManageSites() is true only for \"owner\" | \"admin\"; MayManageMembers() is true only for \"owner\"; MayReviewTemplates() is true only for \"owner\" | \"admin\""
6552
6564
  }
6553
6565
  ],
6554
6566
  "source": "go",
@@ -6558,7 +6570,8 @@ export const REQUEST_SHAPES = {
6558
6570
  "fields": [
6559
6571
  {
6560
6572
  "name": "role",
6561
- "type": "\"owner\" | \"admin\" | \"member\""
6573
+ "type": "\"owner\" | \"admin\" | \"member\"",
6574
+ "note": "Assignable() is true only for \"admin\" | \"member\"; MayManageSites() is true only for \"owner\" | \"admin\"; MayManageMembers() is true only for \"owner\"; MayReviewTemplates() is true only for \"owner\" | \"admin\""
6562
6575
  }
6563
6576
  ],
6564
6577
  "source": "go",
@@ -8607,7 +8620,8 @@ export const REQUEST_SHAPES = {
8607
8620
  },
8608
8621
  {
8609
8622
  "name": "status",
8610
- "type": "ProductStatus"
8623
+ "type": "\"draft\" | \"active\" | \"archived\"",
8624
+ "note": "ProductStatus: its declared constants (no write validator); StorefrontVisible() is true only for \"active\""
8611
8625
  },
8612
8626
  {
8613
8627
  "name": "tags",
@@ -8960,7 +8974,8 @@ export const REQUEST_SHAPES = {
8960
8974
  },
8961
8975
  {
8962
8976
  "name": "status",
8963
- "type": "ProductStatus"
8977
+ "type": "\"draft\" | \"active\" | \"archived\"",
8978
+ "note": "ProductStatus: its declared constants (no write validator); StorefrontVisible() is true only for \"active\""
8964
8979
  },
8965
8980
  {
8966
8981
  "name": "tags",
@@ -10595,11 +10610,13 @@ export const REQUEST_SHAPES = {
10595
10610
  },
10596
10611
  {
10597
10612
  "name": "status",
10598
- "type": "Status"
10613
+ "type": "\"requested\" | \"approved\" | \"rejected\" | \"received\" | \"refunded\" | \"cancelled\"",
10614
+ "note": "Status: its declared constants (no write validator); Open() is true only for \"requested\" | \"approved\" | \"received\""
10599
10615
  },
10600
10616
  {
10601
10617
  "name": "reason",
10602
- "type": "Reason"
10618
+ "type": "\"damaged\" | \"wrong_item\" | \"not_as_described\" | \"size_fit\" | \"changed_mind\" | \"other\"",
10619
+ "note": "Reason: its declared constants (no write validator); MerchantFault() is true only for \"damaged\" | \"wrong_item\" | \"not_as_described\""
10603
10620
  },
10604
10621
  {
10605
10622
  "name": "comment",
@@ -10704,11 +10721,13 @@ export const REQUEST_SHAPES = {
10704
10721
  },
10705
10722
  {
10706
10723
  "name": "status",
10707
- "type": "Status"
10724
+ "type": "\"requested\" | \"approved\" | \"rejected\" | \"received\" | \"refunded\" | \"cancelled\"",
10725
+ "note": "Status: its declared constants (no write validator); Open() is true only for \"requested\" | \"approved\" | \"received\""
10708
10726
  },
10709
10727
  {
10710
10728
  "name": "reason",
10711
- "type": "Reason"
10729
+ "type": "\"damaged\" | \"wrong_item\" | \"not_as_described\" | \"size_fit\" | \"changed_mind\" | \"other\"",
10730
+ "note": "Reason: its declared constants (no write validator); MerchantFault() is true only for \"damaged\" | \"wrong_item\" | \"not_as_described\""
10712
10731
  },
10713
10732
  {
10714
10733
  "name": "comment",
@@ -10832,7 +10851,8 @@ export const REQUEST_SHAPES = {
10832
10851
  },
10833
10852
  {
10834
10853
  "name": "status",
10835
- "type": "Status"
10854
+ "type": "\"pending\" | \"published\" | \"rejected\"",
10855
+ "note": "Status: its declared constants (no write validator); Counts() is true only for \"published\""
10836
10856
  },
10837
10857
  {
10838
10858
  "name": "reply",
@@ -10896,7 +10916,8 @@ export const REQUEST_SHAPES = {
10896
10916
  },
10897
10917
  {
10898
10918
  "name": "status",
10899
- "type": "Status"
10919
+ "type": "\"pending\" | \"published\" | \"rejected\"",
10920
+ "note": "Status: its declared constants (no write validator); Counts() is true only for \"published\""
10900
10921
  },
10901
10922
  {
10902
10923
  "name": "reply",
@@ -1,7 +1,7 @@
1
1
  // GENERATED by scripts/gen-catalog.ts — do not edit by hand.
2
2
  // The platform commit every other generated file here describes.
3
3
  export const PLATFORM_SOURCE = {
4
- "commit": "ae1e972c66244b299ac4b5460be740a680f63844",
5
- "committedAt": "2026-10-29T19:22:08+07:00",
4
+ "commit": "bfce0018bd51be5047b59eba4ce42431328e2208",
5
+ "committedAt": "2026-10-29T23:41:35+07:00",
6
6
  "dirty": false
7
7
  };
@@ -2076,7 +2076,8 @@ export const STORE_PAGE_SEEDS = {
2076
2076
  "lessText": "Show less",
2077
2077
  "icon": true,
2078
2078
  "moreButtonColor": "#000000",
2079
- "textGlobalStyle": "heading-3"
2079
+ "textGlobalStyle": "heading-3",
2080
+ "clampTitle": false
2080
2081
  },
2081
2082
  "specials": {
2082
2083
  "htmlTag": "h3",
@@ -2920,7 +2921,8 @@ export const STORE_PAGE_SEEDS = {
2920
2921
  "lessText": "Show less",
2921
2922
  "icon": true,
2922
2923
  "moreButtonColor": "#000000",
2923
- "textGlobalStyle": "heading-3"
2924
+ "textGlobalStyle": "heading-3",
2925
+ "clampTitle": false
2924
2926
  },
2925
2927
  "specials": {
2926
2928
  "htmlTag": "h3",
@@ -4373,7 +4375,8 @@ export const STORE_PAGE_SEEDS = {
4373
4375
  "lessText": "Show less",
4374
4376
  "icon": true,
4375
4377
  "moreButtonColor": "#000000",
4376
- "textGlobalStyle": "heading-3"
4378
+ "textGlobalStyle": "heading-3",
4379
+ "clampTitle": false
4377
4380
  },
4378
4381
  "specials": {
4379
4382
  "htmlTag": "h3",
@@ -4998,7 +5001,8 @@ export const STORE_PAGE_SEEDS = {
4998
5001
  "lessText": "Show less",
4999
5002
  "icon": true,
5000
5003
  "moreButtonColor": "#000000",
5001
- "textGlobalStyle": "heading-3"
5004
+ "textGlobalStyle": "heading-3",
5005
+ "clampTitle": false
5002
5006
  },
5003
5007
  "specials": {
5004
5008
  "htmlTag": "h3",