sbuilder-mcp 0.85.0 → 0.86.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,11 @@ 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.86.0] - 2026-10-12
10
+
11
+ ### Added
12
+ - `sb_api_find` and `sb_api_call` reach 849 platform operations, including the GrabFood delivery app: connecting a site, listing the orders it pushes, and accepting or rejecting them.
13
+
9
14
  ## [0.85.0] - 2026-10-11
10
15
 
11
16
  ### Added
package/CHANGELOG.vi.md CHANGED
@@ -6,6 +6,11 @@ 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.86.0] - 2026-10-12
10
+
11
+ ### Added
12
+ - `sb_api_find` và `sb_api_call` truy cập được 849 operation của platform, gồm app giao hàng GrabFood: kết nối site, liệt kê đơn hàng được đẩy về, và nhận hoặc từ chối đơn.
13
+
9
14
  ## [0.85.0] - 2026-10-11
10
15
 
11
16
  ### 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, **843 API operations** (309 of the 389 writes carrying a body shape read
121
+ Twenty-eight tools, **849 API operations** (312 of the 393 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, **843 operation API** (309 trong 389 lệnh ghi có hình dạng body đọc thẳng
118
+ Hai mươi tám tool, **849 operation API** (312 trong 393 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
@@ -1,7 +1,7 @@
1
1
  export const SWAGGER_SOURCE = {
2
- "operations": 843,
3
- "definitions": 278,
4
- "bodyCarrying": 373,
2
+ "operations": 849,
3
+ "definitions": 280,
4
+ "bodyCarrying": 376,
5
5
  "bodyUndescribed": 102,
6
6
  "generatedFrom": "server/docs/swagger.json"
7
7
  };
@@ -781,6 +781,34 @@ export const API_OPERATIONS = [
781
781
  "bodyRef": null,
782
782
  "credential": "siteScoped"
783
783
  },
784
+ {
785
+ "id": "post:/_wb/delivery/{app}/{path}",
786
+ "method": "POST",
787
+ "path": "/_wb/delivery/{app}/{path}",
788
+ "tags": [
789
+ "pos"
790
+ ],
791
+ "summary": "Delivery-app partner endpoints (GrabFood)",
792
+ "params": [
793
+ {
794
+ "name": "app",
795
+ "in": "path",
796
+ "required": true,
797
+ "type": "string",
798
+ "description": "App id (grabfood)"
799
+ },
800
+ {
801
+ "name": "path",
802
+ "in": "path",
803
+ "required": true,
804
+ "type": "string",
805
+ "description": "oauth/token | orders | order-state | menu-sync-state"
806
+ }
807
+ ],
808
+ "bodyDescribed": false,
809
+ "bodyRef": null,
810
+ "credential": "siteScoped"
811
+ },
784
812
  {
785
813
  "id": "get:/_wb/feed/facets",
786
814
  "method": "GET",
@@ -7550,6 +7578,181 @@ export const API_OPERATIONS = [
7550
7578
  "bodyRef": null,
7551
7579
  "credential": "siteScoped"
7552
7580
  },
7581
+ {
7582
+ "id": "get:/api/sites/{siteId}/delivery-apps/orders",
7583
+ "method": "GET",
7584
+ "path": "/api/sites/{siteId}/delivery-apps/orders",
7585
+ "tags": [
7586
+ "pos"
7587
+ ],
7588
+ "summary": "List orders pushed by delivery apps",
7589
+ "params": [
7590
+ {
7591
+ "name": "siteId",
7592
+ "in": "path",
7593
+ "required": true,
7594
+ "type": "string",
7595
+ "description": "Site ID"
7596
+ },
7597
+ {
7598
+ "name": "state",
7599
+ "in": "query",
7600
+ "required": false,
7601
+ "type": "string",
7602
+ "description": "new|deciding|accepted|rejected|cancelled|completed"
7603
+ },
7604
+ {
7605
+ "name": "limit",
7606
+ "in": "query",
7607
+ "required": false,
7608
+ "type": "integer",
7609
+ "description": "page size"
7610
+ },
7611
+ {
7612
+ "name": "offset",
7613
+ "in": "query",
7614
+ "required": false,
7615
+ "type": "integer",
7616
+ "description": "offset"
7617
+ }
7618
+ ],
7619
+ "bodyDescribed": false,
7620
+ "bodyRef": null,
7621
+ "credential": "siteScoped"
7622
+ },
7623
+ {
7624
+ "id": "post:/api/sites/{siteId}/delivery-apps/orders/{id}/accept",
7625
+ "method": "POST",
7626
+ "path": "/api/sites/{siteId}/delivery-apps/orders/{id}/accept",
7627
+ "tags": [
7628
+ "pos"
7629
+ ],
7630
+ "summary": "Accept a delivery-app order",
7631
+ "params": [
7632
+ {
7633
+ "name": "siteId",
7634
+ "in": "path",
7635
+ "required": true,
7636
+ "type": "string",
7637
+ "description": "Site ID"
7638
+ },
7639
+ {
7640
+ "name": "id",
7641
+ "in": "path",
7642
+ "required": true,
7643
+ "type": "string",
7644
+ "description": "Order ID"
7645
+ }
7646
+ ],
7647
+ "bodyDescribed": false,
7648
+ "bodyRef": null,
7649
+ "credential": "siteScoped"
7650
+ },
7651
+ {
7652
+ "id": "post:/api/sites/{siteId}/delivery-apps/orders/{id}/reject",
7653
+ "method": "POST",
7654
+ "path": "/api/sites/{siteId}/delivery-apps/orders/{id}/reject",
7655
+ "tags": [
7656
+ "pos"
7657
+ ],
7658
+ "summary": "Reject a delivery-app order",
7659
+ "params": [
7660
+ {
7661
+ "name": "siteId",
7662
+ "in": "path",
7663
+ "required": true,
7664
+ "type": "string",
7665
+ "description": "Site ID"
7666
+ },
7667
+ {
7668
+ "name": "id",
7669
+ "in": "path",
7670
+ "required": true,
7671
+ "type": "string",
7672
+ "description": "Order ID"
7673
+ },
7674
+ {
7675
+ "name": "body",
7676
+ "in": "body",
7677
+ "required": true,
7678
+ "type": "object",
7679
+ "description": "{reason}"
7680
+ }
7681
+ ],
7682
+ "bodyDescribed": true,
7683
+ "bodyRef": "internal_deliveryapps_rest.rejectBody",
7684
+ "credential": "siteScoped"
7685
+ },
7686
+ {
7687
+ "id": "get:/api/sites/{siteId}/delivery-apps/{app}/connection",
7688
+ "method": "GET",
7689
+ "path": "/api/sites/{siteId}/delivery-apps/{app}/connection",
7690
+ "tags": [
7691
+ "pos"
7692
+ ],
7693
+ "summary": "Read or replace the site's connection to a delivery app",
7694
+ "params": [
7695
+ {
7696
+ "name": "siteId",
7697
+ "in": "path",
7698
+ "required": true,
7699
+ "type": "string",
7700
+ "description": "Site ID"
7701
+ },
7702
+ {
7703
+ "name": "app",
7704
+ "in": "path",
7705
+ "required": true,
7706
+ "type": "string",
7707
+ "description": "App id (grabfood, shopeefood)"
7708
+ },
7709
+ {
7710
+ "name": "connection",
7711
+ "in": "body",
7712
+ "required": false,
7713
+ "type": "object",
7714
+ "description": "Connection (PUT only)"
7715
+ }
7716
+ ],
7717
+ "bodyDescribed": true,
7718
+ "bodyRef": "internal_deliveryapps_rest.connectionInput",
7719
+ "credential": "siteScoped"
7720
+ },
7721
+ {
7722
+ "id": "put:/api/sites/{siteId}/delivery-apps/{app}/connection",
7723
+ "method": "PUT",
7724
+ "path": "/api/sites/{siteId}/delivery-apps/{app}/connection",
7725
+ "tags": [
7726
+ "pos"
7727
+ ],
7728
+ "summary": "Read or replace the site's connection to a delivery app",
7729
+ "params": [
7730
+ {
7731
+ "name": "siteId",
7732
+ "in": "path",
7733
+ "required": true,
7734
+ "type": "string",
7735
+ "description": "Site ID"
7736
+ },
7737
+ {
7738
+ "name": "app",
7739
+ "in": "path",
7740
+ "required": true,
7741
+ "type": "string",
7742
+ "description": "App id (grabfood, shopeefood)"
7743
+ },
7744
+ {
7745
+ "name": "connection",
7746
+ "in": "body",
7747
+ "required": false,
7748
+ "type": "object",
7749
+ "description": "Connection (PUT only)"
7750
+ }
7751
+ ],
7752
+ "bodyDescribed": true,
7753
+ "bodyRef": "internal_deliveryapps_rest.connectionInput",
7754
+ "credential": "siteScoped"
7755
+ },
7553
7756
  {
7554
7757
  "id": "get:/api/sites/{siteId}/discounts",
7555
7758
  "method": "GET",
@@ -32486,6 +32689,25 @@ export const API_DEFINITIONS = {
32486
32689
  }
32487
32690
  }
32488
32691
  },
32692
+ "internal_deliveryapps_rest.connectionInput": {
32693
+ "type": "object",
32694
+ "properties": {
32695
+ "enabled": {
32696
+ "type": "boolean"
32697
+ },
32698
+ "externalMerchantId": {
32699
+ "type": "string"
32700
+ }
32701
+ }
32702
+ },
32703
+ "internal_deliveryapps_rest.rejectBody": {
32704
+ "type": "object",
32705
+ "properties": {
32706
+ "reason": {
32707
+ "type": "string"
32708
+ }
32709
+ }
32710
+ },
32489
32711
  "internal_discounts_rest.grantRequest": {
32490
32712
  "type": "object",
32491
32713
  "properties": {
@@ -1,6 +1,6 @@
1
1
  export const DEAD_KEY_SOURCE = {
2
- "files": 5665,
3
- "identifiers": 103621,
2
+ "files": 5688,
3
+ "identifiers": 104011,
4
4
  "seededKeys": 445,
5
5
  "dead": 0
6
6
  };
@@ -1,10 +1,10 @@
1
1
  export const SHAPE_SOURCE = {
2
- "writeOperations": 389,
3
- "shaped": 309,
4
- "fromHandlers": 299,
2
+ "writeOperations": 393,
3
+ "shaped": 312,
4
+ "fromHandlers": 302,
5
5
  "fromSwaggerOnly": 10,
6
6
  "withReadOnly": 30,
7
- "structsRead": 3194
7
+ "structsRead": 3224
8
8
  };
9
9
  export const REQUEST_SHAPES = {
10
10
  "post:/api/sites/{id}/ai-credits/purchase": {
@@ -3188,6 +3188,48 @@ export const REQUEST_SHAPES = {
3188
3188
  "updatedAt"
3189
3189
  ]
3190
3190
  },
3191
+ "put:/api/sites/{siteId}/delivery-apps/{app}/connection": {
3192
+ "fields": [
3193
+ {
3194
+ "name": "enabled",
3195
+ "type": "boolean"
3196
+ },
3197
+ {
3198
+ "name": "externalMerchantId",
3199
+ "type": "string"
3200
+ }
3201
+ ],
3202
+ "source": "go",
3203
+ "goType": "connectionInput"
3204
+ },
3205
+ "post:/api/sites/{siteId}/delivery-apps/orders/{id}/reject": {
3206
+ "fields": [
3207
+ {
3208
+ "name": "reason",
3209
+ "type": "string"
3210
+ }
3211
+ ],
3212
+ "source": "go",
3213
+ "goType": "rejectBody"
3214
+ },
3215
+ "post:/_wb/delivery/{app}/{path}": {
3216
+ "fields": [
3217
+ {
3218
+ "name": "client_id",
3219
+ "type": "string"
3220
+ },
3221
+ {
3222
+ "name": "client_secret",
3223
+ "type": "string"
3224
+ },
3225
+ {
3226
+ "name": "grant_type",
3227
+ "type": "string"
3228
+ }
3229
+ ],
3230
+ "source": "go",
3231
+ "goType": "(inline)"
3232
+ },
3191
3233
  "post:/api/sites/{siteId}/discounts": {
3192
3234
  "fields": [
3193
3235
  {
@@ -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": "8384af1dd6df12bb80a75a8b53e88c377d3f722c",
5
- "committedAt": "2026-10-12T01:13:06+07:00",
4
+ "commit": "c296c1a134378574c7d8643ce020485c3c53535b",
5
+ "committedAt": "2026-10-12T01:19:39+07:00",
6
6
  "dirty": false
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.85.0",
3
+ "version": "0.86.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",