sbuilder-mcp 0.107.1 → 0.109.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 +30 -0
- package/CHANGELOG.vi.md +30 -0
- package/README.md +26 -5
- package/README.vi.md +26 -5
- package/dist/catalog/api.generated.js +2947 -6
- package/dist/catalog/deadkeys.generated.js +3 -3
- package/dist/catalog/elements.generated.js +158 -1
- package/dist/catalog/shapes.generated.js +311 -5
- package/dist/catalog/source.generated.js +2 -2
- package/dist/catalog/theme.generated.js +2 -2
- package/dist/catalog/translations.generated.js +5 -1
- package/dist/index.js +3 -2
- package/dist/install/index.js +98 -5
- package/dist/server.js +23 -5
- package/dist/tools/api.js +34 -2
- package/dist/tools/components.js +193 -0
- package/dist/tools/credentialpick.js +2 -2
- package/dist/tools/live.js +10 -9
- package/dist/tools/login.js +172 -0
- package/dist/tools/page.js +76 -3
- package/dist/tools/session.js +35 -15
- package/dist/tools/theme.js +1 -1
- package/dist/transport/auth.js +99 -1
- package/dist/transport/device.js +85 -0
- package/dist/transport/media.js +8 -5
- package/dist/transport/stored.js +143 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,36 @@ 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.109.0] - 2026-11-19
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `sb_login` signs in with a platform account through the browser device-code flow from inside the chat, returning the code on the first call, waiting for approval on the next, and signing the machine out with `action:"logout"`.
|
|
13
|
+
- `sb_site_use` switches the default site among the account's sites, and the new `--site` option picks the starting site.
|
|
14
|
+
- `install --login` runs the device-code login in the terminal and writes the client config without any key or password, skipping the browser when already signed in.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- The login session is stored in `~/.config/sb/credentials.json`, shared with `sb login` under the same lock and re-read-before-rotate protocol, so one approval signs in the CLI and every agent window.
|
|
18
|
+
- A site API key is used only on its own site while the account session covers every other site.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- `/api/v1` calls, including the `/api/v1/media` upload retry, are refused after switching away from the key's site instead of silently writing to the key's store while reporting success.
|
|
22
|
+
- The browser opened for login only accepts http and https URLs and is launched without a shell.
|
|
23
|
+
|
|
24
|
+
## [0.108.0] - 2026-11-19
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- `sb_components` lists a site's code components read-only, with each component's latest version and every version's `propsSchema`, and works with either a site API key or a session.
|
|
28
|
+
- `sb_add` and `sb_set` place and configure the `code-component` element, checking the pinned component, version and props against that version's `propsSchema` before writing, including on `dry_run`.
|
|
29
|
+
- `sb_add` and `sb_set` report server-derived keys such as `html`, `clientUrl` and `hydrateProps` under `derived` and return the platform's `codeComponentRender` save warning in `render_warnings`.
|
|
30
|
+
- The API catalog covers the `code-component` element and the code-components routes, so `sb_traits_for`, `sb_add` and `sb_api_find` recognise them.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- `sb_set` re-checks the code component pin on `unset` and merges all edits to one node in a batch into a single check on the final state.
|
|
34
|
+
- The server instructions mention code components next to custom code for gaps that no native element covers.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
- `sb_add` and `sb_set` reject code component link, image, text, richtext and enum prop values that the platform would sanitize away, such as non-http(s) links, oversized values or invalid UTF-8.
|
|
38
|
+
|
|
9
39
|
## [0.107.1] - 2026-11-18
|
|
10
40
|
|
|
11
41
|
### Fixed
|
package/CHANGELOG.vi.md
CHANGED
|
@@ -6,6 +6,36 @@ 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.109.0] - 2026-11-19
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `sb_login` đăng nhập bằng tài khoản nền tảng qua luồng nhập mã trên trình duyệt ngay trong cuộc chat, lần gọi đầu trả mã, lần sau chờ duyệt, và đăng xuất máy bằng `action:"logout"`.
|
|
13
|
+
- `sb_site_use` đổi site mặc định trong các site của tài khoản, và tùy chọn `--site` mới chọn site bắt đầu.
|
|
14
|
+
- `install --login` chạy luồng đăng nhập nhập mã ngay trong terminal và ghi cấu hình client không có khoá hay mật khẩu, bỏ qua trình duyệt khi đã đăng nhập.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- Phiên đăng nhập được lưu ở `~/.config/sb/credentials.json`, dùng chung với `sb login` cùng giao thức khoá và đọc lại trước khi xoay, nên một lần duyệt đăng nhập cả CLI lẫn mọi cửa sổ agent.
|
|
18
|
+
- API key của site chỉ dùng trên site của nó, còn phiên tài khoản dùng ở mọi site khác.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- Các lệnh gọi `/api/v1`, kể cả bước thử lại upload qua `/api/v1/media`, bị từ chối sau khi rời site của khoá, thay vì âm thầm ghi vào cửa hàng của khoá mà vẫn báo thành công.
|
|
22
|
+
- Trình duyệt mở khi đăng nhập chỉ nhận URL http và https và được chạy không qua shell.
|
|
23
|
+
|
|
24
|
+
## [0.108.0] - 2026-11-19
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- `sb_components` liệt kê code component của site ở chế độ chỉ đọc, kèm version mới nhất và `propsSchema` của từng version, dùng được với API key của site hoặc phiên đăng nhập.
|
|
28
|
+
- `sb_add` và `sb_set` đặt và cấu hình element `code-component`, kiểm tra component, version và props đã pin theo `propsSchema` của đúng version đó trước khi ghi, kể cả khi `dry_run`.
|
|
29
|
+
- `sb_add` và `sb_set` báo các key do máy chủ suy ra như `html`, `clientUrl` và `hydrateProps` trong `derived`, và trả nguyên văn cảnh báo lưu `codeComponentRender` của nền tảng trong `render_warnings`.
|
|
30
|
+
- Catalog API bao phủ element `code-component` và các route code-components, nên `sb_traits_for`, `sb_add` và `sb_api_find` nhận ra chúng.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- `sb_set` kiểm tra lại pin của code component khi `unset` và gộp mọi chỉnh sửa trên cùng một node trong batch thành một lần kiểm tra trên trạng thái cuối.
|
|
34
|
+
- Phần hướng dẫn của máy chủ nhắc đến code component cạnh custom code cho những khoảng trống mà không element gốc nào phủ.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
- `sb_add` và `sb_set` từ chối giá trị prop link, image, text, richtext và enum của code component mà nền tảng sẽ loại bỏ khi làm sạch, như link không phải http(s), giá trị quá lớn hoặc UTF-8 không hợp lệ.
|
|
38
|
+
|
|
9
39
|
## [0.107.1] - 2026-11-18
|
|
10
40
|
|
|
11
41
|
### Fixed
|
package/README.md
CHANGED
|
@@ -14,6 +14,21 @@ One command writes this server into every agent client on your machine:
|
|
|
14
14
|
npx -y sbuilder-mcp install --token wbk_… --api https://your-host --site site_…
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
### Or sign in the whole account in the browser
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx -y sbuilder-mcp@latest install --login --api https://your-host --site site_…
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
It prints a code and opens the platform's sign-in page: type the code, check it matches, press
|
|
24
|
+
**Approve**. No key and no password is written anywhere — the login is kept in
|
|
25
|
+
`~/.config/sb/credentials.json` (owner-only), **the same file `sb login` uses**, so one approval
|
|
26
|
+
signs in the CLI and every agent window together, and survives restarts. `--site` is the site
|
|
27
|
+
the agent starts on; with the account it can reach every site you can, and `sb_site_use` moves
|
|
28
|
+
it. Already signed in? The command says so and skips the browser. Inside a chat, `sb_login`
|
|
29
|
+
does the same thing (the first call returns the code, the next one waits for the approval), and
|
|
30
|
+
`sb_login action:"logout"` signs the machine out.
|
|
31
|
+
|
|
17
32
|
It knows Claude Code, Claude Desktop, Cursor, Windsurf, VS Code and Codex, and installs into
|
|
18
33
|
the ones it finds. Name them with `--client cursor,codex`, or rehearse with `--dry-run`. An
|
|
19
34
|
option it does not know is **refused**, not ignored — a flag that silently does nothing is
|
|
@@ -62,9 +77,12 @@ site API, including the page document and the live-edit socket, and it is bounde
|
|
|
62
77
|
on every request: its own scopes, the live role of the member who created it, and the single
|
|
63
78
|
store it belongs to.
|
|
64
79
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
Account-level calls — listing your sites, managing members and roles, working on another
|
|
81
|
+
site — are what a key deliberately cannot make, because those mean "this person's account".
|
|
82
|
+
For those, sign in with `install --login` / `sb_login` (above). `SB_EMAIL` + `SB_PASSWORD`
|
|
83
|
+
still work, but put a password in every config file the installer touches. With both a key
|
|
84
|
+
and the account login, the key is used on its own site and the account everywhere else;
|
|
85
|
+
`/api/v1` (which names no site) is refused once the agent moved off the key's site.
|
|
68
86
|
|
|
69
87
|
`SB_API` defaults to `http://localhost:8080`. Secrets are read from the environment only.
|
|
70
88
|
|
|
@@ -82,6 +100,8 @@ in this client: one would put the very key the platform exists to hold back into
|
|
|
82
100
|
| --- | --- |
|
|
83
101
|
| `sb_connect` | Log in, list the sites this account can operate, report which credentials are present |
|
|
84
102
|
| `sb_site_list` | List the sites this account can operate |
|
|
103
|
+
| `sb_login` | Sign the whole account in through the browser (a code to type + Approve); remembered on this machine, shared with `sb login`; `action:"logout"` signs out |
|
|
104
|
+
| `sb_site_use` | Switch the site every tool defaults to, among the account's sites |
|
|
85
105
|
| `sb_api_find` | Find API operations by intent — one line per match — then read one operation's call sheet by id: real parameter schemas, the credential it needs, and the body's fields read off the handler that decodes them, each carrying the trap its own doc comment records |
|
|
86
106
|
| `sb_api_call` | Execute an operation, or any route by method+path; dry run by default. Field selection (dotted paths, on lists and single-object write answers) and local result pagination; `merge` for whole-record PUTs, `If-Match`, multipart `file` |
|
|
87
107
|
| `sb_page_open` | Open a page for editing and return its outline — or, with `form_id`, a form's field document (fields, defaults, dependent-field rules) |
|
|
@@ -100,6 +120,7 @@ in this client: one would put the very key the platform exists to hold back into
|
|
|
100
120
|
| `sb_page_create` | Create a page — a store type arrives with the editor's own starting document; `type` is the route for checkout, product, category, post, course |
|
|
101
121
|
| `sb_page_update` | Edit a page's name, slug, home flag, order, SEO (title, description, Open Graph, robots, meta tags, JSON-LD) and members-only flag — merged into `settings`, so the keys it does not name survive. On a template page: make it the type's default, or choose which products/categories/posts render through it |
|
|
102
122
|
| `sb_page_version` | A page's platform recovery points — list named versions and autosave history, snapshot the draft, restore one |
|
|
123
|
+
| `sb_components` | The site's code components (its own React, pushed with `sb site push`) — each name and latest version with its props schema (every version with `name`); `sb_add` / `sb_set` check a `code-component` pin and its props against it |
|
|
103
124
|
| `sb_code` | The site's custom code files (tracking pixels, analytics, chat widgets, site CSS; html/css/js/scss/ts injected, json/text served at `/_wb/code/<name>`) for every page or one — list, create, merge-update, remove; scss/ts compile on write and report `compile_error` |
|
|
104
125
|
| `sb_function` | The site's backend functions — server-side TypeScript/JavaScript served at `/_wb/fn/<slug>` with the site's sealed secrets, collections and `fetch` (a `_` slug is an importable module) — list, read, create, merge-update, remove, test-run (counts toward the monthly quota), the run log, this month's usage, and write-only secrets; a failed build reports `compile_error` |
|
|
105
126
|
| `sb_collection` | The site's data tables (collections) — create, rename, delete tables; add, edit, reorder and delete typed fields (text, number, integer, select, tags, reference, gallery…); list, read, add, merge-edit, delete, move and reorder records; CSV export and import; upsert by external id. An edit keeps the row's published flag and sends its `rev` |
|
|
@@ -120,8 +141,8 @@ in this client: one would put the very key the platform exists to hold back into
|
|
|
120
141
|
| `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) |
|
|
121
142
|
| `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 |
|
|
122
143
|
|
|
123
|
-
|
|
124
|
-
off the handler),
|
|
144
|
+
Forty tools, **1007 API operations** (373 of the 464 writes carrying a body shape read
|
|
145
|
+
off the handler), 125 elements, 96 binding sources. `sb_api_find`
|
|
125
146
|
is an index rather than a tool per endpoint, so the tool list stays short while everything
|
|
126
147
|
the platform can do stays reachable — and operations added to the platform arrive with the
|
|
127
148
|
next `npm run codegen`.
|
package/README.vi.md
CHANGED
|
@@ -14,6 +14,21 @@ Một lệnh ghi server này vào mọi agent client trên máy bạn:
|
|
|
14
14
|
npx -y sbuilder-mcp install --token wbk_… --api https://your-host --site site_…
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
### Hoặc đăng nhập cả tài khoản bằng trình duyệt
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx -y sbuilder-mcp@latest install --login --api https://your-host --site site_…
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Lệnh in ra một mã và mở trang đăng nhập của nền tảng: gõ mã, kiểm tra khớp, bấm **Đồng ý**.
|
|
24
|
+
Không khoá, không mật khẩu nào bị ghi ra — phiên đăng nhập được giữ trong
|
|
25
|
+
`~/.config/sb/credentials.json` (chỉ chủ máy đọc được), **cùng file với `sb login`**, nên một lần
|
|
26
|
+
đồng ý là CLI và mọi cửa sổ agent đều đăng nhập, và vẫn còn sau khi khởi động lại. `--site` là
|
|
27
|
+
site agent bắt đầu làm; với cả tài khoản nó với tới mọi site bạn có quyền, và `sb_site_use`
|
|
28
|
+
chuyển site. Đã đăng nhập rồi thì lệnh báo và bỏ qua trình duyệt. Ngay trong cuộc chat,
|
|
29
|
+
`sb_login` làm việc tương tự (lần gọi đầu trả mã, lần sau chờ bạn đồng ý), và
|
|
30
|
+
`sb_login action:"logout"` đăng xuất máy.
|
|
31
|
+
|
|
17
32
|
Nó biết Claude Code, Claude Desktop, Cursor, Windsurf, VS Code và Codex, và cài vào những
|
|
18
33
|
cái nó tìm thấy. Chỉ định bằng `--client cursor,codex`, hoặc diễn thử với `--dry-run`. Một
|
|
19
34
|
tuỳ chọn nó không biết sẽ bị **từ chối**, không phải bỏ qua — một cờ âm thầm không làm gì
|
|
@@ -59,9 +74,12 @@ Một khoá là đủ. Nó với tới cả bề mặt đối tác (`/api/v1`) l
|
|
|
59
74
|
trang và socket live-edit, và bị chặn ba lớp ở mỗi request: scope của chính nó, role sống của
|
|
60
75
|
thành viên đã tạo ra nó, và đúng một cửa hàng nó thuộc về.
|
|
61
76
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
77
|
+
Các lệnh **cấp tài khoản** — liệt kê site, quản lý thành viên và role, làm việc trên site
|
|
78
|
+
khác — là thứ khoá cố ý không làm được, vì chúng nghĩa là "tài khoản của người này". Muốn có
|
|
79
|
+
thì đăng nhập bằng `install --login` / `sb_login` (ở trên). `SB_EMAIL` + `SB_PASSWORD` vẫn
|
|
80
|
+
dùng được, nhưng ghi mật khẩu vào mọi file cấu hình. Có cả khoá lẫn đăng nhập tài khoản thì
|
|
81
|
+
khoá dùng trên site của nó, tài khoản dùng ở mọi site khác; `/api/v1` (không ghi site) bị từ
|
|
82
|
+
chối khi agent đã chuyển khỏi site của khoá.
|
|
65
83
|
|
|
66
84
|
`SB_API` mặc định `http://localhost:8080`. Bí mật chỉ đọc từ biến môi trường.
|
|
67
85
|
|
|
@@ -79,6 +97,8 @@ nhét ngược lại vào mọi bản cài.
|
|
|
79
97
|
| --- | --- |
|
|
80
98
|
| `sb_connect` | Đăng nhập, liệt kê site tài khoản vận hành được, báo đang có credential nào |
|
|
81
99
|
| `sb_site_list` | Liệt kê site tài khoản vận hành được |
|
|
100
|
+
| `sb_login` | Đăng nhập cả tài khoản bằng trình duyệt (gõ mã + Đồng ý); nhớ trên máy, dùng chung với `sb login`; `action:"logout"` để đăng xuất |
|
|
101
|
+
| `sb_site_use` | Đổi site mọi tool mặc định làm việc, trong các site của tài khoản |
|
|
82
102
|
| `sb_api_find` | Tìm operation theo ý định — mỗi kết quả một dòng — rồi đọc call sheet của một operation theo id: schema tham số thật, credential cần dùng, và các trường body đọc thẳng từ handler decode chúng, mỗi trường mang theo cái bẫy doc comment của chính nó ghi lại |
|
|
83
103
|
| `sb_api_call` | Chạy operation, hoặc bất kỳ route nào bằng method+path; mặc định chạy khô. Chọn field (đường dẫn có dấu chấm, trên danh sách lẫn câu trả lời ghi một object) và phân trang kết quả phía MCP; `merge` cho PUT thay cả bản ghi, `If-Match`, `file` multipart |
|
|
84
104
|
| `sb_page_open` | Mở một trang để sửa và trả về outline — hoặc, với `form_id`, tài liệu trường của biểu mẫu (trường, giá trị mặc định, quy tắc trường phụ thuộc) |
|
|
@@ -97,6 +117,7 @@ nhét ngược lại vào mọi bản cài.
|
|
|
97
117
|
| `sb_page_create` | Tạo một trang — trang cửa hàng sinh ra đã có sẵn tài liệu như trong editor; `type` là đường đi cho checkout, product, category, post, course |
|
|
98
118
|
| `sb_page_update` | Sửa tên, slug, cờ trang chủ, thứ tự, SEO (title, description, Open Graph, robots, meta tag, JSON-LD) và cờ chỉ-thành-viên của một trang — merge vào `settings`, nên các khoá không nhắc tới vẫn còn nguyên. Với trang template: đặt làm mặc định của loại, hoặc chọn sản phẩm/danh mục/bài viết nào hiển thị qua nó |
|
|
99
119
|
| `sb_page_version` | Các điểm khôi phục của trang trên platform — liệt kê phiên bản có tên và lịch sử autosave, chụp draft, khôi phục |
|
|
120
|
+
| `sb_components` | Các code component của site (React riêng, đẩy lên bằng `sb site push`) — tên và version mới nhất kèm schema props (mọi version khi có `name`); `sb_add` / `sb_set` kiểm tra pin `code-component` và props của nó theo đó |
|
|
100
121
|
| `sb_code` | Các file mã tuỳ chỉnh của site (pixel theo dõi, analytics, widget chat, CSS toàn site; html/css/js/scss/ts được chèn, json/text phục vụ tại `/_wb/code/<name>`) cho mọi trang hoặc một trang — liệt kê, tạo, cập nhật gộp, xoá; scss/ts biên dịch lúc ghi và báo `compile_error` |
|
|
101
122
|
| `sb_function` | Các backend function của site — TypeScript/JavaScript chạy phía server tại `/_wb/fn/<slug>` với secret đã niêm phong, collection và `fetch` của site (slug bắt đầu bằng `_` là module để import) — liệt kê, đọc, tạo, cập nhật gộp, xoá, chạy thử (tính vào hạn mức tháng), nhật ký chạy, lượng dùng tháng này, và secret chỉ-ghi; build lỗi thì báo `compile_error` |
|
|
102
123
|
| `sb_collection` | Các bảng dữ liệu (collection) của site — tạo, đổi tên, xoá bảng; thêm, sửa, sắp xếp và xoá trường có kiểu (text, number, integer, select, tags, reference, gallery…); liệt kê, đọc, thêm, sửa gộp, xoá, di chuyển và sắp xếp bản ghi; xuất và nhập CSV; upsert theo external id. Lệnh sửa giữ nguyên trạng thái đăng và gửi kèm `rev` của bản ghi |
|
|
@@ -117,8 +138,8 @@ nhét ngược lại vào mọi bản cài.
|
|
|
117
138
|
| `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) |
|
|
118
139
|
| `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 |
|
|
119
140
|
|
|
120
|
-
|
|
121
|
-
từ handler),
|
|
141
|
+
Bốn mươi tool, **1007 operation API** (373 trong 464 lệnh ghi có hình dạng body đọc thẳng
|
|
142
|
+
từ handler), 125 element, 96 nguồn binding. `sb_api_find` là
|
|
122
143
|
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
|
|
123
144
|
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
|
|
124
145
|
`npm run codegen` kế tiếp.
|