sbuilder-mcp 0.88.0 → 0.89.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 +23 -0
- package/CHANGELOG.vi.md +23 -0
- package/README.md +1 -1
- package/README.vi.md +1 -1
- package/dist/catalog/api.generated.js +2124 -19
- package/dist/catalog/appscaffolds.generated.js +18 -0
- package/dist/catalog/deadkeys.generated.js +3 -3
- package/dist/catalog/element-search.js +19 -4
- package/dist/catalog/elements.generated.js +3845 -71
- package/dist/catalog/overlays.generated.js +10 -0
- package/dist/catalog/shapes.generated.js +412 -4
- package/dist/catalog/source.generated.js +2 -2
- package/dist/catalog/storepages.generated.js +53 -0
- package/dist/domains/site/builder.js +3 -1
- package/dist/domains/site/findings.js +7 -1
- package/dist/domains/site/node.js +6 -2
- package/dist/domains/site/record.js +46 -0
- package/dist/domains/site/review.js +59 -1
- package/dist/tools/live.js +26 -3
- package/dist/transport/auth.js +66 -7
- package/dist/transport/http.js +15 -1
- package/dist/transport/media.js +5 -0
- package/dist/transport/socket.js +16 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,29 @@ 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.89.0] - 2026-10-14
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `sb_add` builds a record list from a Collections collection, using a `list-dataset` with `datasetSource: "record"` and `recordCollectionId`, whose text and media tiles show one field each through `recordField` and `recordFieldType`.
|
|
13
|
+
- `sb_bind` accepts `record.<fid>` and `record.html.<fid>` as binding sources for a Collections field.
|
|
14
|
+
- `sb_review` reports `record_list_unsourced`, `record_field_unset` and `no_data_context` for record lists that are missing a collection or a field, and for `record.*` bindings used outside a record list.
|
|
15
|
+
- The API catalog is refreshed to 892 operations, adding collections, fields, records with CSV import and export, `/api/v1/collections`, forms that save into data tables, GrabFood and MISA.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- `sb_set` re-derives an element's bindings when `recordField` or `recordFieldType` changes, and the `record*` config keys are written to base only.
|
|
19
|
+
- `sb_bind` refuses a `record.*` source that names no field ID, `record.<fid>` into `specials.boundHtml`, and `record.html.<fid>` into `specials.boundText`.
|
|
20
|
+
- `sb_traits_for` returns `{group, same_as}` for a control group that repeats an earlier one, which keeps the result within the token budget.
|
|
21
|
+
|
|
22
|
+
## [0.88.1] - 2026-10-12
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- The API catalog is refreshed to 853 operations, including device sign-in for the CLI; the device approval operation cannot be called with a session.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
- Every tool call keeps working after the access token expires, because a rejected session token is refreshed once and the call is retried once; API keys are never refreshed.
|
|
29
|
+
- Concurrent rejections share a single token refresh, and signing out or back in during a refresh is no longer overwritten.
|
|
30
|
+
- `sb_media_upload` and `sb_live_join` reconnects refresh the token before it expires, so uploads and live sessions survive past the token lifetime.
|
|
31
|
+
|
|
9
32
|
## [0.88.0] - 2026-10-12
|
|
10
33
|
|
|
11
34
|
### Added
|
package/CHANGELOG.vi.md
CHANGED
|
@@ -6,6 +6,29 @@ 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.89.0] - 2026-10-14
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `sb_add` dựng được danh sách bản ghi (record list) từ một collection trong Collections, dùng `list-dataset` với `datasetSource: "record"` và `recordCollectionId`, trong đó các ô text và media hiển thị mỗi ô một field qua `recordField` và `recordFieldType`.
|
|
13
|
+
- `sb_bind` nhận `record.<fid>` và `record.html.<fid>` làm nguồn binding cho một field của Collections.
|
|
14
|
+
- `sb_review` báo `record_list_unsourced`, `record_field_unset` và `no_data_context` cho record list thiếu collection hoặc field, và cho binding `record.*` dùng ngoài record list.
|
|
15
|
+
- Catalog API được làm mới lên 892 operation, thêm collections, fields, records với nhập và xuất CSV, `/api/v1/collections`, form lưu vào bảng dữ liệu, GrabFood và MISA.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- `sb_set` suy lại binding của element khi `recordField` hoặc `recordFieldType` thay đổi, và các key config `record*` chỉ được ghi ở base.
|
|
19
|
+
- `sb_bind` từ chối nguồn `record.*` không chỉ ra ID của field, `record.<fid>` vào `specials.boundHtml`, và `record.html.<fid>` vào `specials.boundText`.
|
|
20
|
+
- `sb_traits_for` trả `{group, same_as}` cho nhóm control lặp lại nhóm trước, giúp kết quả nằm trong ngân sách token.
|
|
21
|
+
|
|
22
|
+
## [0.88.1] - 2026-10-12
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- Catalog API được làm mới lên 853 operation, gồm đăng nhập bằng thiết bị cho CLI; operation duyệt thiết bị không gọi được bằng phiên đăng nhập.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
- Mọi lời gọi tool tiếp tục chạy sau khi access token hết hạn, vì token phiên bị từ chối sẽ được làm mới một lần và lời gọi được thử lại một lần; API key không bao giờ bị làm mới.
|
|
29
|
+
- Các lần bị từ chối đồng thời dùng chung một lượt làm mới token, và việc đăng xuất hoặc đăng nhập lại trong lúc làm mới không còn bị ghi đè.
|
|
30
|
+
- `sb_media_upload` và việc kết nối lại của `sb_live_join` làm mới token trước khi hết hạn, nên upload và phiên live vẫn chạy được sau thời hạn của token.
|
|
31
|
+
|
|
9
32
|
## [0.88.0] - 2026-10-12
|
|
10
33
|
|
|
11
34
|
### Added
|
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ in this client: one would put the very key the platform exists to hold back into
|
|
|
118
118
|
| `sb_store` | Run a store flow that must happen in a fixed order — `checkout` (the four writes that make a working one), `checkout_sync` (the store's current payment and delivery methods into every existing order form, checkout page republished), `form` (any of the platform's 17 templates with its own field document), `chrome` (one shared header or footer on a real site menu — desktop menu, mobile drawer, cart and account icons), `menu` (a menu node bound to the site's menu, its links resolved), `overlay_attach` (a pop-up or quick view on the open page), `cart` (the site's cart drawer, when it has none; `relocalize` puts an existing one in the site's language) and `app` (a built-in app plus the pages it needs), `global_attach` / `global_detach` (put an EXISTING shared section on the open page, or take it off), `global_promote` (make a section on the page a NEW shared section) and `template_save` (save a section as a reusable template) |
|
|
119
119
|
| `sb_undo` | Undo / redo this session's writes — page and form edits and `sb_api_call` PUTs; a page is refused if someone else saved it since. The platform's versions and history (`sb_page_version`) outlive this process |
|
|
120
120
|
|
|
121
|
-
Twenty-eight tools, **
|
|
121
|
+
Twenty-eight tools, **892 API operations** (330 of the 416 writes carrying a body shape read
|
|
122
122
|
off the handler), 123 elements, 94 binding sources. `sb_api_find`
|
|
123
123
|
is an index rather than a tool per endpoint, so the tool list stays short while everything
|
|
124
124
|
the platform can do stays reachable — and operations added to the platform arrive with the
|
package/README.vi.md
CHANGED
|
@@ -115,7 +115,7 @@ nhét ngược lại vào mọi bản cài.
|
|
|
115
115
|
| `sb_store` | Chạy một luồng cửa hàng bắt buộc đúng thứ tự — `checkout` (bốn lệnh ghi tạo nên trang thanh toán), `checkout_sync` (đưa phương thức thanh toán và giao hàng hiện tại vào mọi form đặt hàng đã có, publish lại trang thanh toán), `form` (một trong 17 template của nền tảng kèm field document của nó), `chrome` (một header hoặc footer dùng chung trên menu thật của site — menu desktop, drawer mobile, icon giỏ hàng và tài khoản), `menu` (một node menu bind vào menu của site, link đã phân giải), `overlay_attach` (một pop-up hay quick view trên trang đang mở), `cart` (ngăn giỏ hàng của site, khi chưa có; `relocalize` đưa ngăn giỏ đã có về ngôn ngữ của site), `app` (một app dựng sẵn kèm những trang nó cần), và `global_attach` / `global_detach` (đặt một section dùng chung ĐÃ CÓ lên trang đang mở, hoặc gỡ ra), `global_promote` (biến một section trên trang thành section dùng chung MỚI) và `template_save` (lưu một section làm mẫu dùng lại) |
|
|
116
116
|
| `sb_undo` | Hoàn tác / làm lại các thao tác ghi trong phiên — chỉnh sửa trang, form và PUT qua `sb_api_call`; trang bị từ chối nếu người khác đã lưu sau đó. Version và history của nền tảng (`sb_page_version`) sống lâu hơn process này |
|
|
117
117
|
|
|
118
|
-
Hai mươi tám tool, **
|
|
118
|
+
Hai mươi tám tool, **892 operation API** (330 trong 416 lệnh ghi có hình dạng body đọc thẳng
|
|
119
119
|
từ handler), 123 element, 94 nguồn binding. `sb_api_find` là
|
|
120
120
|
một chỉ mục chứ không phải mỗi endpoint một tool, nên danh sách tool vẫn ngắn trong khi mọi
|
|
121
121
|
thứ nền tảng làm được vẫn với tới — và operation mới thêm bên nền tảng sẽ tự có sau lần
|