sbuilder-mcp 0.59.2 → 0.59.3

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.59.3] - 2026-09-15
10
+
11
+ ### Changed
12
+ - The call sheet for `POST /api/sites/{siteId}/ai/messages` now documents its `context` body field — the page outline plus the selected element's trait list, value types and current values — so a call through `sb_api_call` can pass the editor's own capability list instead of guessing at the shape.
13
+
9
14
  ## [0.59.2] - 2026-09-15
10
15
 
11
16
  ### Fixed
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.59.3] - 2026-09-15
10
+
11
+ ### Changed
12
+ - Call sheet cho `POST /api/sites/{siteId}/ai/messages` giờ mô tả trường `context` trong body — gồm outline của trang cùng danh sách trait, kiểu giá trị và giá trị hiện tại của phần tử đang chọn — nhờ đó một lệnh gọi qua `sb_api_call` có thể gửi đúng danh sách năng lực của editor thay vì phải đoán hình dạng của nó.
13
+
9
14
  ## [0.59.2] - 2026-09-15
10
15
 
11
16
  ### Fixed
@@ -3349,7 +3349,7 @@ export const API_OPERATIONS = [
3349
3349
  "in": "body",
3350
3350
  "required": true,
3351
3351
  "type": "object",
3352
- "description": "question (required) and history (prior turns: role user|assistant, text)"
3352
+ "description": "question (required), history (prior turns: role user|assistant, text) and context (the selected element the agent may propose edits to)"
3353
3353
  }
3354
3354
  ],
3355
3355
  "bodyDescribed": false,
@@ -1,6 +1,6 @@
1
1
  export const DEAD_KEY_SOURCE = {
2
- "files": 4007,
3
- "identifiers": 76941,
2
+ "files": 4023,
3
+ "identifiers": 77197,
4
4
  "seededKeys": 384,
5
5
  "dead": 0
6
6
  };
@@ -4,7 +4,7 @@ export const SHAPE_SOURCE = {
4
4
  "fromHandlers": 176,
5
5
  "fromSwaggerOnly": 0,
6
6
  "withReadOnly": 26,
7
- "structsRead": 1678
7
+ "structsRead": 1697
8
8
  };
9
9
  export const REQUEST_SHAPES = {
10
10
  "post:/api/sites/{siteId}/api-keys": {
@@ -3008,6 +3008,11 @@ export const REQUEST_SHAPES = {
3008
3008
  "name": "history",
3009
3009
  "type": "llm.Turn[]",
3010
3010
  "note": "History is sent by the CLIENT, unlike the storefront chatbot's, which removed it as a security fix."
3011
+ },
3012
+ {
3013
+ "name": "context",
3014
+ "type": "editoragent.EditContext | null",
3015
+ "note": "Context is the PAGE as the EDITOR described it — the outline of ROOT's children, and the selected element with its trait list, value types and current values, read off the live registries at send time. IT IS THE CAPABILITY LIST, not a hint."
3011
3016
  }
3012
3017
  ],
3013
3018
  "source": "go",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.59.2",
3
+ "version": "0.59.3",
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",