sbuilder-mcp 0.117.1 → 0.118.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 +16 -0
- package/CHANGELOG.vi.md +16 -0
- package/README.md +1 -1
- package/README.vi.md +1 -1
- package/dist/catalog/api.generated.js +547 -350
- package/dist/catalog/deadkeys.generated.js +2 -2
- package/dist/catalog/shapes.generated.js +19 -5
- package/dist/catalog/source.generated.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@ 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.118.0] - 2026-11-28
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- The bundled platform catalog is regenerated from web_builder v1.0.368, so `sb_api_find` lists plan term discounts (`GET /api/plans/terms`, `GET` and `PUT /api/admin/plans/terms`) and the plan checkout quote (`GET /api/sites/{id}/plan-checkout/quote`), which prices a term with its gross amount, credit from the current plan and amount to pay.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- The plan checkout operation now describes and documents a `months` term length in its request body, so a plan is bought for a term instead of a bare `planId`.
|
|
16
|
+
|
|
17
|
+
## [0.117.2] - 2026-11-27
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- The bundled platform catalog is regenerated from web_builder v1.0.362, so every route has its own summary and `sb_api_find` no longer flags any operation as sharing one.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- `sb_api_find` no longer shows the `/complete` request body on `POST /pos/sales/{orderId}/cancel`.
|
|
24
|
+
|
|
9
25
|
## [0.117.1] - 2026-11-27
|
|
10
26
|
|
|
11
27
|
### Changed
|
package/CHANGELOG.vi.md
CHANGED
|
@@ -6,6 +6,22 @@ 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.118.0] - 2026-11-28
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Catalog nền tảng đi kèm được tạo lại từ web_builder v1.0.368, nên `sb_api_find` liệt kê chiết khấu theo kỳ hạn gói (`GET /api/plans/terms`, `GET` và `PUT /api/admin/plans/terms`) và báo giá thanh toán gói (`GET /api/sites/{id}/plan-checkout/quote`), tính giá kỳ hạn gồm số tiền gốc, khoản tín dụng từ gói hiện tại và số tiền phải trả.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Operation thanh toán gói giờ mô tả và ghi rõ độ dài kỳ hạn `months` trong request body, nên gói được mua theo kỳ hạn thay vì chỉ có `planId`.
|
|
16
|
+
|
|
17
|
+
## [0.117.2] - 2026-11-27
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- Catalog nền tảng đi kèm được tạo lại từ web_builder v1.0.362, nên mọi route đều có summary riêng và `sb_api_find` không còn đánh dấu operation nào dùng chung summary.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- `sb_api_find` không còn hiển thị request body của `/complete` trên `POST /pos/sales/{orderId}/cancel`.
|
|
24
|
+
|
|
9
25
|
## [0.117.1] - 2026-11-27
|
|
10
26
|
|
|
11
27
|
### Changed
|
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ in this client: one would put the very key the platform exists to hold back into
|
|
|
143
143
|
| `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 — site name linked home, desktop menu, mobile drawer, search, 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) |
|
|
144
144
|
| `sb_undo` | Undo / redo this session's writes — page and form edits and `sb_api_call` PUTs, each named by tool and target, the open page's by default (`all: true` for every page); a page is refused if someone else saved it since. The platform's versions and history (`sb_page_version`) outlive this process |
|
|
145
145
|
|
|
146
|
-
Forty-three tools, **
|
|
146
|
+
Forty-three tools, **1030 API operations** (380 of the 473 writes carrying a body shape read
|
|
147
147
|
off the handler), 125 elements, 107 binding sources. `sb_api_find`
|
|
148
148
|
is an index rather than a tool per endpoint, so the tool list stays short while everything
|
|
149
149
|
the platform can do stays reachable — and operations added to the platform arrive with the
|
package/README.vi.md
CHANGED
|
@@ -139,7 +139,7 @@ nhét ngược lại vào mọi bản cài.
|
|
|
139
139
|
| `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 — tên site dẫn về trang chủ, menu desktop, drawer mobile, ô tìm kiếm, 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) |
|
|
140
140
|
| `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`, mỗi mục ghi tên tool và đối tượng, mặc định của trang đang mở (`all: true` cho mọi trang); 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 |
|
|
141
141
|
|
|
142
|
-
Bốn mươi ba tool, **
|
|
142
|
+
Bốn mươi ba tool, **1030 operation API** (380 trong 473 lệnh ghi có hình dạng body đọc thẳng
|
|
143
143
|
từ handler), 125 element, 107 nguồn binding. `sb_api_find` là
|
|
144
144
|
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
|
|
145
145
|
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
|