sbuilder-mcp 0.95.0 → 0.95.1

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.95.1] - 2026-10-27
10
+
11
+ ### Fixed
12
+ - `sb_review` no longer reports `empty_container` for the empty `dropdown-trigger` and `dropdown-panel` of a `select` or a `selectMode: "select"` dropdown, because the host fills them, while empty zones of a panel-mode dropdown are still reported.
13
+
9
14
  ## [0.95.0] - 2026-10-27
10
15
 
11
16
  ### Changed
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.95.1] - 2026-10-27
10
+
11
+ ### Fixed
12
+ - `sb_review` không còn báo `empty_container` cho `dropdown-trigger` và `dropdown-panel` rỗng của `select` hoặc dropdown `selectMode: "select"`, vì host tự điền các vùng này, còn vùng rỗng của dropdown ở chế độ panel vẫn được báo.
13
+
9
14
  ## [0.95.0] - 2026-10-27
10
15
 
11
16
  ### Changed
@@ -1140,8 +1140,14 @@ opts = {}) {
1140
1140
  // dropdown an author MAY compose under it; with no children it still renders
1141
1141
  // its `<input>` (render/nodes/search-input/html.go). The platform's own
1142
1142
  // search seed ships it childless, so every seeded search page was flagged.
1143
- // Not `select`: its face lives in its trigger/panel children.
1144
- const drawsOwnControl = type === 'search-input';
1143
+ // Not `select`: its face lives in its trigger/panel children — and THOSE
1144
+ // zones are filled by the host (render/nodes/dropdown WriteSelect: the
1145
+ // panel prints one row per filterValues, the trigger the chosen one), so a
1146
+ // select's or a selectMode:"select" dropdown's empty zone is correct.
1147
+ const host = d.nodes[n.data.parent ?? '']?.data;
1148
+ const filledByHost = (type === 'dropdown-trigger' || type === 'dropdown-panel') &&
1149
+ (host?.type === 'select' || (host?.type === 'dropdown' && d.nodes[n.data.parent]?.specials?.selectMode === 'select'));
1150
+ const drawsOwnControl = type === 'search-input' || filledByHost;
1145
1151
  const isReference = (n.specials ?? {})[SPEC_GLOBAL_REF] !== undefined ||
1146
1152
  (n.specials ?? {})[SPEC_APP_BLOCK_REF] !== undefined;
1147
1153
  if (meta.isContainer &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.95.0",
3
+ "version": "0.95.1",
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",